repo-harness-architecture

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

A skill for keeping a repository’s architecture documentation accurate as the code changes. Architecture documentation explains the system’s main parts and how they fit together.

In plain words
What is it for?
Use it to resolve architecture-change requests, update Markdown diagrams and architecture records, match documentation to repository code, and archive completed requests.
Why use it?
It handles focused documentation updates without running the repository harness’s full setup or migration process.

Skill for Claude Code

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

Good fit Use it to resolve architecture-change requests, update Markdown diagrams and architecture records, match documentation to repository code, and archive completed requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ancienttwo/repo-harness/repo-harness-architecture
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-architecture
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-architecture

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ancienttwo/repo-harness/repo-harness-architecture"><img src="https://agentmods.dev/badge/skills/ancienttwo/repo-harness/repo-harness-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 583 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.00030 $0.00583
Opus 5 $0.00015 $0.00292
Sonnet 5 $0.00006 $0.00117
Haiku 4.5 $0.00003 $0.00058

Measured 13d ago against content hash 88060e064730, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

repo-harness-architecture 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 13d 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/skill-commands/repo-harness-architecture/SKILL.md · 45 lines

How it starts

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

repo-harness-architecture

Use this command when the harness already exists and the user wants a focused architecture documentation, drift-request, or diagram pass.

Protocol

  1. Confirm the target repo path and architecture scope.
  2. Inspect docs/architecture/index.md and pending files under docs/architecture/requests/.
  3. When the scope maps to repo code or config, resolve the capability with:
    • repo-harness run capability-resolver match --repo <repo> --path <path> --format json
  4. Update the smallest relevant architecture artifact:
    • umbrella status in docs/architecture/index.md
    • module or snapshot docs under docs/architecture/
    • Mermaid fenced block in the relevant module or snapshot Markdown when a visual flow materially helps
  5. Use Markdown Mermaid as the only architecture diagram artifact. Do not generate standalone HTML; use the external mermaid skill only to review layout and renderability before shipping the Markdown source.
  6. Archive handled requests with:
    • repo-harness run archive-architecture-request --request <request> --status <resolved|superseded|rejected|no-change> --artifact <path> --note <text>
    • For resolved, the live Pending request must declare > **Architecture Module**: and that exact existing module path must be supplied as an --artifact.
  7. Verify with:
    • repo-harness run check-architecture-sync
    • repo-harness run capability-resolver validate --repo <repo> --format text
    • repo-harness run check-task-workflow --strict when repo workflow surfaces changed

Failure Modes

  • If no pending architecture request exists, report no-change and do not invent one.
  • If capability resolution is ambiguous, stop at the matching paths and ask for a narrower scope.
  • If check-architecture-sync.sh blocks in strict mode, resolve or archive the pending request card for the touched capability before finishing the worktree.
  • If diagram validation fails, fix the Mermaid Markdown source or report the validation failure; do not substitute HTML.

Read the full file on GitHub · 45 lines

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. 13d ago First seen · 45 lines · 30 tokens per session scan A 88060e064730

Subscribe to this mod's changes

repo-harness-architecture is a skill published in the GitHub repository Ancienttwo/repo-harness (431 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 583 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories