repo-harness-archimap

repo-harness-archimap is a skill for Claude Code from Ancienttwo/repo-harness. It costs 80 tokens per session (1,683 once invoked), scanned A, original, MIT.

A static HTML architecture map that explains a software project's modules, layers, dependencies, runtime paths, key sequences, and noted risks. It is drawn from the project's architecture model and measured code facts.

In plain words
What is it for?
Use it to create or refresh an architecture overview page, dependency map, runtime topology, or diagram of a codebase.
Why use it?
It gives people and coding agents a shared view of how the code is organised. Refreshing it helps prevent work being directed to outdated or incorrect module boundaries.

Skill for Claude Code

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

Good fit Use it to create or refresh an architecture overview page, dependency map, runtime topology, or diagram of a codebase.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ancienttwo/repo-harness/repo-harness-archimap"><img src="https://agentmods.dev/badge/skills/ancienttwo/repo-harness/repo-harness-archimap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,683 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.00080 $0.01683
Opus 5.5 $0.00032 $0.00673
Sonnet 5.5 $0.00016 $0.00337
Haiku 4.5 $0.00008 $0.00168

Measured 2d ago against content hash 954fb48c7c7c, 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-archimap 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/measure.ts), 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.

assets/skills/repo-harness-archimap/SKILL.md · 122 lines

How it starts

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

repo-harness-archimap

Worker entrypoint. The archimap is the project's architecture map for people and for the orchestrator agent. It is one static HTML file, docs/architecture/archimap.html, made of fixed-size boards: the layered overview, the measured dependency directions, the runtime topology, the key sequences and the remarks. The orchestrator of repo-harness-issue-flow splits work by its modules. Workers cite its module IDs. A stale map therefore sends issues to the wrong boundaries.

What the map is a projection of

Content Authority The map does
Modules, layers, responsibilities, relations, flows Architecture model: .archcontext/model/ (nodes, relations, flows). A repository without an adopted model is adopted first (repo-harness-architecture, "Adopt ArchContext in a repository") Groups model nodes into map modules and draws them
Size and import direction Code, measured by scripts/measure.ts Shows LOC and value-import counts
Observations and risks The author's review, with file:line evidence Lists them on the Remarks board

The map never adds a module, relation or flow that the model does not have. It does not group by package or directory layout: that layout is not a model. If the model is wrong, fix the model first: use repo-harness-architecture for an archctx model. Then refresh the map. Mermaid diagrams that archctx generates stay as they are. They serve the model's own docs. The archimap is the one hand-composed HTML view.

Modes

  • Draw. No map exists, or the user asks for a redraw. Do every step.
  • Refresh. A map exists. An [Archimap] notice fired, or the model, the module layout or a public API changed. Change only the affected boards. Keep unchanged nodes at the same coordinates, so that a reviewer can compare the two versions by eye. When a new node needs room, move the fewest nodes, and name each moved node in the report.

Steps

  1. Read the model. List the model's nodes (id, kind, layer, summary, source.include, entrypoints), its relations and its flows. For archctx, read the YAML under .archcontext/model/ directly. In a refresh, read the meta block of the current map and run git diff <meta.base>..HEAD --stat -- .archcontext/model to find what moved.
  2. Group into map modules. The overview holds at most 20 modules. A small model gets one module per node. A larger model is grouped by domain or layer. Each map module lists the model node IDs it covers (nodes) and the path globs it owns (include, exclude). The grouping is part of the map. It is stored in the meta block, so that a refresh reuses it. Change it only on purpose.
  3. Measure. From the repository root, run:

Read the full file on GitHub · 122 lines

Files

What ships with it

4 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. 2d ago Changed · +13 lines 954fb48c7c7c
  2. 3d ago First seen · 109 lines · 80 tokens per session scan A 6b347110048f

Subscribe to this mod's changes

repo-harness-archimap is a skill published in the GitHub repository Ancienttwo/repo-harness (435 stars, last pushed today), licensed MIT. It adds 80 tokens to every session and 1,683 once invoked, about $0.0003 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-10-31.

Related

Other skills, from other repositories

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

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

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

gemigo-cli

Use when the user wants to publish an already-built static website or front-end app through GemiGo, such as a Vite/React/Vue static build, plain HTML/CSS/JS page, landing page, demo, docs site, or small browser app, and get a hosted public URL.

Peiiii/nextclaw · 65 tokens

clawhub-nextclaw

Use when the user wants to search external ClawHub skills or install a ClawHub skill into a NextClaw workspace's skills directory without treating ClawHub as the NextClaw marketplace.

Peiiii/nextclaw · 47 tokens