Skip to content
Back to skills

Hook Development

ASecurity

Use when creating, modifying, or debugging Claude Code hooks — PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification. Covers the plugin `hooks/hooks.json` wrapper format vs. the user `settings.json` direct format, matchers, security patterns, `$CLAUDE_PLUGIN_ROOT` portability, lifecycle limitations, and debugging. Trigger on "add a hook", "validate tool use", "block dangerous commands", "enforce completion", "hook-based automation".

  • 53 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 20, 2026
ai-agentsnodedebuggingsecurity

Works with

  • claude code

Security analysis

A100/100

Scanned October 6, 2026

npx -y skills add Kanevry/session-orchestrator --skill hook-development --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hook Development?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hook Development
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kanevry-hook-development-0731ea97/badge)](https://www.skillsdirectory.com/skills/kanevry-hook-development-0731ea97)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hook-development
description: Use when creating, modifying, or debugging Claude Code hooks — PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification. Covers the plugin `hooks/hooks.json` wrapper format vs. the user `settings.json` direct format, matchers, security patterns, `$CLAUDE_PLUGIN_ROOT` portability, lifecycle limitations, and debugging. Trigger on "add a hook", "validate tool use", "block dangerous commands", "enforce completion", "hook-based automation".
metadata:
  user-invocable: 'false'
  model: sonnet
---

<!-- Generated by scripts/generate-codex-skills.mjs; do not edit. -->

# hook-development

Read [`skills/hook-development/SKILL.md`](../../../skills/hook-development/SKILL.md) in full before taking any action, then follow its complete workflow.
The linked document is authoritative, including its prechecks, argument rules, and stop conditions.

Resolve this link relative to this SKILL.md, not the project working directory. The plugin root is three directories above this file. Resolve package paths such as `skills/` and `scripts/` from that root; resolve relative links inside the canonical document from its own directory. Keep the user’s project as the target of project operations.

Regenerate with `node scripts/generate-codex-skills.mjs`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…