Audit Hook Wiring banner
megabytespace megabytespace

Audit Hook Wiring

Security community

Description

--- description: Validate ~/.claude/settings.json hooks block — event names, file existence, executability, matcher syntax; --fix repairs common issues argument-hint: [--fix] allowed-tools: Bash, Read, Edit --- <!-- <SUBAGENT-STOP>: skip this skill when running inside a subagent. Meta-skills must not leak into spawned subagent contexts. --> <SUBAGENT-STOP/> Audit every hook entry in `~/.claude/settings.json` against the Claude Code spec. A misconfigured hook silently no-ops — bad event names,

Installation

Installs to ~/.claude/skills/megabytespace-claude-skills-audit-hook-wiring/SKILL.md

Terminal
mkdir -p ~/.claude/skills/megabytespace-claude-skills-audit-hook-wiring && curl -fsSL https://raw.githubusercontent.com/megabytespace/claude-skills/HEAD/commands/audit-hook-wiring.md -o ~/.claude/skills/megabytespace-claude-skills-audit-hook-wiring/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository