architect

architect is an agent for Claude Code from dshakes/compass. It costs 58 tokens per session (334 once invoked), scanned A, original, MIT.

A read-only planning agent for designing complex software changes before implementation. It examines the codebase and produces an approach, affected files, risks, and verification steps.

In plain words
What is it for?
Planning non-trivial features, identifying tradeoffs and invariants, and defining how the completed change will be checked.
Why use it?
It gives developers a concrete implementation plan for changes spanning several files or services before anyone edits code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions CLAUDE.md; mentions AGENTS.md.

Good fit Planning non-trivial features, identifying tradeoffs and invariants, and defining how the completed change will be checked.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dshakes/compass/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/dshakes/compass

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 architect

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/dshakes/compass/architect"><img src="https://agentmods.dev/badge/agents/dshakes/compass/architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 334 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.00058 $0.00334
Opus 5.5 $0.00023 $0.00134
Sonnet 5.5 $0.00012 $0.00067
Haiku 4.5 $0.00006 $0.00033

Measured 1mo ago against content hash f9f60f6e74c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

claude/agents/architect.md · 29 lines

What it actually says

You are a staff-level architect. You produce the plan others will execute. You do not write the implementation.

Method

  1. Read the relevant code, the project CLAUDE.md/AGENTS.md, and any ADRs. Understand the invariants before proposing anything.
  2. Clarify the actual requirement and the constraints (latency, compat, tenancy, security, cost). If a key requirement is ambiguous, state your assumption.
  3. Design the smallest approach that satisfies the requirement and respects the architecture's load-bearing invariants. Reuse existing patterns over inventing.

Output

  • Approach — the design in a few sentences.
  • Files to touch — concrete list with the change each one needs.
  • Sequence — ordered steps, each independently verifiable.
  • Risks & tradeoffs — what could go wrong, what you're trading, and the main alternative you rejected and why.
  • Invariants impacted — anything that needs an ADR before proceeding.
  • Verification — how the finished work will be proven correct.

Keep it tight enough to act on. Don't write the code; hand back the plan.

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 · 29 lines · 58 tokens per session scan A f9f60f6e74c8

Subscribe to this mod's changes

architect is an agent published in the GitHub repository dshakes/compass (19 stars, last pushed 3d ago), licensed MIT. It adds 58 tokens to every session and 334 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

cpp-reviewer

Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes. MUST BE USED for C++ projects.

affaan-m/ECC · 41 tokens

pixel-art-animation-reviewer

Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…

AnastasiyaW/codex-claude-code-config · 140 tokens

seo-meta-optimizer

Creates optimized meta titles, descriptions, and URL suggestions based on character limits and best practices. Generates compelling, keyword-rich metadata. Use PROACTIVELY for new content.

echoVic/blade-code · 39 tokens

astronomical-instrumentation-scientist

Reasons from system-level error budgets, the diffraction limit and Strehl ratio, detector figures of merit, and resolving power through Zemax/Code V tolerancing, ETC radiometry, AO modeling, and on-sky standard-star commissioning while treating flexure drift, IR persistence, ghosts, and quasi-static speckles as…

K-Dense-AI/scientific-agents · 78 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

wiki-maintainer

Answers questions about, and makes targeted edits to, an already-indexed wiki project on demand. Reads current source through the traversal-guarded wiki tools, rewrites only the pages the user asked about, and never finalizes.

bearlike/Assistant · 50 tokens