Directory · Hooks
Claude Code Hooks Mastery
Reference project implementing all 13 Claude Code hook events as UV Python scripts, plus sub-agents, status lines, and output styles.
★ 3,941 stars · last updated 2026-03-04 · Free (check license) · View on GitHub
Best for
- Learning the Claude Code hook lifecycle and JSON payloads by example
- Copying ready-made hooks for command blocking, logging, and TTS notifications
- Exploring sub-agent patterns like a meta-agent and builder/validator teams
- Borrowing custom status line and output style configurations
Our take
This is a demo and learning repository rather than a packaged tool; you copy files from .claude/ into your own project, and it requires Astral UV and Claude Code. TTS and LLM features rely on optional ElevenLabs, OpenAI, Anthropic, or Ollama keys, and the README says 11 of 13 hooks are validated by automated testing. It has no license, which limits reuse, and it bundles unrelated extras such as crypto research agents and commands.
Similar hooks
- Claude Code Ultimate Guide: Large open guide to Claude Code covering agent workflows, hooks, skills, MCP, security, and team adoption, with reusable templates.
- Claude Code Showcase: Example Claude Code project config with hooks, skills, agents, slash commands, MCP setup, and GitHub Actions workflows to copy from.
- Continuous Claude v3: Hooks, skills, and agents that keep Claude Code context across sessions via YAML handoffs, ledgers, and a PostgreSQL memory store.
- Build with Claude: Plugin marketplace and discovery hub of agents, commands, hooks, and skills for Claude Code users extending their workflows.
- Claude Code Toolkit: Large collection of Claude Code agents, skills, commands, plugins, hooks, rules, and MCP configs, plus links to external tools.
- Everything Claude Code (Chinese Translation): Simplified Chinese translation of everything-claude-code: agents, skills, hooks, commands, rules and MCP configs for Claude Code.