Favicon of Hook Development

Hook Development Skill

AI Agent SkillPythonOpen source

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDEPLUGINROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, S Published by anthropics in claude-code.

Decision snapshot

Is this a fit?

Best for

Developers using claude-code, Includes SKILL.md, Reusable instructions

Works with

Compatibility not yet detected.

Access

Permission behavior not yet detected.

Setup

Copy skill directory

Project health

24 days ago

Considerations

No specific cautions were detected. Review the source and requested permissions before installing.

What is Hook Development Skill?

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDEPLUGINROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, S Published by anthropics in claude-code. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
100/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Developers using claude-code

Declared skill metadata

  • Source file: plugins/plugin-dev/skills/hook-development/SKILL.md

These fields retain source and confidence evidence from the indexed SKILL.md.

Compatibility and setup

Copy skill directory
  • Install or run with Copy skill directory

When to use Hook Development Skill

  • Use it for developers using claude-code.

Built with

PythonCopy skill directory

Editorial notes

Source

  • Creator: anthropics
  • Repository: anthropics/claude-code
  • Skill file: plugins/plugin-dev/skills/hook-development/SKILL.md

What it does

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDEPLUGINROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, S

Skill instructions

Hook Development for Claude Code Plugins Overview Hooks are event-driven automation scripts that execute in response to Claude Code events. Use hooks to validate operations, enforce policies, add context, and integrate external tools into workflows. Key capabilities: - Validate tool calls before execution (PreToolUse) - React to tool results (PostToolUse) - Enforce completion standards (Stop, SubagentStop) - Load project context (SessionStart) - Automate workflows across the development lifecycle Hook Types Prompt-Based Hooks (Recommended) Use LLM-driven decision making for context-aware validation: json { "type": "prompt", "prompt": "Evaluate if this tool use is appropriate: $TOOLINPUT", "timeout": 30 } Supported events: Stop, SubagentStop, UserPromptSubmit, PreToolUse Benefits: - Context-aware decisions based on natural language reasoning - Flexible evaluation logic without bash scripting - Better edge case handling - Easier to maintain and extend Command Hooks Execute bash commands

Verified compatibility and discovery

Frequently asked questions

What is Hook Development?

Hook Development is a open-source AI agent skill with Copy skill directory. This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDEPLUGINROOT}", "set up.

Who is Hook Development best for?

Hook Development is best for reusing agent instructions, scripts, and references.

How do I install Hook Development?

Install or run Hook Development using Copy skill directory. Check Hook Development for the latest setup command.

Is Hook Development actively maintained?

Hook Development may need a closer maintenance check before production use.

Share:

Stars
141,692
Forks
22,746
Last commit
24 days ago
Last verified
Aug 19, 2026
Metadata fetched
Aug 19, 2026
Repository age
2 years
License
Unknown

Project health auto-fetched from the source repository.

Maintain this resource?

Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.

Alternatives to Hook Development