[DOCS] Request Syntax and usage examples for Frontmatter hooks
Resolved 💬 2 comments Opened Jan 8, 2026 by vantasnerdan Closed Jan 8, 2026
Documentation Type
Missing documentation (feature not documented)
Documentation Location
https://code.claude.com/docs/en/hooks-guide
Section/Topic
Front Matter Hooks
Current Documentation
Change Log for version 2.1.0 shows these two new features
- Added hooks support to agent frontmatter, allowing agents to define PreToolUse, PostToolUse, and Stop hooks scoped to the agent's lifecycle
- Added hooks support for skill and slash command frontmatter
What's Wrong or Missing?
The syntax for using these features is not documented.
Suggested Improvement
I've tried brute force validating this without success.
Impact
High - Prevents users from using a feature
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗