Master Claude Code Hooks
This repository provides a structured learning collection for Claude Code hooks, the lifecycle event system that lets developers intercept and control Claude Code's behavior at specific points during a session. It demonstrates all 13 hook lifecycle events, including UserPromptSubmit, PreToolUse, PostToolUse, Stop, SessionStart, SessionEnd, PermissionRequest, PreCompact, and SubagentStop, each implemented as standalone Python scripts using the Astral UV single-file architecture. Hooks are wired directly into Claude Code's CLI and can block dangerous shell commands like `rm -rf` or `.env` access at the PreToolUse stage, auto-approve read-only permission requests, inject development context from git status on session startup, and trigger text-to-speech alerts via ElevenLabs or OpenAI when the agent needs input. The repository also covers Claude Code sub-agents, a Meta-Agent pattern for orchestrating multiple agents, and a team-based validation system. Developers building automated workflows on top of Claude Code who need deterministic guardrails or custom observability will find the most direct value here.
- ✓Healthy fork ratio
- ✓Documented (README)
- !No standard license detected
git clone https://github.com/disler/claude-code-hooks-mastery14 items en este repositorio
Simple greeting agent, use proactively when greeting the user. If they say 'hi claude' or 'hi cc' or 'hi claude code' use this agent.
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 discovering new tools and techniques.
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.
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, describe exactly what you want them to communicate to the user. Remember, this agent has no context about any questions or previous conversations between you and the user. So be sure to communicate well so they can respond to the user. Be concise, and to the point - aim for 2 sentences max.
Execute comprehensive cryptocurrency research using all crypto agents
Execute lightweight cryptocurrency research using haiku agents
Creates a concise engineering implementation plan based on user requirements and saves it to specs directory
Creates a concise engineering implementation plan based on user requirements and saves it to specs directory
Load context for a new agent session by analyzing codebase structure, documentation and README
Load context for a new agent session by analyzing codebase structure and README
Answer questions about the project structure and documentation without coding
Resumen de Hooks
Lo que la gente pregunta sobre claude-code-hooks-mastery
¿Qué es disler/claude-code-hooks-mastery?
+
disler/claude-code-hooks-mastery es hooks para el ecosistema de Claude AI. Master Claude Code Hooks Tiene 3.8k estrellas en GitHub y se actualizó por última vez 3mo ago.
¿Cómo se instala claude-code-hooks-mastery?
+
Puedes instalar claude-code-hooks-mastery clonando el repositorio (https://github.com/disler/claude-code-hooks-mastery) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar disler/claude-code-hooks-mastery?
+
Nuestro agente de seguridad ha analizado disler/claude-code-hooks-mastery y le ha asignado un Trust Score de 57/100 (tier: OK). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene disler/claude-code-hooks-mastery?
+
disler/claude-code-hooks-mastery es mantenido por disler. La última actividad registrada en GitHub es de 3mo ago, con 35 issues abiertos.
¿Hay alternativas a claude-code-hooks-mastery?
+
Sí. En ClaudeWave puedes explorar hooks similares en /categories/hooks, ordenados por popularidad o actividad reciente.
Despliega claude-code-hooks-mastery en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/disler-claude-code-hooks-mastery)<a href="https://claudewave.com/repo/disler-claude-code-hooks-mastery"><img src="https://claudewave.com/api/badge/disler-claude-code-hooks-mastery" alt="Featured on ClaudeWave: disler/claude-code-hooks-mastery" width="320" height="64" /></a>Más Hooks
Allows you to emulate an Android native library, and an experimental iOS emulation
Real-time monitoring for Claude Code agents through simple hook event tracking.
115+ production-ready React Hooks for sensors, UI, state & browser APIs. Tree-shakable, SSR-safe, TypeScript-first. Used by Shopee, PDD & Ctrip. Inspired by VueUse.
A webhook service that connects Claude Code to GitHub repositories, enabling AI-powered code assistance directly through pull requests and issues. This integration allows Claude to analyze repositories, answer technical questions, and help developers understand and improve their codebase through simple @mentions.
🪝 A growing collection of useful Claude Code hooks. Copy, paste, customize.
No description provided.