claude-code-hooks-mastery
Master Claude Code Hooks
- 3.9k estrellas
- 632 forks
- 36 issues abiertos
- Lenguaje: Python
- Licencia: sin licencia estándar
- actualizado
Instalación
git clone https://github.com/disler/claude-code-hooks-mastery- Clone the repository and review the hook scripts.
- Wire them into the hooks section of ~/.claude/settings.json as the README describes.
- Test with a harmless command before trusting them in real sessions.
Nota editorial
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.
14 items en este repositorio
Execute comprehensive cryptocurrency research using all crypto agents
Execute lightweight cryptocurrency research using haiku agents
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.
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
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.
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.9k estrellas en GitHub y su última actualización registrada es del 2026-03-04.
¿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 44/100 (tier: Caution). 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 del 2026-03-04, con 36 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.