/hooks
Last updated
What is /hooks?
The /hooks command opens an interactive management menu for configuring automated workflows that trigger at specific points in the Claude Code lifecycle. While features like CLAUDE.md provide "soft" instructions, hooks offer deterministic control, ensuring that specific shell commands or AI evaluations run every single time a certain event occurs—such as formatting code after an edit or sending a notification when Claude needs your attention.
Free resources to learn /hooks
- Official docsBuilt-in commands
- Official docsHooks reference
- Official docsThe /hooks menu
More in stage 10: Loops
/hooks: common questions
Can I learn /hooks in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain /hooks in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this /hooks tutorial for beginners?
It is lesson 78 of 109 in the free Claude Code roadmap, in stage 10, Loops. If you are new to Claude Code, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.