enforcement-audit

enforcement-audit is a skill for Claude Code, Codex 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 CodeCodex

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.

agentmods
npx agentmods add skills/stefaniuk/loadout/enforcement-audit
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, Codex.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00015 $0.00967
Sonnet 5 $0.00006 $0.00387
Haiku 4.5 $0.00003 $0.00193

Measured 5d ago against content hash 8d1d929be531, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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. 5d 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 3d ago), licensed MIT. It adds 30 tokens to every session and 1,934 once invoked, about $0.0002 per session on Opus 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

artifact-conventions

Defines preservation, format, and section rules for SDD specification artifacts (spec.md, plan.md, tasks.md, checklists). Use when editing feature-artifact files under specs/ / to prevent accidental corruption of cross-referenced IDs, priorities, and gating state.

attilaszasz/sdd-pilot · 59 tokens

plan-authoring

Reference material for writing implementation plans (technical context, architecture decisions, data models, API contracts, project-instructions alignment). Loaded on demand by plan-feature; not directly invokable.

attilaszasz/sdd-pilot · 41 tokens

task-generation

Reference material with the canonical task-format grammar and decomposition rules for plan-to-tasks expansion. Loaded on demand by generate-tasks; not directly invokable.

attilaszasz/sdd-pilot · 35 tokens

adr-authoring

Defines the canonical MADR format, lifecycle rules, numbering policy, and SAD catalog contract for standalone ADRs under specs/adrs/.

attilaszasz/sdd-pilot · 30 tokens

implementation-standards

Reference material with coding standards (defensive coding, error handling, testing patterns). Loaded on demand by the Developer sub-agent (.github/agents/developer.md); not directly invokable.

attilaszasz/sdd-pilot · 44 tokens

spec-authoring

Reference material for writing product, technical, and operational specifications (work-item priorities, requirement families, success criteria). Loaded on demand by specify-feature; not directly invokable.

attilaszasz/sdd-pilot · 40 tokens