hooks
95 / 100 · Low risk
Fine to try.
Use when automating agent behavior with lifecycle hooks. Covers hook events, deterministic enforcement of rules the model should not be trusted to remember, and avoiding hooks that make an agent unusable. Trigger on "run prettier after every edit", "block rm -rf", "claude keeps forgetting to run tests". Do not use for guidance the agent should usually follow — see the agent-instructions skill; for a workflow run on demand, see the slash-commands skill.
What this skill can do
Runs commands on your computer
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'hooks' ] || [ -L ~/.agents/skills/'hooks' ]; then echo 'A skill folder named hooks already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/nimadorostkar/Claude-Skills-collection' "$d" && git -C "$d" checkout --quiet '1691932edc17063d712a85d02bcc7a1cd3791057' -- 'skills/agent-tooling/hooks' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/agent-tooling/hooks' ~/.agents/skills/'hooks' && 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/'hooks' ~/.claude/skills/'hooks' (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/nimadorostkar/Claude-Skills-collection/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-09 | 1691932 | 95 |
| 2026-11-07 | 31f227e | 95 |