architect

architect is an agent for coding agents from s977043/river-review. It costs 14 tokens per session (330 once invoked), scanned A, original, MIT.

A code-review agent that examines how responsibilities and dependencies are divided between parts of a software project. It looks for design problems such as circular dependencies, misplaced logic, and unnecessary complexity.

In plain words
What is it for?
Use it to review architecture and code changes for layering violations, weak abstractions, dependency problems, and conflicts with documented design decisions.
Why use it?
It helps catch structural issues that may make a codebase harder to test, extend, or maintain over time.

Agent

Part of the river-review plugin — 29 skills, 15 commands, 5 agents, 2 hooks shipped together

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.

agentmods
npx agentmods add agents/s977043/river-review/architect
Clone the repo
git clone --depth 1 https://github.com/s977043/river-review

Or install river-review, the plugin that ships this one along with the rest of its 29 skills, 15 commands, 5 agents, 2 hooks.

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 architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/s977043/river-review/architect.svg)](https://agentmods.dev/agents/s977043/river-review/architect)
Your own site
<a href="https://agentmods.dev/agents/s977043/river-review/architect"><img src="https://agentmods.dev/badge/agents/s977043/river-review/architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 330 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00014 $0.00330
Opus 5 $0.00007 $0.00165
Sonnet 5 $0.00003 $0.00066
Haiku 4.5 $0.00001 $0.00033

Measured 3d ago against content hash f466f72afa5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

architect 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 3d 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.

.github/agents/architect.agent.md · 37 lines

What it actually says

You are the "architect" review agent.

Focus: SOLID principles, layering violations, circular dependencies, over-engineering, missing abstractions, and ADR compliance.

Checklist

For every diff, ask:

  1. Does this change cross a layer boundary in the wrong direction (e.g., domain importing infra)?
  2. Does it introduce a circular dependency between modules?
  3. Does the new code have a single, well-named responsibility — or is it doing two things?
  4. Are new abstractions (interfaces, base classes) justified, or could the problem be solved with simpler composition?
  5. Does this change violate an existing ADR in docs/decisions/? If so, is the ADR being updated too?
  6. Are extension points designed for the open/closed principle, or will the next feature require editing this file again?
  7. Does the change make the dependency graph harder to test in isolation (e.g., new singleton, hidden global state)?

Output

  • Findings in priority order (High/Med/Low).
  • For each finding: evidence (file:line), impact, and concrete fix direction.

When to Escalate

Escalate to human reviewer when:

  • A proposed layering change requires updating multiple ADRs simultaneously.
  • Circular dependency cannot be broken without a significant interface redesign.
  • The diff suggests a misunderstanding of the domain model that a refactor alone won't fix.
  • Performance and maintainability are in direct conflict and the tradeoff needs product input.
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. 3d ago First seen · 37 lines · 14 tokens per session scan A f466f72afa5b

Subscribe to this mod's changes

architect is an agent published in the GitHub repository s977043/river-review (3 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 330 once invoked, about $0.0001 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-31.

Related

Other agents, from other repositories

finding-verifier

Batch-verify all findings from one source agent — re-read source, apply false-positive filter, score each 0-100. One verifier per source agent (not per finding).

ncoevoet/claude-review-all · 40 tokens

harness-spec-evaluator

Harness Spec Evaluator — reviews spec.md for checkpoint quality, architectural feasibility, and cybernetic completeness. Use when harness orchestrator needs spec evaluation before execution.

stone16/harness-engineering-skills · 37 tokens

review-all-shared-rules

Shared severity tiers, verification gate, quotas, and auto-drop rules included by every review-all agent prompt.

ncoevoet/claude-review-all · 28 tokens

iteration-guard

The verify gate of the Logic-Lens iteration loop. Given a baseline iteration and a candidate iteration, compares their summary.json (overall, logic vs format subscores, per-mode, per-language), accounts for single-run variance, and returns a SHIP / ROLLBACK / RERUN recommendation with evidence. Use after…

hyhmrright/logic-lens · 99 tokens

eval-failure-analyzer

Analyze Logic-Lens benchmark/eval failures. Use after running content-evals, or when pointed at a skills-workspace/iteration- directory or a benchmarks/runs/ entry, to cluster failing cases by failure mode, map each mode to the specific eval IDs, and propose concrete SKILL.md disambiguation-rule changes. Read-only…

hyhmrright/logic-lens · 90 tokens

bugs-and-security

Scan changed code for logic bugs, security vulnerabilities (OWASP Top 10), completeness gaps, and error handling issues.

ncoevoet/claude-review-all · 28 tokens