repo-harness

repo-harness is a skill for Claude Code, Codex from Ancienttwo/repo-harness. It costs 24 tokens per session (428 once invoked), scanned A, original, MIT.

An evaluation-only method for planning changes in a code repository when important decisions are unresolved. It asks a limited number of high-impact questions and keeps the plan marked as a draft when user decisions are missing.

In plain words
What is it for?
Use it to explore the decisions and prerequisites behind high-risk repository changes before implementation. It is not intended to approve or implement plans.
Why use it?
It reduces the risk of silently choosing the wrong behavior for changes involving architecture, security, ownership, money, deletion, concurrency, recovery, or public interfaces.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to explore the decisions and prerequisites behind high-risk repository changes before implementation. It is not intended to approve or implement plans.

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

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ancienttwo/repo-harness/treatment"><img src="https://agentmods.dev/badge/skills/ancienttwo/repo-harness/treatment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 428 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 21
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00024 $0.00428
Opus 5.5 $0.00010 $0.00171
Sonnet 5.5 $0.00005 $0.00086
Haiku 4.5 $0.00002 $0.00043

Measured 1mo ago against content hash bf1b99827593, 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 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.

evals/frontier-stress-test/treatment/SKILL.md · 44 lines

What it actually says

Bounded frontier stress test — eval treatment

This is an evaluation-only delta over the fixture's minimum-effective-interview baseline. It has no authority to approve or implement a plan.

Eligibility

Use the treatment only when explicitly requested or when a case changes high-risk architecture, data authority or ownership, security, permissions, money, deletion, concurrency, recovery semantics, or a hard-to-reverse public interface. Bypass it for small bug fixes, decision-complete acceptance criteria, documentation, formatting, and renames.

Protocol

  1. Resolve environment facts from CASE.md; do not ask the user for known facts.
  2. Model only high-impact decisions and their prerequisites. A decision enters the current frontier only after every prerequisite is resolved.
  3. Emit at most three frontier questions per round. Each question includes a recommended default and the effect of every option.
  4. Stop after two rounds per invocation. Further expansion requires explicit continue; unvisited branches remain explicit.
  5. Never answer a user-owned decision. Mark it [UNKNOWN:BLOCKING] and keep the plan Draft.
  6. Persist resolved decisions into existing authority: canonical terms to docs/spec.md#Canonical Terms; user need/non-goal to PRD; boundary and trade-off to Plan; allowed scope and failure semantics to Plan + Contract; verifiable behavior to Contract exit_criteria; long-lived architecture to its architecture module/request. Reversible defaults use [ASSUMED].
  7. Shared understanding requires user confirmation. Never mark an unresolved plan Approved and never start implementation from this mode.

Hard kills

  • Never create a parallel context, ADR, decision-tree, or grill-session artifact.
  • Never expose the transient decision graph as durable authority.
  • Never ask a downstream question in the same round as its unresolved prerequisite.
  • Never trigger on a simple or decision-complete task.
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 · 44 lines · 24 tokens per session scan A bf1b99827593

Subscribe to this mod's changes

repo-harness is a skill published in the GitHub repository Ancienttwo/repo-harness (434 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 428 once invoked, about $0.0001 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-09-05.

Related

Other skills, from other repositories

create-modal

Create declarative modals using the modal library API. Covers modal types (confirm, input, select, form), sections (Text, Buttons, Input, Textarea, Checkbox, Select, List, Combo, When, Custom), rendering with OverlayModal, and keyboard/mouse handling. Use when adding modals or dialogs to the application.

marcus/sidecar · 71 tokens

merge-strategy

Git merge strategies, conflict resolution approaches, merge vs rebase recommendations, and branch integration patterns in sidecar. Covers pull strategy menu, direct merge workflow, squash merge, commit message templates, configurable defaults, and protected branches. Use when working on git merge features or making…

marcus/sidecar · 63 tokens

agenticx-query-data-source

Use when the user asks about verifiable quantitative facts (stock prices, financial indicators, macro data, company registry, academic metrics, legal statutes) that must come from a live data source rather than training memory.

DemonDamon/AgenticX · 49 tokens

openlore-brainstorm

Transform a feature idea into an annotated story using a Domain Sketch or Constrained Option Tree. Use when asked to brainstorm, explore, or shape a feature before implementation.

clay-good/OpenLore · 40 tokens

autoprompt

Run explicitly requested Autoprompt v2 work through the private controller. Ordinary coding and review requests do not activate this skill.

Spielewoy/autoprompt-skill · 29 tokens

autoprompt

Run explicitly requested Autoprompt v2 work through the private controller. Ordinary coding and review requests do not activate this skill.

Spielewoy/autoprompt-skill · 29 tokens