SkillTrust

← All skills

hooks

95 / 100 · Low risk

Fine to try.

By nimadorostkar/Claude-Skills-collection (GitHub) · productivity · 36 stars · scanned at commit 1691932

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.

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.

Found in 1 place.

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

The badge for nimadorostkar/Claude-Skills-collection shows the score of its lowest-scoring skill.

SkillTrust badge for nimadorostkar/Claude-Skills-collection

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/nimadorostkar/Claude-Skills-collection.svg)](https://zalavijaysinh.github.io/skilltrust/repos/nimadorostkar/Claude-Skills-collection/)

Score history

DateVersionScore
2026-11-09169193295
2026-11-0731f227e95