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.5 $0.00022 $0.00437
Sonnet 5.5 $0.00011 $0.00219
Haiku 4.5 $0.00006 $0.00109

Measured 1mo ago against content hash fbd6635ae94a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (11 stars, last pushed 3mo ago), licensed MIT. It adds 56 tokens to every session and 1,093 once invoked, about $0.0002 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

Other skills, from other repositories

automate

Use this skill to create Cursor Automations.

saski/arnesto · 12 tokens

sdk

Guide users building apps, scripts, CI pipelines, or automations on top of the Cursor SDK - TypeScript (@cursor/sdk) or Python (cursor-sdk / cursorsdk). Use when the user mentions integrating, installing, or writing code against the Cursor SDK; says Agent.create, Agent.prompt, Agent.resume, agent.send, run.stream…

saski/arnesto · 202 tokens

llm-wiki

The foundational knowledge distillation pattern for building and maintaining an AI-powered Obsidian wiki. Based on Andrej Karpathy's LLM Wiki architecture. Use this skill whenever the user wants to understand the wiki pattern, set up a new knowledge base, or needs guidance on the three-layer architecture (raw sources…

saski/arnesto · 113 tokens

modern-cli-design

Principles for building Unix-composable command-line tools in Go: stdout/stderr discipline, JSON and plain output modes, semantic exit codes, noun-verb commands, structured errors. Use when designing, building, or reviewing CLIs.

saski/arnesto · 51 tokens

wiki-status

Show the current state of the wiki — what's been ingested, what's pending, and the delta between sources and wiki content. Use this skill when the user asks "what's the status", "how much is ingested", "what's left to process", "show me the delta", "what changed since last ingest", "wiki dashboard", or wants an…

saski/arnesto · 152 tokens

mutation-testing

Finds weak or missing tests by analyzing if code changes would be caught. Use when verifying test effectiveness, strengthening test suites, or validating TDD workflows.

saski/arnesto · 34 tokens