enforcement-audit

enforcement-audit is a skill for Claude Code from stefaniuk/loadout. It costs 30 tokens per session (1,934 once invoked), scanned A, original, MIT.

A compliance audit workflow for checking a codebase against technology-specific instruction files. It identifies mismatches, plans corrective work, applies fixes, and checks the required quality gates.

In plain words
What is it for?
Use it to audit Python, TypeScript or JavaScript, Go, or Docker files against their corresponding instruction file, then produce inventories and alignment plans.
Why use it?
It replaces separate technology-specific enforcement checks with one repeatable process. This helps find code that does not follow the project's documented rules.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to audit Python, TypeScript or JavaScript, Go, or Docker files against their corresponding instruction file, then produce inventories and alignment plans.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stefaniuk/loadout/enforcement-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add stefaniuk/loadout --skill enforcement-audit
Clone the repo
git clone --depth 1 https://github.com/stefaniuk/loadout

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for enforcement-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/stefaniuk/loadout/enforcement-audit/github.svg)](https://agentmods.dev/skills/stefaniuk/loadout/enforcement-audit)
Your own site
<a href="https://agentmods.dev/skills/stefaniuk/loadout/enforcement-audit"><img src="https://agentmods.dev/badge/skills/stefaniuk/loadout/enforcement-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for enforcement-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/stefaniuk/loadout/enforcement-audit"><img src="https://agentmods.dev/badge/skills/stefaniuk/loadout/enforcement-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,934 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.01934
Opus 5.5 $0.00012 $0.00774
Sonnet 5.5 $0.00006 $0.00387
Haiku 4.5 $0.00003 $0.00193

Measured 1mo ago against content hash 8d1d929be531, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

enforcement-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/enforcement-audit/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Enforcement Audit Skill

This skill runs a structured compliance audit for a specific technology against its instruction file. It replaces the individual enforce.* prompts with a single parameterised workflow.

Technology Resolution

Resolve the technology from the user's input ($ARGUMENTS). Match against the table below to determine the instruction file, file patterns, rule prefix, and output paths.

Technology Instruction file File patterns Rule prefix Inventory path Plan path
python python.instructions.md *.py, pyproject.toml, uv.lock, requirements*.txt PY .copilot/analysis/python-inventory.md .copilot/analysis/python-instructions-alignment-plan.md
typescript typescript.instructions.md *.ts, *.tsx, *.js, package.json, tsconfig.json TS .copilot/analysis/typescript-inventory.md .copilot/analysis/typescript-instructions-alignment-plan.md
go go.instructions.md *.go, go.mod, go.sum GO .copilot/analysis/go-inventory.md .copilot/analysis/go-instructions-alignment-plan.md
docker docker.instructions.md Dockerfile, Dockerfile.*, compose.yaml, compose.*.yaml DF .copilot/analysis/docker-inventory.md .copilot/analysis/docker-instructions-alignment-plan.md
rust rust.instructions.md *.rs, Cargo.toml, Cargo.lock RS .copilot/analysis/rust-inventory.md .copilot/analysis/rust-instructions-alignment-plan.md
shell shell.instructions.md *.sh, *.bash, *.zsh SH .copilot/analysis/shell-inventory.md .copilot/analysis/shell-instructions-alignment-plan.md
makefile makefile.instructions.md Makefile, *.mk MK .copilot/analysis/makefile-inventory.md .copilot/analysis/makefile-instructions-alignment-plan.md
terraform terraform.instructions.md *.tf, *.tfvars TF .copilot/analysis/terraform-inventory.md .copilot/analysis/terraform-instructions-alignment-plan.md
reactjs reactjs.instructions.md *.jsx, *.tsx, *.js, *.ts RJS .copilot/analysis/reactjs-inventory.md .copilot/analysis/reactjs-instructions-alignment-plan.md
tauri tauri.instructions.md *.rs, *.ts, *.tsx, *.js, *.jsx TAU .copilot/analysis/tauri-inventory.md .copilot/analysis/tauri-instructions-alignment-plan.md
playwright-python playwright-python.instructions.md *.py PPW .copilot/analysis/playwright-python-inventory.md .copilot/analysis/playwright-python-instructions-alignment-plan.md
playwright-typescript playwright-typescript.instructions.md *.ts, *.tsx PTW .copilot/analysis/playwright-typescript-inventory.md .copilot/analysis/playwright-typescript-instructions-alignment-plan.md

Read the full file on GitHub · 113 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 113 lines · 30 tokens per session scan A 8d1d929be531

Subscribe to this mod's changes

enforcement-audit is a skill published in the GitHub repository stefaniuk/loadout (1 stars, last pushed 7d ago), licensed MIT. It adds 30 tokens to every session and 1,934 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

code-review

Review pull requests for repository fit, meaningful value, trustworthy provenance, differentiation, and maintainability in awesome-copilot.

github/awesome-copilot · 27 tokens

spec-kitty-implement-review

Orchestrate the implement-review loop for Spec Kitty work packages using any configured agent. Covers agent dispatch, state transitions, rejection cycles, arbiter escalation, and dependency-aware sequencing across all 13 supported coding agents. Triggers: "implement and review WPs", "run the implement-review loop"…

Priivacy-ai/spec-kitty · 120 tokens

spec-kitty-mission-review

Review a fully merged Spec Kitty mission post-merge (all WPs done/approved) to verify spec→code fidelity, FR coverage, drift, risks, and security. Triggers: "review the merged mission", "post-merge mission review", "verify the completed mission", "audit the mission implementation", "mission-level acceptance review"…

Priivacy-ai/spec-kitty · 155 tokens

spec-kitty-runtime-review

Review runtime-owned outputs using the Spec Kitty review workflow surface, then direct approval or rejection with structured feedback. Triggers: "review this work package", "check runtime output", "approve this step", "review WP", "is this WP ready to approve", "check this implementation". Does NOT handle: setup-only…

Priivacy-ai/spec-kitty · 85 tokens

mcp-server-review

Review a Model Context Protocol (MCP) server implementation against the 2026-07-28 protocol revision, which removed the initialize handshake and Mcp-Session-Id and made the protocol stateless. Use when the user asks to review, audit, upgrade or migrate an MCP server, asks whether their MCP server is spec compliant…

pnp/copilot-prompts · 93 tokens

code-review-csharp

Perform structured code reviews of C# source code covering naming conventions, performance, security, readability, and .NET best practices. Trigger phrases include "review this C# code", "check my C# for best practices", "analyze this C# class", "find issues in my C# code".

pnp/copilot-prompts · 66 tokens