repo-harness-setup

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

A skill for installing, updating, repairing, or configuring a repository workflow called repo-harness. A repository is the project folder containing its code and related files.

In plain words
What is it for?
Use it to initialize or migrate the harness, upgrade or repair it, create project scaffolding, or configure one workflow capability.
Why use it?
It chooses the appropriate setup process based on the repository’s current state and protects files written by the project’s developers.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Use it to initialize or migrate the harness, upgrade or repair it, create project scaffolding, or configure one workflow capability.

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

Made for: Claude Code.

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-setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ancienttwo/repo-harness/repo-harness-setup"><img src="https://agentmods.dev/badge/skills/ancienttwo/repo-harness/repo-harness-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 432 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 pass 7 Sept 2026
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.00034 $0.00432
Opus 5.5 $0.00014 $0.00173
Sonnet 5.5 $0.00007 $0.00086
Haiku 4.5 $0.00003 $0.00043

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

assets/skills/repo-harness-setup/SKILL.md · 37 lines

What it actually says

repo-harness-setup

Worker entrypoint. Use the Bot-assigned mode and target repo. If either is missing, return the decision to the Bot.

Load only the reference for the assigned mode.

Shared Preflight

  1. Confirm the target repo path (pwd, or an explicit --repo argument).
  2. Inspect the proposed changes with repo-harness init --repo <repo> --dry-run (not ci-scope).

Mode Selection

  • No harness yet, or refreshing an existing install -> references/init.md.
  • Inspector reports legacy docs or stale harness artifacts -> references/migrate.md.
  • Harness present, needs latest contract/helpers/templates -> references/upgrade.md.
  • A specific workflow surface is broken -> references/repair.md.
  • New project/app/module skeleton, no existing repo workflow -> references/scaffold.md.
  • Add or sync one capability boundary only -> references/capability.md.
  • Impact-scoped PR CI with a release-only full matrix -> references/ci-scope.md.

Boundaries

  • Never write user-level (HOME) state from a repo-scoped mode; user-level setup is the separate repo-harness update command.
  • Preserve user-authored repo files unless the workflow contract owns the generated surface; remove only ownership=known_generated files.
  • Does not create an application stack from any mode except scaffold.
  • Does not expose internal helper scripts (create-project-dirs, direct shell init adapters, hooks-init, docs-init) as public commands.
  • Does not infer capability prefixes from broad directory globs; always use explicit prefixes.
  • Return a request spanning multiple modes to the Bot for scope and order.
Files

What ships with it

7 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 Changed · +1 lines 9b196cf9c1e6
  2. 1mo ago Changed · +1 lines 74c873c6ec1b
  3. 3mo ago First seen · 35 lines · 34 tokens per session scan A ae1f444cdf4a

Subscribe to this mod's changes

repo-harness-setup is a skill published in the GitHub repository Ancienttwo/repo-harness (436 stars, last pushed 8d ago), licensed MIT. It adds 34 tokens to every session and 432 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-08-30.

Related

repo-harness-setup compared with skills from other repositories

repo-harness-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
repo-harness-setupAncienttwo/repo-harnessSkill4368d agoMITA34Claude Code
agenticx-query-data-sourceDemonDamon/AgenticXSkill1.3kyesterdayApache-2.0A49Claude Code, Codex
gemigo-cliPeiiii/nextclawSkill266yesterdayMITA65Claude Code, Codex
subagent-driven-developmentitmisx/deepx-codeSkill39413d agoMITA37Claude Code, Codex
clawhub-nextclawPeiiii/nextclawSkill266yesterdayMITA47Claude Code, Codex
readme-generatorserejaris/personal-corp-osSkill2517d agoMITA37Claude Code
create-modalmarcus/sidecarSkill1.1k1mo agoMITA71Claude Code