← All skills
Hook Development
65 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a coding skill usually runs build and test commands.
By Claude-Code-Community-Ireland/claude-code-resources (GitHub) · coding · 12 stars · scanned at commit b9f5c0f
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 ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanc…
Works with any agent that supports SKILL.md skills.
What this skill can do
Runs commands on your computer
The author does not mention this. It runs automatically when the plugin is installed. Expected for a coding skill.
Found in 18 places.
Show 15 more
- plugins/vibeworks-library/skills/hook-development/SKILL.md, line 473
echo "$file_path" - plugins/vibeworks-library/skills/hook-development/SKILL.md, line 534
FLAG_FILE="$CLAUDE_PROJECT_DIR/.enable-strict-validation" - plugins/vibeworks-library/skills/hook-development/SKILL.md, line 550
CONFIG_FILE="$CLAUDE_PROJECT_DIR/.claude/plugin-config.json" - plugins/vibeworks-library/skills/hook-development/SKILL.md, line 605
claude --debug - plugins/vibeworks-library/skills/hook-development/SKILL.md, line 615
echo '{"tool_name": "Write", "tool_input": {"file_path": "/test"}}' | \ - plugins/vibeworks-library/skills/hook-development/SKILL.md, line 626
output=$(./your-hook.sh < test-input.json) - plugins/vibeworks-library/skills/hook-development/scripts/test-hook.sh, line 190
output=$(timeout "$TIMEOUT" bash -c "cat '$TEST_INPUT' | $HOOK_SCRIPT" 2>&1) - plugins/vibeworks-library/.mcp.json, line 10
"command": "npx", - plugins/vibeworks-library/hooks/hooks.json, line 9
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/security_reminder_hook.py" - plugins/vibeworks-library/hooks/hooks.json, line 20
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/detect-design-task.sh" - plugins/vibeworks-library/hooks/hooks.json, line 30
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/test-reminder.sh", - plugins/vibeworks-library/hooks/hooks.json, line 39
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/ralph-stop-hook.sh" - plugins/vibeworks-library/hooks/hooks.json, line 47
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/check-design-state.sh" - plugins/vibeworks-library/hooks/security_reminder_hook.py, line 71
"substrings": ["child_process.exec", "exec(", "execSync("], - plugins/vibeworks-library/hooks/security_reminder_hook.py, line 72
"reminder": """⚠️ Security Warning: Using child_process.exec() can lead to command injection vulnerabilities.
Connects to the internet
The author does not mention this.
Found in 1 place.
Changes files outside its own folder
The author does not mention this.
Found in 1 place.
Downloads and installs other software
The author does not mention this. It runs automatically when the plugin is installed.
Found in 2 places.
Safer alternatives
Low-risk skills in the same category (coding) that look related. Check that one does what you need.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'hook-development' ] || [ -L ~/.agents/skills/'hook-development' ]; then echo 'A skill folder named hook-development already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/Claude-Code-Community-Ireland/claude-code-resources' "$d" && git -C "$d" checkout --quiet 'b9f5c0fea31eb7ee5f20960fd976a7c31ee7a0df' -- 'plugins/vibeworks-library/skills/hook-development' && mkdir -p ~/.agents/skills && cp -R "$d"/'plugins/vibeworks-library/skills/hook-development' ~/.agents/skills/'hook-development' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'hook-development' ~/.claude/skills/'hook-development' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for Claude-Code-Community-Ireland/claude-code-resources shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/Claude-Code-Community-Ireland/claude-code-resources/)
Score history
| Date | Version | Score |
|---|
| 2026-11-08 | b9f5c0f | 65 |