architecture-reviewer Claude Code subagentA

architecture-reviewer from emeraldleaf/okl is a Claude Code subagent: a helper Claude Code hands a task to, with its own instructions.

Install it, pinned
mdr add emeraldleaf/okl/.claude/agents/architecture-reviewer.md@git:20261029.e1cd24f

Pins git:20261029.e1cd24f in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 16 of 16 checks passed
Kind
Claude Code subagent
Repository
emeraldleaf/okl
Path
.claude/agents/architecture-reviewer.md
Versions recorded
3
Latest version
git:20261029.e1cd24f, committed Oct 29, 2026
First version recorded
Sep 2, 2026
Size
5,463 bytes
Repository stars
4
License
MIT

Reviews a diff or a proposed change against this repo's encoded rules and the org knowledge layer. Invoke on non-pattern-conforming changes (new bounded context, novel dependency, security-model change, multi-step refactor) and before merging anything touching published results. Returns a pattern-checklist verdict, not a rewrite.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Architecture reviewer

You are a reviewer, not an implementer. You read the change and judge it against the encoded body —
you do not rewrite it. Your output is a checklist verdict with specific file:line findings.
Needs the method kit that `okl scaffold .` installs (`registries/`, `.claude/rules/`, the
`encoding-loop` skill); where it is missing, say which checks you could not run.

## Before you start
1. Run `okl check --task "<one-line summary of the change under review>"` and treat the returned
   armed gates, retractions, tombstones, and THREAT prior-art as binding review criteria.
2. Read `.claude/rules/` entries whose `paths:` match the changed files.

## Pattern checklist (extend as the repo encodes new rules)
- **Smallest-surface / speculative coupling** — is there an abstraction (interface, factory, layer)
  with exactly one implementation and no test substitution and no concrete second impl on the
  roadmap? If so, flag it as speculative — the concrete class should be used directly.
- **Assert-from-memory** — does any spec/config/scaffold claim something is "correct"/"valid"
  without a mechanical `validate` step? Flag it; this is the assert-from-memory defect class.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add emeraldleaf/okl/.claude/agents/architecture-reviewer.md@sha256:62bc4edcf7a9d6d4

The line at the top of this page pins the label git:20261029.e1cd24f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_my6pz2khpdsdfrf5.svg)](https://markdownregistry.com/a/art_my6pz2khpdsdfrf5)

3 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in emeraldleaf/okl/.claude/agents/architecture-reviewer.md since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of architecture-reviewer.md from somewhere else? Ask it: where did my architecture-reviewer.md come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 3 versions of this file, between Sep 2, 2026 and Oct 29, 2026, about one every 29 days.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261029.e1cd24f latest2026-10-29 e1cd24f 5,463 BA view · diff
git:20260930.f1f54de2026-09-30 f1f54de 2,743 BA view · diff
git:20260902.a130d932026-09-02 a130d93 2,557 BA view
Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  16 of 16 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (5463 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No encoded command decoded and run in a shell
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No decoded text run in a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

emeraldleaf/okl · 4 stars · license MIT · pushed 2026-11-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_my6pz2khpdsdfrf5
GET https://markdownregistry.com/api/v1/resolve?ref=emeraldleaf/okl/.claude/agents/architecture-reviewer.md
GET https://markdownregistry.com/api/v1/blob/62bc4edcf7a9d6d460e0b4f5b487139ee82296483dce143939726560f9e9811e
GET https://markdownregistry.com/api/v1/list?kind=subagent

Every file of this kind listed here, most starred first, in pages: send each page's next back as cursor. JSON, no key.

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: which agent file does what.

More from emeraldleaf/okl

okl Plugin marketplace
emeraldleaf/okl · .claude-plugin/marketplace.json · okl — Observed Knowledge Ledger. One plugin: the pre-task briefing hook, the end-of-session question, MCP tools and…
git:20260930.f1f54de · audit A · 4 stars
encoding-loop SKILL.md skill
emeraldleaf/okl · .claude/skills/encoding-loop/SKILL.md · Use when you discover a rule, antipattern, or lesson worth keeping ("we should never write this again" / "we should…
git:20261026.04d23e4 · audit A · 4 stars
okl-review SKILL.md skill
emeraldleaf/okl · .claude/skills/okl-review/SKILL.md · Check the code you just wrote against this repo's okl lessons, each lesson on its own in a fresh context, and fix what…
git:20261120.b93cd4f · audit A · 4 stars
AGENTS.md AGENTS.md file
emeraldleaf/okl · AGENTS.md
git:20261120.71ef5c3 · audit A · 4 stars
CLAUDE.md CLAUDE.md file
emeraldleaf/okl · CLAUDE.md
git:20261120.71ef5c3 · audit A · 4 stars
encoding-loop SKILL.md skill
emeraldleaf/okl · src/okl/scaffold/claude/skills/encoding-loop/SKILL.md · Use when you discover a rule, antipattern, or lesson worth keeping ("we should never write this again" / "we should…
git:20261026.04d23e4 · audit A · 4 stars
okl-review SKILL.md skill
emeraldleaf/okl · src/okl/scaffold/claude/skills/okl-review/SKILL.md · Check the code you just wrote against this repo's okl lessons, each lesson on its own in a fresh context, and fix what…
git:20261120.b93cd4f · audit A · 4 stars
verify-before-claiming SKILL.md skill
emeraldleaf/okl · src/okl/scaffold/claude/skills/verify-before-claiming/SKILL.md · Use before stating that work is done, a test passes, a build is green, a bug is fixed, a file exists, or any factual…
git:20260831.7854149 · audit A · 4 stars
CLAUDE.md@src/okl/scaffold/root CLAUDE.md file
emeraldleaf/okl · src/okl/scaffold/root/CLAUDE.md
git:20260930.f1f54de · audit A · 4 stars

Every file in emeraldleaf/okl

Other files named architecture-reviewer

architecture-reviewer SKILL.md skill
mathews-tom/armory · skills/architecture-reviewer/SKILL.md · Architecture reviews across 7 dimensions (structural, scalability, enterprise readiness, performance, security, ops…
v1.1.2 · audit A · 344 stars
architecture-reviewer Claude Code subagent
cogvera-labs/next-expo-supabase-agent-harness · template/base/.claude/agents/architecture-reviewer.md · Read-only architecture and maintainability reviewer. MUST BE USED after any structural change under packages/** — a new…
git:20260930.96ec387 · audit A · 8 stars
architecture-reviewer Claude Code subagent
mickeyyaya/evolve-loop · .claude/agents/architecture-reviewer.md · Structural/architectural review of code changes — SOLID, dependency direction, design-pattern fit, SSOT/duplication…
git:20261106.bc711a9 · audit A · 7 stars

Browse by kind, by grade A, or by owner.