/harness:agent-context-auditfrom harness
Audits repo agent context (CLAUDE.md, docs, skills, tool designs) for overconstraint, conflicts, redundancy, and stale facts. Produces scored findings with rewrites and applies approved fixes.
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.
None: SKILL.md is the whole skill.
Goal: find where this repo's context (CLAUDE.md, docs, skills, tool designs) hobbles a Claude 5-generation model — overconstrains it, contradicts itself, repeats itself, or hides context the model actually needs — and leave behind a findings report plus approved fixes.
Background: Anthropic removed over 80% of Claude Code's system prompt for Claude 5 models with no measurable loss on coding evals. Older context was written for models that needed rules; newer models need judgment, good interfaces, and the facts they can't infer. This skill audits against that shift, plus the "finding your unknowns" framework (the gap between the map — your prompts/docs — and the territory — the actual codebase).
You are auditing first, fixing second. Do not edit anything until Step 4.
Every finding maps to one of these. Cite the shift number in the report.
pending | in_progress | completed
teaches more than three worked examples.@-referenced source files, a
test suite, an HTML mockup, a rubric a verifier can score against. Code-based
specs beat prose paraphrases of code.Cross-cutting failure modes to hunt alongside the shifts:
Collect everything that gets assembled into an agent's context here. Look for the capability, not a specific filename:
~/.claude/CLAUDE.md only
if the user asks for a global audit. Also AGENTS.md, .cursorrules,
.github/copilot-instructions.md if present (same disease, same cure)..claude/skills/**/SKILL.md, skills/**/SKILL.md, plugin
skills committed to the repo..claude/agents/*.md).Record rough sizes (lines/tokens) per artifact — total always-loaded weight is itself a finding when large.
For each artifact, walk the six shifts and cross-cutting modes. For every finding record: file:line, quote, shift #, severity, proposed rewrite (the actual replacement text — or "delete", with one line of why it's safe).
Severity:
Verify before you flag: a claim of staleness must be checked against the repo (does that script exist? does that command run?); a claim of redundancy must cite both locations.
Auditing text only finds what's written. Now find what's missing:
git log --oneline -20 -- <doc> — a CLAUDE.md untouched for
months in an active repo is presumptively stale; recent churny areas of the
codebase with no doc coverage are presumptive gaps.Deliver a findings report (markdown in the repo, e.g.
docs/agent-context-audit-YYYY-MM-DD.md, or just in the reply if the user prefers):
Lead with the top 3–5 highest-value changes; don't bury a layer conflict under twenty style nits.
Ask which findings to apply (all high, everything, or cherry-pick). Then:
/doctor is available in this Claude Code install, suggest the user also
run it as a second opinion on CLAUDE.md/skill sizing.Sources: Anthropic, "The new rules of context engineering for Claude 5 generation models" (claude.com/blog); "A field guide to Claude Fable: finding your unknowns" (claude.com/blog).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
context-audit, unhobble, claude-md, agent-context, context-engineering
npx claudepluginhub ehsanulhaquesiam/claude-skills --plugin harness10 skills in this plugin
/crabbox-setupScaffold the crabbox ecosystem (.crabbox.yaml, setup.sh, cbx.sh, playwright config) into a repo, targeting YOUR VPS via static SSH instead of Daytona. Asks for the box details (host, ssh user/alias) on first use. Use when builds/tests/e2e should run on a persistent cloud box./dev-local-setupScaffold a one-command `dev-local` launcher for ANY codebase. Investigates the repo to find its services, ports, and infra dependencies, then generates a single `scripts/dev-local.sh` (up/down/status/logs/restart) that runs every dev server in one tmux session, plus a short skill doc describing it. Use when someone says "set up dev-local", "make a one-command dev launcher", "I want one script to start this repo", "scaffold dev-local for this project".
/2 plugins ship this exact skill · first indexed Jul 31, 2026
Other plugins' skills for the same job