harness-repo

harness-repo is a skill for Claude Code from svngoku/coding-agents-skills. It costs 107 tokens per session (2,842 once invoked), scanned A, original, MIT.

A repository setup tool for agent-first development. It creates project guidance, documentation, security checks, stack-specific checks, continuous integration, and an initial work plan in a new or existing code repository.

In plain words
What is it for?
Use it when starting a repository or preparing an existing one for coding agents, with documented conventions, security basics, automated checks, and a tracked plan.
Why use it?
It gives coding agents and people a shared map of the project and turns important rules into checks that can run repeatedly. Re-running the setup is designed not to overwrite existing work.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

Good fit Use it when starting a repository or preparing an existing one for coding agents, with documented conventions, security basics, automated checks, and a tracked plan.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/svngoku/coding-agents-skills/harness-repo"><img src="https://agentmods.dev/badge/skills/svngoku/coding-agents-skills/harness-repo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,842 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.00107 $0.02842
Opus 5.5 $0.00043 $0.01137
Sonnet 5.5 $0.00021 $0.00568
Haiku 4.5 $0.00011 $0.00284

Measured 23d ago against content hash c6058c9e4f32, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

harness-repo 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 23d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (assets/repo/.opencode/tools/golden_principles.js, assets/tools/golden_principles.py, graders/check.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/harness-repo/SKILL.md · 223 lines

How it starts

The opening of the file, as written. The whole thing — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Harness Repo: the right starter, every time

Humans steer. Agents execute. This skill builds the scaffolding that makes that true.

Goal: every new repo begins with the same legible, enforceable, secure foundation, so any agent session can be productive and safe from the first prompt.

The approach follows OpenAI's harness engineering write-up on building with Codex in an agent-first world: the repository is the system of record, AGENTS.md is a short map rather than a manual, architectural rules are enforced mechanically, and plans are versioned files. This skill is an independent, extended adaptation with a security baseline and an idempotent scaffold. It is not an OpenAI product.

Quick Reference

Need Read
Tailor the generated AGENTS.md references/agents-md.md
Security baseline and post-bootstrap checklist references/security.md
Language manifests and the one check command references/stack-tooling.md
Make the seven docs describe this project references/tailoring-docs.md
Re-running on a repo that already has files references/existing-repo-safety.md

Diagram policy (non-negotiable): every diagram, in this skill and in the generated repo, is Mermaid (a code fence labelled mermaid, or a .mmd file). Never ASCII art, PlantUML, or Graphviz. The generated linter (GP-3) enforces this.

SKILL_DIR = the directory containing this file. Paths below are relative to it.

How the skill is organised

flowchart TD
    SK["SKILL.md: the flow (this file)"] --> SC["scripts/scaffold.sh: deterministic file generation"]
    SK --> RF["references/: how to tailor and verify"]
    SC --> AS["assets/repo/: templates mirroring the generated tree"]
    SC --> CI["assets/ci/: per-stack CI workflows"]
    RF --> R1["agents-md.md"]
    RF --> R2["security.md"]
    RF --> R3["stack-tooling.md"]
    RF --> R4["tailoring-docs.md"]
    RF --> R5["existing-repo-safety.md"]

Read the full file on GitHub · 223 lines

Files

What ships with it

44 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. 23d ago First seen · 223 lines · 107 tokens per session scan A c6058c9e4f32

Subscribe to this mod's changes

harness-repo is a skill published in the GitHub repository svngoku/coding-agents-skills (12 stars, last pushed 23d ago), licensed MIT. It adds 107 tokens to every session and 2,842 once invoked, about $0.0004 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-11-10.

Related

harness-repo compared with skills from other repositories

harness-repo next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
harness-reposvngoku/coding-agents-skillsSkill1223d agoMITA107Claude Code
github-actionssiva01c/claude-pluginsSkill1627d agoMITA86Claude Code
gitlab-cisiva01c/claude-pluginsSkill1627d agoMITA88Claude Code
fix-ci-until-greenjim60105/copilot-promptSkill224d agoGFDL-1.3A134Claude Code, Codex
add-artifact-attestations-to-workflowjim60105/copilot-promptSkill224d agoGFDL-1.3A60Claude Code
update-github-actions-versionjim60105/copilot-promptSkill224d agoGFDL-1.3A49Claude Code
fitness-functionsfabiandistler/agentsSkill2todaynoneA45Claude Code, Codex