repo-harness-assessment

repo-harness-assessment is a skill for Claude Code from yfge/agent-harness-skills. It costs 56 tokens per session (1,093 once invoked), scanned A, original, MIT.

A guide for checking how ready a code repository is for work by AI agents. It covers the repository's rules, entrypoints, validation, evidence, and review records.

In plain words
What is it for?
It helps assess or design files such as AGENTS.md, CLAUDE.md, GEMINI.md, editor rules, and GitHub instructions, then choose the smallest useful improvement.
Why use it?
It helps find missing or conflicting guidance that can make agent changes unsafe, hard to verify, or difficult to review.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Cursor.

Part of the agent-harness-skills plugin — 5 skills shipped together

Good fit It helps assess or design files such as AGENTS.md, CLAUDE.md, GEMINI.md, editor rules, and GitHub instructions, then choose the smallest useful improvement.

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

Made for: Claude Code.

Or install agent-harness-skills, the plugin that ships this one along with the rest of its 5 skills.

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 repo-harness-assessment

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yfge/agent-harness-skills/repo-harness-assessment"><img src="https://agentmods.dev/badge/skills/yfge/agent-harness-skills/repo-harness-assessment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,093 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.00056 $0.01093
Opus 5 $0.00028 $0.00547
Sonnet 5 $0.00011 $0.00219
Haiku 4.5 $0.00006 $0.00109

Measured 12d ago against content hash fbd6635ae94a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

repo-harness-assessment 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 12d 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/repo-harness-assessment/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.

Repo Harness Assessment

Overview

Assess how well a repository lets an agent find its rules, make safe changes, verify them, and produce reviewable evidence.

This is the default router for existing repositories. It also owns agent-entrypoint design because entrypoints are the navigation layer of the assessment, not a separate harness system. For shared vocabulary and neutral artifact names, see ../../references/harness-patterns.md; when expected harness files are missing, use references/build-when-missing.md; for canonical entrypoints, mirrors, and drift prevention, use references/entrypoint-policy.md.

When To Use

  • The user asks what harness pieces a repository is missing.
  • The user wants to create, shrink, reconcile, or diagnose AGENTS.md, CLAUDE.md, GEMINI.md, Cursor rules, or GitHub instructions.
  • You need to compare entrypoints, validation commands, runtime evidence, delivery records, or quality gates across repositories.
  • You need to decide whether the next smallest improvement is an entrypoint, validation script, artifact bundle, ledger, contract check, or quality gate.

Inputs Needed

  • Repository root path.
  • User scope: whole repository, one surface, docs-only work, runtime behavior, CI, or delivery flow.
  • Any expected harness shape or maturity target the user names.
  • Existing agent instruction files and whether mirrors, generation, or subtree overrides are required.

Execution Order

  • First: Read repository entrypoints and source-of-truth files, including agent instructions, README, architecture or reliability docs, indexes, CI, and scripts.
  • Then: Map existing surfaces to harness roles and check entrypoint precedence, mirrors, validation, evidence, work state, delivery, contracts, and quality.
  • Finally: Report maturity, entrypoint actions, the smallest useful improvement slice, and what not to build yet.

Step-by-Step Process

  1. Use rg --files or find to list agent instruction files, docs, scripts, CI, work-state surfaces, ledgers, reports, and runtime artifacts.
  2. Identify one canonical entrypoint and classify every other agent instruction file as a subtree override, symlink, generated mirror, or short pointer.
  3. Keep the root entrypoint to scope, source-of-truth navigation, hard boundaries, and minimum commands; move detailed procedures to linked docs.
  4. Map current artifacts to entrypoint, work-state, ledger, contracts, validation, runtime-evidence, and quality roles before proposing new files.
  5. Check for a stable validation matrix and whether failures connect to run IDs, request IDs, logs, screenshots, JSON/JUnit output, reviews, or commits.
  6. If a required role is absent, define the minimum bootstrap artifact from references/build-when-missing.md; do not scaffold optional roles by default.
  7. Add a mirror or pointer drift check when multiple agent instruction surfaces must stay aligned.
  8. Compress gaps into no more than three next steps, ordered by value and risk.

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. 12d ago First seen · 113 lines · 56 tokens per session scan A fbd6635ae94a

Subscribe to this mod's changes

repo-harness-assessment is a skill published in the GitHub repository yfge/agent-harness-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 56 tokens to every session and 1,093 once invoked, about $0.0003 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

readonly-review

Run a no-network read-only review practice with two explorer steps and one synthesis step.

Ranvier-Technologies/pixir · 20 tokens

coding-guardrails

Unified LLM coding rules, simplicity guidelines, surgical changes, and thinking protocols for all AI agents. Triggers on: code rules, guardrails, coding guidelines, coding conventions, coding style, surgical changes, goal-driven.

frankxai/agentic-ops-hub · 50 tokens

breaking-down-the-work

Splits scope into a product-first work breakdown that follows the 100% rule, keeps pieces from overlapping, uses outline numbers, and gives every piece a dictionary entry. Use when an epic, feature, or new subsystem needs a clean split into deliverables, or one source of truth before folders or work begin. Do not use…

FlyFission/nuclear-grade-context-engineering · 84 tokens

staying-on-mission

Tests the current work against a written, lasting mission anchor and forces one choice, re-anchor, escalate, or stop. Use when an agent keeps finishing tasks but the work drifts from the goal, scope creeps, the same action repeats in a loop, or standards slip one small step at a time. Do not use for a tiny edit with…

FlyFission/nuclear-grade-context-engineering · 90 tokens

proving-claims

Builds claim-to-evidence trace rows with statuses, gaps, tests, evals, reviews, and narrower non-claims. Use when a packet asserts something a reviewer must trust. Do not use to make the final ship decision, judge public legal wording, or invent evidence that does not exist.

FlyFission/nuclear-grade-context-engineering · 65 tokens

responding-to-incidents

Runs a live incident the stabilize-first way — name a commander, separate facts from hypotheses, prefer reversible actions, communicate on a cadence, and drive corrective actions to closure. Use when production is broken, data is at risk, or an agent action caused harm. Do not use for routine non-incident work, or as…

FlyFission/nuclear-grade-context-engineering · 80 tokens