Agent skill

Repo Harness Setup

by Ancienttwo in Ancienttwo/repo-harness

Canonical rule owner for installing, migrating, upgrading, repairing, scaffolding, and capability-configuring the repo-harness workflow in a repository.

MITAuto-check passedDevelopment

Install Repo Harness Setup

skills CLI
$ npx skills add Ancienttwo/repo-harness --skill repo-harness-setup -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Ancienttwo/repo-harness repo-harness-setup --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Ancienttwo/repo-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/assets/skills/repo-harness-setup .claude/skills/repo-harness-setup && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
repo-harness-setup
GitHub stars
434
Token cost
~474 tokens
SKILL.md length
189 words
Files
7 (incl. references)
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

Canonical rule owner for installing, migrating, upgrading, repairing, scaffolding, and capability-configuring the repo-harness workflow in a repository.

  • Works in 2 steps: Confirm the target repo path (pwd, or an… → Inspect the proposed changes with…
  • Tasks that involve Project scaffolding
  • SKILL.md covers Shared Preflight, Mode Selection and Boundaries
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Repo Harness Setup is an agent skill from Ancienttwo/repo-harness. Canonical rule owner for installing, migrating, upgrading, repairing, scaffolding, and capability-configuring the repo-harness workflow in a repository.

Its SKILL.md is about 470 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/capability.md`, `references/init.md` and `references/migrate.md`).

It sits in Development, covering Project scaffolding. The repository describes itself as: File-backed workflow harness for reliable Claude Code and Codex sessions. The licence is MIT.

When your agent uses it

  • Tasks that involve Project scaffolding

Example prompts

  • “/repo-harness-setup”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

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

What it can do on your machine

Read from SKILL.md and the folder at commit 98c30ab. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Repo Harness Setup loads about 474 tokens when it runs, and up to ~2.2k if it reads all its reference files. Until then it costs about 43 tokens; SKILL.md has 189 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~474
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Ancienttwo/repo-harness at commit 98c30ab, republished under its MIT licence (© Ancienttwo). 189 words, ~474 tokens.

Download SKILL.mdSave it as .claude/skills/repo-harness-setup/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
repo-harness-setup
description
Canonical rule owner for installing, migrating, upgrading, repairing, scaffolding, and capability-configuring the repo-harness workflow in a repository.
when_to_use
repo-harness-setup, initialize existing repo, migrate legacy repo, upgrade harness, repair harness, scaffold new project, add capability boundary

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.

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.

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.

© Ancienttwo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (references) in assets/skills/repo-harness-setup of Ancienttwo/repo-harness.

  • SKILL.md
  • references/capability.md
  • references/init.md
  • references/migrate.md
  • references/repair.md
  • references/scaffold.md
  • references/upgrade.md

Open the folder on GitHubat commit 98c30ab

Compare with similar skills

Repo Harness Setup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Repo Harness Setup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Repo Harness Setup this skillAncienttwo/repo-harness434—~474Automated safety check: PassMIT
Nx Generatenomcopter/react-mosaic4.8k7 repos~1.9kAutomated safety check: PassCustom licence
PonytailDavidObando/gsharp5648 repos~1.7kAutomated safety check: PassMIT
Run Nx Generatornrwl/nx29k2 repos~592Automated safety check: NotesMIT
Conductor Setupgemini-cli-extensions/conductor3.8k—~4.2kAutomated safety check: PassApache-2.0
Mirage VFS Adapter Authoringstrukto-ai/mirage3.7k—~2.5kAutomated safety check: PassApache-2.0

Similar skills

  • Nx Generate

    nomcopter/react-mosaic

    Generate code using nx generators. An agent skill from nomcopter/react-mosaic.

    4.8k GitHub starsUsed in 7 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Ponytail

    DavidObando/gsharp

    Forces the laziest solution that actually works, simplest, shortest, most minimal.

    564 GitHub starsUsed in 8 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Run Nx generators with prioritization for workspace-plugin generators.

    29k GitHub starsUsed in 2 repos~592 tokens
    DevelopmentAuto-check: notes
  • Conductor Setup

    gemini-cli-extensions/conductor

    Scaffolds the project and sets up the Conductor environment.

    3.8k GitHub stars~4.2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Builds or extends a custom Mirage virtual filesystem adapter for an API, database, object store or app data, with a working mount configuration and filesystem tests.

    3.7k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Enforces this repository's TypeScript backend module architecture under server/: feature folders, barrel exports, and where shared types and utilities belong.

    14k GitHub stars~1.2k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from Ancienttwo/repo-harness

All 12 skills in this repo
  • Development Scheduler

    Ancienttwo/repo-harness

    在 repo-harness session 或 Bot 中通过 Herdr 调度开发任务、跟进阻碍、组织独立审查和安全交接;用于多角色开发协调,不用于单次代码修改或只读状态查询。

    434 GitHub stars~703 tokensUpdated today
    Auto-check passed
  • Repo Harness

    Ancienttwo/repo-harness

    Route explicit repo-harness commands and active harness work.

    434 GitHub stars~365 tokensUpdated today
    Auto-check passed
  • Repo Harness Chatgpt

    Ancienttwo/repo-harness

    Canonical rule owner for repo-harness ChatGPT integration -- Oracle-first browser/GPT Pro consult and continuation, advisory orchestration, MCP Connector setup, MCP bridge planning handoff, and…

    434 GitHub stars~587 tokensUpdated today
    Auto-check passed
  • Repo Harness Ship

    Ancienttwo/repo-harness

    Close out verified harness work only when the user explicitly asks to commit, push, open a PR, merge, or clean merged worktrees.

    434 GitHub stars~251 tokensUpdated today
    Auto-check passed
  • Repo Harness

    Ancienttwo/repo-harness

    Eval-only bounded frontier stress test for complex repo-harness planning; never installed as a managed Skill.

    434 GitHub stars~533 tokensUpdated today
    Auto-check passed
  • Repo Harness Check

    Ancienttwo/repo-harness

    Plan scoped harness work, review a plan, or assess recorded checks and risk.

    434 GitHub stars~354 tokensUpdated today
    Auto-check passed

Categories

Questions about Repo Harness Setup

What does Repo Harness Setup do?

Canonical rule owner for installing, migrating, upgrading, repairing, scaffolding, and capability-configuring the repo-harness workflow in a repository. Repo Harness Setup is an agent skill from Ancienttwo/repo-harness. Canonical rule owner for installing, migrating, upgrading, repairing, scaffolding, and capability-configuring the repo-harness workflow in a repository.

When should I use Repo Harness Setup?

Repo Harness Setup fits situations like: tasks that involve Project scaffolding.

How do I install Repo Harness Setup in Claude Code?

Run `npx skills add Ancienttwo/repo-harness --skill repo-harness-setup -a claude-code`. Or copy the skill folder (assets/skills/repo-harness-setup in Ancienttwo/repo-harness) into .claude/skills/repo-harness-setup in your project. Claude Code loads it when a task matches its description.

How do I install Repo Harness Setup in Codex?

Run `npx skills add Ancienttwo/repo-harness --skill repo-harness-setup -a codex`. Or copy the skill folder (assets/skills/repo-harness-setup in Ancienttwo/repo-harness) into .agents/skills/repo-harness-setup in your project. Codex loads it when a task matches its description.

Can I use Repo Harness Setup in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Ancienttwo/repo-harness --skill repo-harness-setup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/repo-harness-setup, .gemini/skills/repo-harness-setup, .github/skills/repo-harness-setup and .opencode/skills/repo-harness-setup in your project.

What does Repo Harness Setup need to run?

SKILL.md names no scripts, command-line tools or credentials: Repo Harness Setup is instructions for the agent only.

Does Repo Harness Setup access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Repo Harness Setup safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Repo Harness Setup use?

Repo Harness Setup is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Repo Harness Setup use?

About 474 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.

What are the alternatives to Repo Harness Setup?

Skills that share tags, products or a category with Repo Harness Setup: Nx Generate (nomcopter/react-mosaic, 4.8k stars), Ponytail (DavidObando/gsharp, 564 stars), Run Nx Generator (nrwl/nx, 29k stars) and Conductor Setup (gemini-cli-extensions/conductor, 3.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Repo Harness Setup?

Ancienttwo (a GitHub user) maintains it in Ancienttwo/repo-harness, which has 434 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 9, 2026.

Source: Ancienttwo/repo-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.