Registry / daymade

daymade/claude-code-skills/claude-code-hooks

Writes, tests, registers and debugs Claude Code hooks (PreToolUse, PostToolUse, SessionStart, Stop) that turn a rule the model keeps breaking into a hard gate. Use when the user wants to block or intercept a tool call, add a guard rail, fix a misfiring hook, or says 拦截 / 守卫 / 钩子 — including "make it stop doing X".

Agent skill · version 3.24.1-main.1795392817.g3cc288f · from daymade/claude-code-skills

Install

npx yarkr-cli add skill:daymade/claude-code-skills/claude-code-hooks

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:daymade/claude-code-skills/claude-code-hooks
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:daymade/claude-code-skills/claude-code-hooks

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:daymade/claude-code-skills/claude-code-hooks

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.