Skip to main content
ClaudeWave
disler avatar
disler

claude-code-hooks-mastery

Ver en GitHub

Master Claude Code Hooks

Hooks3.8k estrellas619 forksPythonActualizado 3mo ago
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.

ClaudeWave Trust Score
57/100
· OK
Passed
  • Healthy fork ratio
  • Documented (README)
Flags
  • !No standard license detected
Last scanned: 6/11/2026
Install as Claude Code hooks
Method: Clone
Terminal
git clone https://github.com/disler/claude-code-hooks-mastery
1. Clone the repository and review the hook scripts.
2. Wire them into the hooks section of ~/.claude/settings.json as the README describes.
3. Test with a harmless command before trusting them in real sessions.

14 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.

Instalar

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.

Instalar
meta-agentSubagent

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.

Instalar

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.

Instalar
buildSlash Command

Implement the plan

Instalar
crypto_researchSlash Command

Execute comprehensive cryptocurrency research using all crypto agents

Instalar

Execute lightweight cryptocurrency research using haiku agents

Instalar
git_statusSlash Command

Understand the current state of the git repository

Instalar
planSlash Command

Creates a concise engineering implementation plan based on user requirements and saves it to specs directory

Instalar
plan_w_teamSlash Command

Creates a concise engineering implementation plan based on user requirements and saves it to specs directory

Instalar
primeSlash Command

Load context for a new agent session by analyzing codebase structure, documentation and README

Instalar
prime_ttsSlash Command

Load context for a new agent session by analyzing codebase structure and README

Instalar
questionSlash Command

Answer questions about the project structure and documentation without coding

Instalar
sentientSlash Command

Manage, organize and ships your codebase.

Instalar

Resumen de Hooks

README no disponible. Visita el repo en GitHub para la documentación completa.

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.

Featured on ClaudeWave: disler/claude-code-hooks-mastery
[![Featured on ClaudeWave](https://claudewave.com/api/badge/disler-claude-code-hooks-mastery)](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