harness-audit
Skill213 starsChanged 3 days agoMITView on GitHub
Score a project's agent harness across 5 subsystems (Instructions / State / Verification / Scope / Lifecycle), identify the bottleneck, and produce a prioritized improvement plan. Use when assessing if a project is ready to graduate to [LONG-RUN] status, when an agent keeps failing despite good models, or when adopting our stack on a new codebase. Do NOT use to design or build a new harness from scratch — this only scores an existing one; for greenfield harness/agent architecture use harness-design (or agent-harness-design).
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 72
Read these files in order (skip silently if missing):
- Very specific: line 85
Use Glob + Read for the harness, then inspect the smallest relevant evidence path: a current test/CI receipt, hook execution trace, or …
- Distinctive: line 120
Use the visual scorecard format shown at the top of this skill.
- Distinctive: line 125
Priority improvements: only when requested, with expected evidence + pointer
- Distinctive: line 128
Keep the entire output under 50 lines.
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Harness Audit
Trigger on phrases like: "audit my harness", "evaluate my agent setup", "score my CLAUDE.md", "is my project ready for long-run", "5-subsystem assessment", "what's missing from my project setup", "/harness-audit". Run proactively when joining an unfamiliar codebase that has agent artifacts (CLAUDE.md, .claude/, AGENTS.md) but obvious gaps. Skip for single-file scripts and pure exploration.
Score a project's agent harness across five subsystems and tell the user which evidenced bottleneck to address first. Distinguish an artifact's presence from demonstrated behavior; never present metadata alone as runtime proof.
Source: Five-subsystem framework adapted from Learn Harness Engineering (walkinglabs, MIT). Adapted to our concrete stack: CLAUDE.md, .claude/rules/, PROBLEMS.md, feature_list.json, init.sh, hooks, handoffs, chronicles.
What This Skill Does
Given a project directory, produces a scorecard like this. This example assumes
project-xyz delivers features across sessions and uses pull requests:
=== Harness Audit: project-xyz ===
Instructions 4/5 ✓ Agent entrypoint and modular rules are documented and used
~ PR review guidance is not found in the inspected evidence
State 2/5 ✓ 3 handoffs preserve some continuation state
✗ No current record locates active scope and deferred work
~ PROBLEMS.md / feature_list.json are suitable conventions, not prerequisites
Verification 3/5 ✓ Documented test command; pytest is configured
~ No current execution receipt supplied
✗ No documented staged validation/proof route
Scope 3/5 ✓ in-scope principle in CLAUDE.md
~ shared-resource policy is unknown; no serialized lane is declared
✗ Definition of Done not explicit
Lifecycle 2/5 ✗ Needed session-boundary entry/stop behavior is not documented or demonstrated
~ Manual cleanup convention exists but not enforced
Bottleneck: State (2/5) — no current locator for feature scope and deferred work
Priority improvement (only when the user asks for recommendations):
- Record an execution receipt for the existing test command ↗ Verification evidenceFor an audit-only request, this skill produces the scorecard without making
changes or running probes merely to convert unknown into a pass. If the user
also requested correction or implementation, the scorecard is an intermediate
result: return the confirmed findings to the owning task and execute its
necessary, authorized reversible fixes, verification and delivery. Do not stop
at a report or assign agent-owned fixes back to the user. Preserve the original
acceptance criteria and real external/irreversible boundaries.
The Five Subsystems (Our Adaptation)
| Subsystem | Concrete files/conventions in our stack |
| Instructions | CLAUDE.md (root + ~/.claude/), .claude/rules/*.md (project), ~/.claude/rules/*.md (global), optional REVIEW.md |
| State | PROBLEMS.md, feature_list.json, .claude/handoffs/, .claude/chronicles/ |
| Verification | a documented command plus current receipt appropriate to the target, tests/config where applicable, Proof Loop usage |
| Scope | explicit in-scope/Definition of Done policy and a concurrency policy appropriate to the work |
| Lifecycle | SessionStart hooks, Stop hooks (stop-test-gate, check-problems-md), cleanup convention |
See references/checklist-per-subsystem.md for per-subsystem concrete checks.
See references/scoring-rubric.md for how to interpret 1-5 scores.
How to Run an Audit
Phase 1 — Gather
Read these files in order (skip silently if missing):
CLAUDE.mdin project rootAGENTS.mdin project root (some projects use this name).claude/rules/*.md(project-level rules).claude/settings.jsonand.claude/settings.local.json(hooks config)PROBLEMS.mdin rootfeature_list.jsonin rootinit.shin root (andMakefile/package.jsonscripts as fallback).claude/handoffs/(count files, checkINDEX.mdexistence).claude/chronicles/(count files)- Sample test config:
pytest.ini/package.jsontest script /Cargo.toml
Use Glob + Read for the harness, then inspect the smallest relevant evidence path: a current test/CI receipt, hook execution trace, or sampled state artifact. This is not a broad code review; absence of behavioral evidence is ~ unknown, not ✓ working.
Phase 2 — Score
For each subsystem, first identify the project delivery model and applicable
outcomes in references/checklist-per-subsystem.md. Mark every finding as
documented, demonstrated, or unknown; score from evidence rather than file
presence alone. The canonical files in the table are useful conventions, not
universal prerequisites.
- 5 = applicable outcomes are documented, demonstrated, and consistently followed
- 4 = documented and demonstrated with bounded gaps
- 3 = only documented, only demonstrated, materially partial, or unknown at a relevant boundary
- 2 = isolated or stale structure does not meet most applicable outcomes
- 1 = missing or actively harmful
For each subsystem, list:
- ✓ what's present and working
- ✗ what's missing or broken
- ~ partial / unclear
Phase 3 — Identify Bottleneck
The lowest-scoring subsystem is the bottleneck. Even if other subsystems are weaker by absolute count of checks, the lowest score is the one to fix first because it limits the value of the rest.
Tie-breaker (multiple subsystems at same low score): pick the one whose improvement unlocks progress in others. State often wins when the project lacks a durable locator for active scope and unresolved work; do not assume two particular filenames are required.
Phase 4 — Prioritized Improvement Plan
Only if the user requests recommendations, propose the smallest number of independently shippable actions that address the evidenced bottleneck. For each, name the expected evidence and a local template/example if one actually fits. Do not invent effort, score gains, or a fixed number of steps. Do not expand an audit-only request into implementation; when implementation was already requested, continue that owning task after the audit instead of requesting the same authorization again.
Output Format
Use the visual scorecard format shown at the top of this skill. Sections:
- Header:
=== Harness Audit: <project-name> ===(one line) - Scorecard: 5 lines, one per subsystem, with score + ✓/✗ findings
- Bottleneck: one line naming the subsystem and score
- Priority improvements: only when requested, with expected evidence + pointer
- Projected total: optional, only if user asks and the stated evidence supports a bounded projection
Keep the entire output under 50 lines. The user is scanning for next steps, not reading an essay. Detail goes into the per-subsystem checklist file, not the audit output.
What This Skill Is NOT
- Not a code review — does not look at source code quality
- Not a security audit — does not check for vulnerabilities (use
/security-reviewinstead) - Not a broad test runner — does not manufacture a green result from configuration. It may inspect a current CI/test receipt, or run one user-authorized, task-relevant probe when runtime evidence is part of the requested audit
- Not a standalone implementation methodology — an audit-only request ends with its findings; an audit inside an already authorized repair returns control to that repair, not to user homework
- Not for short-lived work without a durable handoff need — state why the audit is disproportionate instead of applying arbitrary feature/session thresholds
Honest Tradeoffs
- The 5-subsystem framework is opinionated. A project can be perfectly functional with 3 of 5 strong and 2 weak (e.g., a research repo with no lifecycle needs).
- Scoring is subjective at the margins. A 3 vs 4 for "covers basics" is a judgment call. Use the checklist to keep it consistent across audits, not to claim numeric precision.
- The skill assumes our stack conventions. For projects using completely different tooling (e.g., AGENTS.md without
.claude/), translate concepts before scoring — don't fail the project on naming.
Related
- Principle 27 (feature-tracking) — full framework explanation
- Principle 01 (harness-design) — Generator-Evaluator pattern, source of "subsystems" thinking
- Templates
${CLAUDE_PLUGIN_ROOT}/templates/long-run-project/— drop-in files for fixing State + Verification gaps - Rule
rules/long-run-harness.md— convention this audit checks against
Gotchas
- A scorecard example must use the same evidence rules as the checklist; a missing filename alone does not prove a missing outcome.
- Presence of this skill or its rubric is not proof that auditors apply it consistently. Do not cite an example-evaluation file unless it actually exists and was inspected.
Troubleshooting
- Two auditors give different scores to the same evidence: compare the declared delivery model and applicable outcomes, then resolve the checklist/example contradiction; do not add files just to raise the score.
- An authorized repair ends at the scorecard: return each confirmed finding to the original task, implement the necessary correction and verify it. An audit-only request remains read-only.
Other versions22 projects use a version of this.
Word for word · 1
- AnastasiyaW/codex-claude-code-config★ 213100% same
Edited · 0
None found.
Wrote their own version · 21
- Kanevry/session-orchestrator★ 53same name
- fabianmartinelli-fm/harness-audit★ 7same name
- fmslutions/harness-audit★ 7same name
- fernandopetry/keelson★ 5same name
- DaeSeokSong/oh-my-ouroboros★ 3same name
- Sagargupta16/agent-brain★ 2same name
- sattva2020/skills★ 2same name
- contextosai/skills★ 1same name
- jrittelmeyer/ai-dev-kit★ 1same name
- OHOKAYYEAH/claude-skills★ 1same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use project-init, autopilot and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
u9401066Skillproject-init
Initialize new projects using this template. Triggers: init, new, 新專案, 初始化, create project, 建立專案, bootstrap, scaffold project.
Also in 3 projects that use this
ibahgatSkillautopilot
Run autonomous multi-stage execution loops until acceptance criteria pass or blockers are reached.
Also in 3 projects that use this
Microsoft AzureSkilltest
Also in 3 projects that use this
nicolasestremSkillbrainstorm
Structured idea generation and solution exploration with systematic analysis.
Also in 3 projects that use this
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
In this repository60 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-harness-designSkill
- agents-best-practicesSkill
- diffusion-engineeringSkill
- flux2-klein-promptingSkill
- flux2-lora-trainingSkill
- forensic-prompt-compilerSkill
- ml-research-labSkill
- notebooklm-grounded-researchSkill
- vlm-segmentationSkill
- feature-newSkill
- harness-designSkill
- layer-newSkill
- plan-swarm-reviewSkill
- pixel-art-storyboardSkill
- pixel-art-studioSkill
- architecture-firstSkill
- architecture-qualitySkill
- bug-reproducerSkill
- code-complexitySkill
- control-cliSkill
- control-uiSkill
- deep-reviewSkill
- deslopSkill
- distill-feedbackSkill
- harness-feedbackSkill
- proof-verifySkill
- refactoring-safelySkill
- repo-mapSkill
- root-cause-deliverySkill
- system-and-data-designSkill
- testing-strategySkill
- thermo-nuclear-code-quality-reviewSkill
- verify-thisSkill
- workflow-orchestrationSkill
- frontend-designSkill
- motion-framerSkill
- ui-designSkill
- ui-ux-pro-maxSkill
- ios-developmentSkill
- lean-codeSkill
- cross-harness-continuationSkill
- deepseek-provider-contractSkill
- desktop-sessions-discoverySkill
- epistemic-challengeSkill
- gemini-delegateSkill
- observability-monitoringSkill
- remote-compute-opsSkill
- plan-to-ticketsSkill
- product-meaning-extractorSkill
- remotion-production-guideSkill
- script-evaluatorSkill
- video-narrative-arcSkill
- video-post-productionSkill
- article-structure-reviewSkill
- cavemanSkill
- humanize-englishSkill
- humanize-russianSkill
- owner-voiceSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

