Writing Claude Code Hooks
Use when authoring Claude Code hooks (SessionStart, UserPromptSubmit, Stop, PreToolUse, PostToolUse, SubagentStop) or when a hook script needs to invoke headless claude -p for in-hook classification, blocking, or context injection
Works with: Claude Code (native) · Cursor, Codex CLI (manual)
native: this artifact type is that client's own format
Install (Claude Code):
cp -r writing-claude-code-hooks ~/.claude/skills/- Adoption: 1 repos
- Upkeep: 86.0
- Freshness: 71.0
- Evidence coverage: 84% of the inputs this score can use — the rest are unknown, and the score is discounted for it
- Health: active
- Contributors: 30
- License: MIT
Security audit
Not scanned yet. We audit npm-published capabilities for known advisories, install-time scripts and permission surface; this one has no npm package we can resolve, or has not reached the queue.
source ↗ · skill:ennio-datatide/writing-claude-code-hooks
Already running this? npx tashan-cli doctor checks your whole config against the Index — how it works ›
Measured 2026-08-09 · scorer s5 · how · something wrong here?