generation-audit

generation-audit is a skill for Claude Code from shimo4228/claude-harness. It costs 22 tokens per session (2,502 once invoked), scanned A, original, MIT.

An audit process for comparing the instructions and tool descriptions loaded in a live AI session with custom rules, agent instructions, and skills. It records mismatches as conflicts, duplicates, or drift, where the written setup no longer matches reality.

In plain words
What is it for?
Use it after a model-generation change to collect evidence for reviewing rules, skills, and agents.
Why use it?
It helps find instructions that disagree with the current model setup or repeat work the runtime already handles, without deciding what should ultimately be removed.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Good fit Use it after a model-generation change to collect evidence for reviewing rules, skills, and agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shimo4228/claude-harness/generation-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 shimo4228/claude-harness --skill generation-audit
Clone the repo
git clone --depth 1 https://github.com/shimo4228/claude-harness

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 generation-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/shimo4228/claude-harness/generation-audit/github.svg)](https://agentmods.dev/skills/shimo4228/claude-harness/generation-audit)
Your own site
<a href="https://agentmods.dev/skills/shimo4228/claude-harness/generation-audit"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/generation-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 generation-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/shimo4228/claude-harness/generation-audit"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/generation-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,502 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.00022 $0.02502
Opus 5.5 $0.00009 $0.01001
Sonnet 5.5 $0.00004 $0.00500
Haiku 4.5 $0.00002 $0.00250

Measured 22d ago against content hash e569ec9ccd5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

generation-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 22d 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.

skills/generation-audit/SKILL.md · 140 lines

How it starts

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

generation-audit — harness audit at a model generation change

The procedure for Scaffold Dissolution's (rules/common/akc-cycle.md) third trigger = model generation change. One run performs two checks, carrying line fixes through to application and asset-level verdicts through to the stocktakes.

Check Compared against Engine
runtime cross-check (Phase 1–2) the system prompt and tool descriptions actually loaded at inference time this skill
dated-pattern scan (Phase 3) the outdated writing patterns listed in the target model's official guide /claude-api prompt-audit

Anthropic updates the dated-pattern table and the target model's behavior inside the /claude-api skill with each model release, so they are not copied here — this skill holds only this harness's scope, exclusions, application conventions, and recording, plus the runtime cross-check that prompt-audit does not have. Asset-level verdicts (Retire / Merge, etc.) are owned by the stocktake for each asset class (ADR-0022); this skill stands on the side that supplies the evidence.

Phase 0 — Target model and scope

  • Target model: the model newly assigned to a role in this harness. When models differ by role, look at an asset through the model of the role that reads it (a dispatch packet template → build role; rules / CLAUDE.md / output style → every session; judge-role skills → judge role)
  • Scope: the prompt surface of ~/.claude — rules/common/, CLAUDE.md, AGENTS.md, output-styles/, skills/*/SKILL.md and references/, agents/, and the text hooks return to the model
  • Not applied to (audited and recorded in the ledger, but not edited):
    • unmodified copies of externally originated files and symlinked external skills — keep them as copies (skill skill-writer §3)
    • files another session is working on — M / ?? entries in git status that are not your changes. To avoid breaking that session's commit, leave the findings in the ledger and carry them to the next run

Read the full file on GitHub · 140 lines

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. 22d ago Changed e569ec9ccd5c
  2. 29d ago Changed · +1 lines ffa330ce0d29
  3. 1mo ago Changed · +2 lines 5f70fa8cb56e
  4. 1mo ago Changed · -140 tokens per session b0309acaf9f8
  5. 1mo ago Changed · -8 tokens per session 2e00d920f396
  6. 2mo ago Changed · +1 lines a4b7d861191b
  7. 2mo ago Changed · +5 lines · -13 tokens per session 9a08d42988bd
  8. 2mo ago Changed e96ab9dbdd40
  9. 2mo ago Changed · +3 lines 2cecc41855cd
  10. 3mo ago First seen · 128 lines · 183 tokens per session scan A 66e979011f66

Subscribe to this mod's changes

generation-audit is a skill published in the GitHub repository shimo4228/claude-harness (4 stars, last pushed 7d ago), licensed MIT. It adds 22 tokens to every session and 2,502 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

generation-audit compared with skills from other repositories

generation-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generation-auditshimo4228/claude-harnessSkill47d agoMITA22Claude Code
troubleshoot-tervaterva-sh/tervaSkill52d agoMITA83Claude Code, Codex
agent-adoption-triageshimo4228/agent-adoption-triageSkill21mo agoMITA143Claude Code
agent-harness-fault-injectionlingxling/awesome-skills-cnSkill3411mo agoMITA34Claude Code
debug-helpsunnypatneedi/claude-starter-kitSkill119mo agononeA8Claude Code
systematic-debuggingNousResearch/hermes-agentSkill267ktodayMITA16Claude Code, Codex
a11y-debuggingasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A50Claude Code, Codex