Audit Hook Wiring — Security skill for Claude Code
Validate ~/.claude/settings.json hooks block — event names, file existence, executability, matcher syntax; --fix repairs common issues.
How to install Audit Hook Wiring
Installs to ~/.claude/skills/megabytespace-claude-skills-audit-hook-wiring/SKILL.md
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.
What Audit Hook Wiring does
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
Audit every hook entry in `~/.claude/settings.json` against the Claude Code spec. A misconfigured hook silently no-ops — bad event names,
Alternatives in Security
- Portaljs Check Data Quality — Audit a local or remote tabular file (CSV/TSV) for common data quality issues 2.3k ★
- Reflexion — Audit and optimize the .claude/ ecosystem — skills, hooks, guides, patterns, agents, and settings — for qualit 224 ★
- Commit Hook Checklist — Audit commit-hook automation as gates against AI slop and broken commits (Node.js, Go, polyglot) 168 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
UI Refine
Iterative UI refinement: audit existing UI, select issues to fix, apply fixes, re-audit. Provide file paths or
Pbi Audit Fix
Autonomous audit-then-fix pipeline — scan the TMDL/TMSL model, auto-fix WARN-level issues (missing description
Agent Gate
Unified hook handler for Agents: structured audit trail and regex enforcement for every LLM tool-call event
J Config Audit
Security audit of Claude, Codex, Gemini, and shared agent configuration for secrets, over-broad permissions, a
Agent Security Hooks
Security hooks for AI coding assistants (Claude Code, Cursor, Gemini CLI) - block dangerous commands, protect
My Security Review
Run a personal agent-tooling security review - secrets, shell/hook command execution, untrusted input, plugin/
Related Agents
Config Fixer
Applies ONE approved Claude Code config repair from the claude-checkup plan — mechanical edits like deleting a
Forms
HTML Forms + Sage specialist — analyzes existing form implementations (Blade form view, JS validation module,
Enumeration Oracle Hunter
Use this agent to find side-channel and response-shape oracles that let an attacker enumerate names, existence