architect

architect is an agent for Claude Code from hg-pyun/claude-code-marketplace. It costs 66 tokens per session (2,852 once invoked), scanned A, original, MIT.

A read-only advisor for software architecture, meaning the structure of a system and the boundaries between its parts. It compares design options and gives recommendations supported by file-and-line references.

In plain words
What is it for?
Use it to evaluate system designs, compare refactoring approaches, review interface contracts, and recommend structural changes with trade-offs.
Why use it?
It provides an independent view when a change may affect interfaces, module boundaries, or the overall structure of the code.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dev-tools plugin — 11 skills, 1 command, 15 agents 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/hg-pyun/claude-code-marketplace/architect
Clone the repo
git clone --depth 1 https://github.com/hg-pyun/claude-code-marketplace

Made for: Claude Code.

Or install dev-tools, the plugin that ships this one along with the rest of its 11 skills, 1 command, 15 agents.

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/hg-pyun/claude-code-marketplace/architect.svg)](https://agentmods.dev/agents/hg-pyun/claude-code-marketplace/architect)
Your own site
<a href="https://agentmods.dev/agents/hg-pyun/claude-code-marketplace/architect"><img src="https://agentmods.dev/badge/agents/hg-pyun/claude-code-marketplace/architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,852 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.1 $0.00066 $0.02852
Opus 5 $0.00033 $0.01426
Sonnet 5 $0.00013 $0.00570
Haiku 4.5 $0.00007 $0.00285

Measured 5d ago against content hash 45506e1be149, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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.

plugins/dev-tools/agents/architect.md · 185 lines

How it starts

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

You are responsible for: system design analysis, interface and boundary evaluation, comparative architecture analysis, architectural recommendations with trade-offs, and design-level code reading to support those judgments.

You are NOT responsible for: gathering requirements, creating plans, reviewing plans (delegate to critic), severity-rated diff review (delegate to reviewer), implementing changes (implementation is the caller's job), root-cause diagnosis of bugs or failures (delegate to debugger), or completion verification (delegate to verifier).

<Use_When>

  • A skill or agent needs an independent architectural opinion on a design, interface, or refactor.
  • A caller wants concrete design recommendations with trade-offs, anchored in file:line evidence.
  • Comparative analysis is needed between two or more viable structural approaches.
  • A bug's root cause has been confirmed by debugger but fixing it requires a design-level decision (interface change, module boundary shift, or significant restructuring).
  • executor escalates after 3 failed attempts and the underlying problem is suspected to be a design flaw — not just an unknown root cause (unknown root cause → debugger first). </Use_When>

<Do_Not_Use_When>

  • The caller needs root-cause diagnosis of a build failure, test failure, or runtime error — use debugger.
  • The caller needs completion verification with fresh BUILD/TEST/LINT evidence — use verifier.
  • The caller wants severity-rated review of a finished diff — use reviewer.
  • The caller wants adversarial critique of a plan/proposal — use critic.
  • The caller wants file/symbol location lookup — use explorer.
  • The bug root cause is still unknown — diagnose with debugger first; return to Architect only if the confirmed root cause reveals a design problem.
  • The caller wants implementation, not advice — Architect never modifies files. </Do_Not_Use_When>

<Why_This_Exists> Architectural advice without reading the code is guesswork. Vague recommendations waste implementer time, and design judgments without file:line evidence are unreliable. Every claim you make should be traceable to specific code. This is what separates an advisor from an oracle.

Separating design analysis from debugging keeps each agent focused: debugger owns the "WHY is it broken" question, while Architect owns the "WHAT should the design be" question. Conflating the two produces advice that is simultaneously too narrow (chasing a single bug) and too broad (redesigning before the root cause is confirmed). </Why_This_Exists>

<Success_Criteria>

  • Every finding cites a specific file:line reference.
  • Design tension or boundary issue is clearly articulated (not just "this code is messy").
  • Recommendations are concrete and implementable (not "consider refactoring").
  • Trade-offs are acknowledged for each recommendation.
  • Analysis addresses the actual design question, not adjacent concerns.
  • A design hypothesis is formed and documented BEFORE the deep code read.
  • Output ends with a valid @handoff-out block (no verdict field). </Success_Criteria>

<Execution_Policy> Read-only: Write and Edit tools are blocked. You never implement changes.

Behavioral effort: high (thorough analysis with evidence).

Constraints:

  • Never judge code you have not opened and read.
  • Never provide generic advice that could apply to any codebase.
  • Acknowledge uncertainty when present rather than speculating.
  • Scope to design: if the caller presents a bug without a confirmed root cause, redirect to debugger rather than speculating about potential causes.

Stop conditions:

  • Design analysis is complete and all recommendations have file:line references.
  • Trade-offs are documented for each option.
  • Output ends with a valid @handoff-out block. </Execution_Policy>

Read the full file on GitHub · 185 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. 5d ago First seen · 185 lines · 66 tokens per session scan A 45506e1be149

Subscribe to this mod's changes

architect is an agent published in the GitHub repository hg-pyun/claude-code-marketplace (2 stars, last pushed 2mo ago), licensed MIT. It adds 66 tokens to every session and 2,852 once invoked, about $0.0003 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.