Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Resolves repo-harness architecture drift requests and updates architecture docs or diagrams without running full init, migrate, or upgrade.
.claude/skills/ancienttwo-repo-harness-architecture/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -9% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -21% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -49% | 0% |
Use this command when the harness already exists and the user wants a focused architecture documentation, drift-request, or diagram pass.
docs/architecture/index.md, .archcontext/model/nodes/, and pending files under docs/architecture/requests/. For architecture model guidance or a registration scope, follow the coverage procedure below even when no drift request exists.repo-harness run capability-resolver match --repo <repo> --path <path> --format jsondocs/architecture/index.mddocs/architecture/mermaid skill only to review layout and renderability before shipping the Markdown source.repo-harness run archive-architecture-request --request <request> --status <resolved|superseded|rejected|no-change> --artifact <path> --note <text>resolved, the live Pending request must declare > **Architecture Module**: and that exact existing module path must be supplied as an --artifact.repo-harness run check-architecture-syncrepo-harness run capability-resolver validate --repo <repo> --format textrepo-harness run check-task-workflow --strict when repo workflow surfaces changedSessionStart automatically supplies read-only coverage observations when the global architecture provider is enabled and the repo selects capability_source: archcontext. An empty model, missing module docs, unmatched tracked package roots, or multiple packages sharing an ancestor capability are reasons to inspect, not proof that a new capability is required. Hooks do not decide responsibilities or write nodes.
dependencies, ownership and verification in source. Use CodeGraph when indexed. Compare repo-harness run capability-resolver list --format json and repo-harness run capability-resolver match --path <source-path> --format json. Package layout is inventory evidence; it does not establish semantic boundaries.
capability, or restore a missing projection. Include source evidence, responsibility, proposed prefixes, overlap with existing nodes, contract paths and verification. Within already authorized architecture work, the Agent may decide and execute; do not ask for the same approval again. During unrelated work, keep this as advice.
archcontext.node/v2 body with anid of capability.<domain>.<name>, kind: capability, status: active, name, summary, responsibilities, source.include, and extensions containing contractFiles.agents, contractFiles.claude, lspProfile, and verification. Use the current model schema and source evidence; do not copy an example's semantics.
repo-harness architecture-projection status --json (projectionProvider.binaryPath). Require ready status and use that binary with its supported Node runtime in the target repo. Do not install a repo-local archctx or select an unrelated PATH copy. The following archctx notation means that resolved executable:
text archctx plan --id <unique-changeset-id> --path .archcontext/model/nodes/capability.<domain>.<name>.yaml --expected-hash missing --body <complete-YAML-as-one-argument> --format json archctx apply --id <same-changeset-id> --approved --expected-worktree-digest <data.draft.base.worktreeDigest-from-plan> --format json
Inspect the plan's full draft and preview before applying. Keep the same daemon and ChangeSet ID; pass body via a structured process argument, not shell interpolation. --approved records the authorized Agent decision; it does not grant extra scope. If the worktree changed, re-plan and re-inspect. In archctx 0.5.10 this public plan route creates one entity only. It is not an update route: when an existing node must change, report the required update and use a supported typed ChangeSet authoring surface if available; do not overwrite YAML or disguise an update as creation.
archctx validate --format json, verify source matching with capability-resolver,then repo-harness architecture-projection plan --json --changed-path <node-path> and repo-harness architecture-projection apply --json --changed-path <node-path>. Verify the expected module document exists and run the protocol's architecture checks. Missing docs for an unchanged node need projection, not a duplicate node. Generated module regions belong to archctx; preserve human-owned prose. Resolve any resulting drift request through the normal request protocol.
no-change only after inspecting the requested coverage scope.check-architecture-sync.sh blocks in strict mode, resolve or archive the pending request card for the touched capability before finishing the worktree.repo-harness init.mermaid; it remains an external authoring/review skill and never owns a product artifact.docs/architecture/requests/ pending-only by archiving handled requests.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 5,147 | 6,157 | +20% | 1 | 1 | 0% | 207 | 797 | +285% | 0 | 0 | — |
case-02 | fail→fail | 5,130 | 5,273 | +3% | 1 | 1 | 0% | 191 | 801 | +319% | 0 | 0 | — |
case-03 | fail→fail | 6,179 | 7,639 | +24% | 1 | 1 | 0% | 220 | 935 | +325% | 0 | 0 | — |
case-04 | pass→pass | 9,923 | 3,992 | -60% | 1 | 1 | 0% | 1,423 | 1,106 | -22% | 0 | 0 | — |
case-05 | fail→pass | 9,555 | 5,026 | -47% | 1 | 1 | 0% | 1,362 | 1,323 | -3% | 0 | 0 | — |
case-06 | fail→pass | 12,461 | 6,713 | -46% | 1 | 1 | 0% | 1,926 | 1,750 | -9% | 0 | 0 | — |
case-07 | pass→pass | 11,447 | 3,385 | -70% | 1 | 1 | 0% | 1,425 | 1,066 | -25% | 0 | 0 | — |
case-08 | fail→pass | 8,698 | 3,087 | -65% | 1 | 1 | 0% | 1,356 | 1,039 | -23% | 0 | 0 | — |
case-09 | fail→pass | 7,784 | 2,811 | -64% | 1 | 1 | 0% | 1,234 | 969 | -21% | 0 | 0 | — |
case-10 | pass→pass | 14,596 | 4,914 | -66% | 1 | 1 | 0% | 2,325 | 1,237 | -47% | 0 | 0 | — |
case-11 | fail→pass | 14,223 | 7,868 | -45% | 1 | 1 | 0% | 2,337 | 1,198 | -49% | 0 | 0 | — |
case-12 | pass→pass | 10,010 | 4,782 | -52% | 1 | 1 | 0% | 1,481 | 1,252 | -15% | 0 | 0 | — |
case-13 | fail→pass | 8,161 | 3,852 | -53% | 1 | 1 | 0% | 1,243 | 1,162 | -7% | 0 | 0 | — |
case-14 | fail→fail | 14,640 | 2,504 | -83% | 1 | 1 | 0% | 2,147 | 916 | -57% | 0 | 0 | — |
case-15 | pass→pass | 6,825 | 3,944 | -42% | 1 | 1 | 0% | 1,129 | 1,183 | +5% | 0 | 0 | — |
case-16 | fail→pass | 8,773 | 2,931 | -67% | 1 | 1 | 0% | 1,488 | 943 | -37% | 0 | 0 | — |
case-17 | fail→pass | 7,685 | 2,135 | -72% | 1 | 1 | 0% | 1,330 | 876 | -34% | 0 | 0 | — |
case-18 | fail→pass | 13,638 | 2,989 | -78% | 1 | 1 | 0% | 2,107 | 921 | -56% | 0 | 0 | — |
case-19 | fail→pass | 8,721 | 3,629 | -58% | 1 | 1 | 0% | 1,329 | 1,216 | -9% | 0 | 0 | — |
case-20 | pass→pass | 15,769 | 7,197 | -54% | 1 | 1 | 0% | 2,824 | 1,690 | -40% | 0 | 0 | — |
case-21 | pass→pass | 12,445 | 8,339 | -33% | 1 | 1 | 0% | 2,135 | 1,866 | -13% | 0 | 0 | — |
case-22 | pass→pass | 11,287 | 9,333 | -17% | 1 | 1 | 0% | 2,091 | 2,202 | +5% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 19 counted toward the lift figure. The other 3 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +45 percentage points is the difference between those two pass rates over the 19 comparable cases.
The publisher has shipped newer versions since this run, so these numbers describe v2, not the version currently listed.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.