/harness:harness-auditfrom Harness (обвязка)
Scores an existing agent harness across 5 subsystems (Instructions, State, Verification, Scope, Lifecycle), identifies the bottleneck, and produces a prioritized improvement plan. Use when assessing long-run readiness or debugging persistent agent failures.
Ships in Harness (обвязка). Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
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 evidence
For 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.
| 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.
Read these files in order (skip silently if missing):
CLAUDE.md in project rootAGENTS.md in project root (some projects use this name).claude/rules/*.md (project-level rules).claude/settings.json and .claude/settings.local.json (hooks config)PROBLEMS.md in rootfeature_list.json in rootinit.sh in root (and Makefile / package.json scripts as fallback).claude/handoffs/ (count files, check INDEX.md existence).claude/chronicles/ (count files)pytest.ini / package.json test script / Cargo.tomlUse 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.
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.
For each subsystem, list:
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.
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.
Use the visual scorecard format shown at the top of this skill. Sections:
=== Harness Audit: <project-name> === (one line)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.
/security-review instead).claude/), translate concepts before scoring — don't fail the project on naming.${CLAUDE_PLUGIN_ROOT}/templates/long-run-project/ — drop-in files for fixing State + Verification gapsrules/long-run-harness.md — convention this audit checks againstWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub anastasiyaw/codex-claude-code-config --plugin harness60 skills in this plugin
/agent-harness-designDesigning agent harnesses and tool systems — risk taxonomy for tools, permission decisions, draft/commit pattern, structured tool results, agent budgets (10 types), context trust labels against prompt injection, plan-artifact, approval records, observability and traces, evals (13 categories), event model, streaming buffering, 3rd-party skill install checklist, agentic RAG, self-improving SOP loops, model policy, reasoning effort, and Programmatic Tool Calling adoption gates. Use when building a new Agent SDK app, custom orchestrator, MCP server, Cloudflare Worker with tool calls, agentic RAG pipeline, model router, or model-tier policy; when designing tools and permissions; when writing an agent loop; or when you need trust labels for external content. Do NOT use for improving or auditing an already-built harness (use harness-audit / harness-design instead), nor for ordinary Claude Code sessions where the harness is already given./agents-best-practicesUse when designing, auditing, refactoring, or explaining an agentic harness for any domain, especially when work must continue from a measured gap to verified completion. Covers provider-neutral loops, tools, permissions, environment adaptation, planning, durable workflow state, context, skills, observability, evals, and safety for OpenAI, Anthropic, and compatible APIs. Not for implementing an ordinary app feature or reviewing one concrete diff.Other plugins' skills for the same job