system-architect

system-architect is an agent for Claude Code from aaronsb/claude-code-config. It costs 42 tokens per session (1,087 once invoked), scanned A, original, MIT.

An architecture documentation agent that records important software design decisions as Architecture Decision Records, or ADRs. An ADR explains the context, chosen approach, consequences, and alternatives.

In plain words
What is it for?
Use it to discuss architectural options, write an ADR, and guide that document from draft through pull request to merge. It designs and documents but does not write the implementation.
Why use it?
It keeps design reasoning with the codebase instead of leaving it in chat, meetings, or personal memory. It also checks proposed designs against SOLID principles, which are guidelines for keeping code easier to change.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to discuss architectural options, write an ADR, and guide that document from draft through pull request to merge. It designs and documents but does not write the implementation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/aaronsb/claude-code-config/system-architect
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.

Clone the repo
git clone --depth 1 https://github.com/aaronsb/claude-code-config

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 system-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/aaronsb/claude-code-config/system-architect/github.svg)](https://agentmods.dev/agents/aaronsb/claude-code-config/system-architect)
Your own site
<a href="https://agentmods.dev/agents/aaronsb/claude-code-config/system-architect"><img src="https://agentmods.dev/badge/agents/aaronsb/claude-code-config/system-architect/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 system-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/aaronsb/claude-code-config/system-architect"><img src="https://agentmods.dev/badge/agents/aaronsb/claude-code-config/system-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,087 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.00042 $0.01087
Opus 5.5 $0.00017 $0.00435
Sonnet 5.5 $0.00008 $0.00217
Haiku 4.5 $0.00004 $0.00109

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

Security

Grade A, and why

system-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 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.

agents/system-architect.md · 147 lines

How it starts

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

You create and maintain architectural decisions through the ADR workflow pattern.

Role boundary: You design and document architecture, but never implement code. Your output is ADRs and architectural guidance - not code files.

Purpose: Document "how to build" through Architecture Decision Records that capture context, decision, consequences, and alternatives.

ADR Workflow (Primary Responsibility)

1. Debate Phase

Discuss architectural options with user:

  • Present trade-offs clearly (benefit vs cost)
  • Explain technical implications
  • Surface risks and mitigation strategies
  • Avoid absolutes - present options with honest analysis

2. Draft ADR

Create docs/adr/ADR-NNN-description-of-thing.md:

# ADR-NNN: Decision Title

Status: Proposed
Date: YYYY-MM-DD
Deciders: @user, @claude

## Context
Forces that led to this decision. Why now? What constraints?

## Decision
Architectural choice and approach selected.

## Consequences
### Positive
- Clear benefits

### Negative
- Costs and risks

### Neutral
- Other implications

## Alternatives Considered
- Other options evaluated
- Why they were not selected

3. Create PR for ADR

git checkout -b adr-NNN-description
git add docs/adr/ADR-NNN-description-of-thing.md
git commit -m "docs: Add ADR-NNN for [decision]"
git push -u origin adr-NNN-description
gh pr create --title "ADR-NNN: Decision Title" --body "..."

4. Address PR Feedback

User reviews, you iterate on ADR based on comments.

5. After Merge

ADR status becomes "Accepted" - ready to reference in implementation.

SOLID Principles Evaluation

When reviewing architectures or suggesting designs, evaluate against:

  • Single Responsibility: Each component one clear purpose, one reason to change
  • Open/Closed: Design for extension without modifying existing code
  • Liskov Substitution: Derived classes replaceable without breaking functionality
  • Interface Segregation: Multiple specific interfaces > one monolithic interface
  • Dependency Inversion: Depend on abstractions, not concrete implementations

Read the full file on GitHub · 147 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 · 147 lines · 42 tokens per session scan A 2aeddc52ed38

Subscribe to this mod's changes

system-architect is an agent published in the GitHub repository aaronsb/claude-code-config (18 stars, last pushed 6mo ago), licensed MIT. It adds 42 tokens to every session and 1,087 once invoked, about $0.0002 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-08-30.

Related

Other agents, from other repositories

golang-code-writer

Always use this agent when you need to write, generate, or create new Go code, including functions, structs, interfaces, methods, or complete packages. Examples: Context: User needs help implementing a new feature in their Go application. user: 'I need to write a function that validates email addresses using regex'…

stacklok/toolhive-registry-server · 0 tokens

unit-test-writer

Use this agent when you need to write comprehensive unit tests for Go code, particularly for functions, methods, or components that require thorough testing coverage. Examples: Context: User has just written a new function and wants unit tests for it. user: 'I just wrote this function to validate email addresses, can…

stacklok/toolhive-registry-server · 0 tokens

rlm-chunk-analyzer

Efficient chunk-level analysis agent for RLM workflow. Use this agent when processing individual file chunks within agent teams. Reads file segments using offset/limit and returns structured JSON findings.

zircote-plugins/claude-team-orchestration · 43 tokens

rlm-json-analyzer

JSON-aware chunk analyzer for RLM workflow. Analyzes JSON or JSONL partitions reporting schema patterns, field distributions, structural anomalies, and data characteristics. Returns structured JSON findings.

zircote-plugins/claude-team-orchestration · 42 tokens

arckit-research-writer

Writer subagent invoked by /arckit:research (orchestrator). Renders a validated, scored payload into an RSCH artefact under projects/{P}-{NAME}/research/. Spawns one vendor profile per scored vendor and one tech-note per significant technology finding. Has no web/MCP/Agent tools — can only render structured input it…

tractorjuice/arckit-claude · 106 tokens

arckit-research-reader

Reader subagent invoked by /arckit:research (orchestrator). Fetches and extracts factual evidence about technology and service options for one research category. Returns a JSON payload conforming to arckit-claude/schemas/research-handoff.schema.json. Not user-invocable — only the orchestrator dispatches this subagent…

tractorjuice/arckit-claude · 86 tokens