Install
npx skillscat add skills-lock/skil-lock/claude-hook-builder Install via the SkillsCat registry.
SKILL.md
Claude hook builder
Inspects your repo's existing Claude Code configuration and prints a suggested
hook block you can paste into .claude/settings.json yourself. Read-only: it
never writes the file for you.
Usage
Point it at a repo and it reads the current config and skill inventory:
- reads
.claude/settings.jsonto see which hooks already exist - greps
.claude/skills/**/SKILL.mdfor tool grants worth gating
It prints the suggested PreToolUse / PostToolUse block to stdout. You review
and paste it in by hand.