disler/claude-code-hooks-mastery
Master Claude Code Hooks
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
Copy this rig
# review before running: this installs third-party code
$ npx degit disler/claude-code-hooks-mastery/.claude ./rig-claude-code-hooks-mastery # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ curl -fsSL --create-dirs -o .claude/agents/crypto-coin-analyzer-haiku.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/crypto/crypto-coin-analyzer-haiku.md $ curl -fsSL --create-dirs -o .claude/agents/crypto-coin-analyzer-opus.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/crypto/crypto-coin-analyzer-opus.md $ curl -fsSL --create-dirs -o .claude/agents/crypto-coin-analyzer-sonnet.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/crypto/crypto-coin-analyzer-sonnet.md $ curl -fsSL --create-dirs -o .claude/agents/crypto-investment-plays-haiku.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/crypto/crypto-investment-plays-haiku.md $ curl -fsSL --create-dirs -o .claude/agents/crypto-investment-plays-opus.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/crypto/crypto-investment-plays-opus.md $ curl -fsSL --create-dirs -o .claude/agents/crypto-investment-plays-sonnet.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/crypto/crypto-investment-plays-sonnet.md $ curl -fsSL --create-dirs -o .claude/agents/crypto-market-agent-haiku.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/crypto/crypto-market-agent-haiku.md $ curl -fsSL --create-dirs -o .claude/agents/crypto-market-agent-opus.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/crypto/crypto-market-agent-opus.md $ curl -fsSL --create-dirs -o .claude/agents/crypto-market-agent-sonnet.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/crypto/crypto-market-agent-sonnet.md $ curl -fsSL --create-dirs -o .claude/agents/crypto-movers-haiku.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/crypto/crypto-movers-haiku.md $ curl -fsSL --create-dirs -o .claude/agents/macro-crypto-correlation-scanner-haiku.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/crypto/macro-crypto-correlation-scanner-haiku.md $ curl -fsSL --create-dirs -o .claude/agents/macro-crypto-correlation-scanner-opus.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/crypto/macro-crypto-correlation-scanner-opus.md $ curl -fsSL --create-dirs -o .claude/agents/macro-crypto-correlation-scanner-sonnet.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/crypto/macro-crypto-correlation-scanner-sonnet.md $ curl -fsSL --create-dirs -o .claude/agents/hello-world-agent.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/hello-world-agent.md $ curl -fsSL --create-dirs -o .claude/agents/llm-ai-agents-and-eng-research.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/llm-ai-agents-and-eng-research.md $ curl -fsSL --create-dirs -o .claude/agents/meta-agent.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/meta-agent.md $ curl -fsSL --create-dirs -o .claude/agents/builder.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/team/builder.md $ curl -fsSL --create-dirs -o .claude/agents/validator.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/team/validator.md $ curl -fsSL --create-dirs -o .claude/agents/work-completion-summary.md https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/agents/work-completion-summary.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"hooks": {
"PreToolUse": [
{
"matcher": "*",
"hooks": [
{
"type": "command",
"command": "uv run $CLAUDE_PROJECT_DIR/.claude/hooks/pre_tool_use.py"
}
]
}
]
}
} Subagents (19)
| crypto-coin-analyzer-haiku model: haiku | Cryptocurrency analysis specialist for real-time market insights. Use proactively when given one specific crypto ticker symbol to analyze current price, news, sentiment, and technical indicators. |
| crypto-coin-analyzer-opus model: opus | Cryptocurrency analysis specialist for real-time market insights. Use proactively when given one specific crypto ticker symbol to analyze current price, news, sentiment, and technical indicators. |
| crypto-coin-analyzer-sonnet model: sonnet | Cryptocurrency analysis specialist for real-time market insights. Use proactively when given one specific crypto ticker symbol to analyze current price, news, sentiment, and technical indicators. |
| crypto-investment-plays-haiku model: haiku | Use proactively to identify actionable crypto investment opportunities with concrete entry/exit strategies, from simple spot buys to DeFi yields. Provides risk-scored plays with clear execution steps. |
| crypto-investment-plays-opus model: opus | Use proactively to identify actionable crypto investment opportunities with concrete entry/exit strategies, from simple spot buys to DeFi yields. Provides risk-scored plays with clear execution steps. |
| crypto-investment-plays-sonnet model: sonnet | Use proactively to identify actionable crypto investment opportunities with concrete entry/exit strategies, from simple spot buys to DeFi yields. Provides risk-scored plays with clear execution steps. |
| crypto-market-agent-haiku model: haiku | Use proactively for real-time cryptocurrency market data retrieval and analysis for Top N cryptocurrencies by market cap |
| crypto-market-agent-opus model: opus | Use proactively for real-time cryptocurrency market data retrieval and analysis for Top N cryptocurrencies by market cap |
| crypto-market-agent-sonnet model: sonnet | Use proactively for real-time cryptocurrency market data retrieval and analysis for Top N cryptocurrencies by market cap |
| crypto-movers-haiku model: haiku | Tracks biggest cryptocurrency gainers and losers over specified timeframes. Use for quick market movement insights. |
| macro-crypto-correlation-scanner-haiku model: haiku | Use proactively to analyze correlations between macroeconomic events and cryptocurrency market movements. Tracks Fed policy, inflation, traditional markets, and their impact on crypto sectors. |
| macro-crypto-correlation-scanner-opus model: opus | Use proactively to analyze correlations between macroeconomic events and cryptocurrency market movements. Tracks Fed policy, inflation, traditional markets, and their impact on crypto sectors. |
| macro-crypto-correlation-scanner-sonnet model: sonnet | Use proactively to analyze correlations between macroeconomic events and cryptocurrency market movements. Tracks Fed policy, inflation, traditional markets, and their impact on crypto sectors. |
| hello-world-agent | Simple greeting agent, use proactively when greeting the user. If they say 'hi claude' or 'hi cc' or 'hi claude code' use this agent. |
| llm-ai-agents-and-eng-research | AI research specialist that proactively gathers latest news and developments in LLMs, AI agents, and engineering. Use for staying current with AI/ML innovations, finding actionable insights, and disco |
| meta-agent model: opus | Generates a new, complete Claude Code sub-agent configuration file from a user's description. Use this to create new agents. Use this Proactively when the user asks you to create a new sub agent. |
| builder model: opus | Generic engineering agent that executes ONE task at a time. Use when work needs to be done - writing code, creating files, implementing features. |
| validator model: opus | Read-only validation agent that checks if a task was completed successfully. Use after a builder finishes to verify work meets acceptance criteria. |
| work-completion-summary | Proactively triggered when work is completed to provide concise audio summaries and suggest next steps. If they say 'tts' or 'tts summary' or 'audio summary' use this agent. When you prompt this agent |
Hooks (13)
| event | matcher | runs |
|---|---|---|
| PreToolUse | * | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/pre_tool_use.py |
| PostToolUse | * | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/post_tool_use.py |
| Notification | * | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/notification.py --notify |
| Stop | * | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/stop.py --chat |
| SubagentStop | * | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/subagent_stop.py --notify |
| UserPromptSubmit | * | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/user_prompt_submit.py --log-only --store-last-prompt --name-agent |
| PreCompact | * | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/pre_compact.py |
| SessionStart | * | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/session_start.py |
| SessionEnd | * | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/session_end.py |
| PermissionRequest | * | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/permission_request.py --log-only |
| PostToolUseFailure | * | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/post_tool_use_failure.py |
| SubagentStart | * | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/subagent_start.py |
| Setup | * | uv run $CLAUDE_PROJECT_DIR/.claude/hooks/setup.py |
Slash commands (21)
/agent_prompts/crypto_coin_analyzer_agent_prompt/agent_prompts/crypto_investment_plays_agent_prompt/agent_prompts/crypto_market_agent_prompt/agent_prompts/crypto_movers_agent_prompt/agent_prompts/crypto_news_scanner_agent_prompt/agent_prompts/crypto_price_check_agent_prompt/agent_prompts/macro_crypto_correlation_scanner_agent_prompt/all_tools/build/cook/cook_research_only/crypto_research/crypto_research_haiku/git_status/plan/plan_w_team/prime/prime_tts/question/sentient/update_status_line
Permissions
deny (0)
—
ask (0)
—
allow (12)
Bash(mkdir:*)
Bash(uv:*)
Bash(find:*)
Bash(mv:*)
Bash(grep:*)
Bash(npm:*)
Bash(ls:*)
Bash(cp:*)
Write
Edit
Bash(chmod:*)
Bash(touch:*)
Similar rigs
disler/claude-code-hooks-multi-agent-observability
Real-time monitoring for Claude Code agents through simple hook event tracking.
Orchestrator 1.5k tok ·
bossjones/boss-skills
Repo/Lab for my personal Claude Code configs and skills
Orchestrator 5.5k tok ·
decarufe/claude-code-config
—
Orchestrator 4.6k tok ·
matthieurosset/claude-custom-workflow
Multi-agent orchestration workflow template for Claude Code — one lead agent, six specialist subagents, guardrails, hook-driven quality gates, and a self-improving process loop. Battle-tested on a production app, generic and ready to adopt.
Orchestrator 447 tok ·