hook-enforcement-audit

Community

Identify and expose hook enforcement gaps.

AuthorNerfherder16
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Audits a Claude Code hook system (settings.json + hook .js files) to identify where enforcement infrastructure is built but deliberately softened to advisory-only.

Core Features & Use Cases

  • Build inventory of hooks from settings.json; identify event → hook file pairs and whether the file exists
  • Classify each hook's authority (hard block, advisory, advisory+flag, inject, pass-through) and map enforcement vs advisory
  • Check receipt/state patterns (e.g., masonry-state.json) to determine if compliance is tracked or stale
  • Generate findings tables and actionable remediation steps for gaps, with prioritized tiers
  • Produce deployment prerequisites and enablement guidance for enforcement flags if prerequisites are met

Quick Start

Run the hook-enforcement-audit against your Claude Code setup to identify advisory vs enforcement gaps

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hook-enforcement-audit
Download link: https://github.com/Nerfherder16/BrickLayer/archive/main.zip#hook-enforcement-audit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.