plugin:hook
100 / 100 · Low risk
Fine to try.
Configure, create, or troubleshoot Claude Code hooks (PreToolUse, PostToolUse, UserPromptSubmit), debug hook failures, or set up any automation within Claude Code. Examples include "I want to run tests before every file edit", "My hook isn't firing", "1 out of 2 hooks ran", or "How do I create a hook that formats JSON output with jq?"
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'plugin-hook' ] || [ -L ~/.agents/skills/'plugin-hook' ]; then echo 'A skill folder named plugin-hook already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/bendrucker/claude' "$d" && git -C "$d" checkout --quiet '497d619eb22e6f93dd49c4d8f6ff4a52578e0949' -- 'plugins/plugin/skills/hook' && mkdir -p ~/.agents/skills && cp -R "$d"/'plugins/plugin/skills/hook' ~/.agents/skills/'plugin-hook' && 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/'plugin-hook' ~/.claude/skills/'plugin-hook' (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
[](https://zalavijaysinh.github.io/skilltrust/repos/bendrucker/claude/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-11 | 497d619 | 100 |
| 2026-11-08 | ebe6d12 | 100 |
| 2026-11-06 | be8a32e | 100 |