arch-review-loop

arch-review-loop is a skill for Claude Code, Codex from sjarmak/coding-agent-workflows. It costs 91 tokens per session (887 once invoked), scanned A, original, MIT.

A recurring review process for a repository’s architecture, meaning the way its main parts fit together. It compares new findings with earlier reports, tracks their status, and keeps a dated record of decisions and changes.

In plain words
What is it for?
Use it to review one repository on a regular schedule, record new architecture problems, close resolved ones, and connect findings to decisions and code changes.
Why use it?
Architecture reviews can repeat the same issues or lose the reasons behind past decisions. This process preserves evidence, avoids duplicate findings, and shows which problems were resolved or remain open.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review one repository on a regular schedule, record new architecture problems, close resolved ones, and connect findings to decisions and code changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sjarmak/coding-agent-workflows/arch-review-loop
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 sjarmak/coding-agent-workflows --skill arch-review-loop
Clone the repo
git clone --depth 1 https://github.com/sjarmak/coding-agent-workflows

Made for: Claude Code, Codex.

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 arch-review-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/sjarmak/coding-agent-workflows/arch-review-loop/github.svg)](https://agentmods.dev/skills/sjarmak/coding-agent-workflows/arch-review-loop)
Your own site
<a href="https://agentmods.dev/skills/sjarmak/coding-agent-workflows/arch-review-loop"><img src="https://agentmods.dev/badge/skills/sjarmak/coding-agent-workflows/arch-review-loop/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 arch-review-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/sjarmak/coding-agent-workflows/arch-review-loop"><img src="https://agentmods.dev/badge/skills/sjarmak/coding-agent-workflows/arch-review-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 887 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.00091 $0.00887
Opus 5.5 $0.00036 $0.00355
Sonnet 5.5 $0.00018 $0.00177
Haiku 4.5 $0.00009 $0.00089

Measured 1mo ago against content hash 17434a2c6e4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

arch-review-loop 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 1mo 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.

source/skills/arch-review-loop/SKILL.md · 83 lines

How it starts

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

Architecture Review Loop

Prior state → judgment → delta → ledger. Architecture review is judgment, so there is no mechanical scanner; prior state comes from the repository's authoritative tracker and the last report.

Provenance is the point. Every finding is traceable end to end: report line → bead ID → ADR (if a decision was made) → the commit/PR that resolved it. Every state change (new, resolved, dropped, superseded) carries a written reason. A future session must be able to reconstruct why the project evolved the way it did from the ledger alone.

Steps

1. Load prior state (mechanical)

Use the repository's authoritative task tracker to list open and closed architecture findings, then read the latest dated report from the repository's documented review ledger location. If the tracker or ledger location is not documented, inspect the repository instructions before choosing a location.

Also read docs/adr/README.md in the repo if present — settled decisions are not findings, and a finding that re-litigates an accepted ADR is noise unless new evidence is cited.

2. Run the review (judgment)

Invoke the repo-architecture-review skill on the repo. Pass the prior state into the review context so it labels findings NEW / UNCHANGED / RESOLVED rather than reporting from scratch.

3. Fingerprint & dedup (mechanical)

Fingerprint = <module-or-path>:<finding-type> (e.g. internal/dispatch:duplicated-concept). Store it in the bead as a label (fp:<fingerprint>). Then:

  • Finding fingerprint matches an open bead → UNCHANGED; append a bd note only if the evidence materially changed.
  • Matches a closed bead → it regressed or was mis-closed; reopen with a note citing the new evidence, don't file a duplicate.
  • No match → NEW; candidate for filing.
  • Open arch-review bead with no matching finding this run → candidate for RESOLVED; verify against the code (commit/PR) before proposing closure.

4. Write the dated report (ledger)

Read the full file on GitHub · 83 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. 1mo ago First seen · 83 lines · 91 tokens per session scan A 17434a2c6e4e

Subscribe to this mod's changes

arch-review-loop is a skill published in the GitHub repository sjarmak/coding-agent-workflows (7 stars, last pushed 2d ago), licensed MIT. It adds 91 tokens to every session and 887 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-10-02.

Related

arch-review-loop compared with skills from other repositories

arch-review-loop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
arch-review-loopsjarmak/coding-agent-workflowsSkill72d agoMITA91Claude Code, Codex
Agent Instruction Drift Checkniels-emmer/myaceSkill1yesterdayMITA38Claude Code, Codex
karpathy-guidelinesmxyhi/ok-skillsSkill5189d agoApache-2.0A46Claude Code, Codex
improve-codebase-architecturemxyhi/ok-skillsSkill5189d agoApache-2.0A32Claude Code, Codex
agent-watchdogBuilderIO/skillsSkill4.7k3d agoMITA115Claude Code, Codex
no-commentsbacknotprop/pstackSkill5.5ktodayMITA20Claude Code, Codex, Cursor
interrogatebacknotprop/pstackSkill5.5ktodayMITA61Claude Code, Codex, Cursor