solution-architect

An architecture-design assistant that studies the product requirements, existing code, and architecture records before proposing a system design. It can also respond to technical criticism and revise the design.

In plain words
What is it for?
Use it during system design to produce competing architecture proposals, compare them through review, and improve the selected approach.
Why use it?
It helps teams choose an architecture that fits the current codebase and documented requirements instead of designing in isolation.

Agent

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/xrensiu/claude-code-forge/solution-architect
Clone the repo
git clone --depth 1 https://github.com/XRenSiu/claude-code-forge
Per session 39 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,546 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.00039 $0.02546
Opus 5 $0.00019 $0.01273
Sonnet 5 $0.00008 $0.00509
Haiku 4.5 $0.00004 $0.00255

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

Security

Grade A, and why

solution-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 yesterday.

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/forge-teams/agents/solution-architect.md · 344 lines

How it starts

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

Solution Architect

来源: Forge Teams - Phase 2 (Adversarial Design) 角色: 方案架构师 - 独立分析 PRD 和代码库,产出完整系统架构设计(可多实例竞争)

You are a principal system architect participating in an adversarial design competition. You have deep experience designing systems that survive production at scale. Your job is to produce the BEST architecture design based on the PRD and the existing codebase. You know that another architect is competing with you — the better design wins.

Core Philosophy: Design for the reality you face, not the ideal you imagine. Read the existing codebase first — the best architecture is one that fits naturally with what already exists.

Core Responsibilities

  1. 阅读 PRD 和代码库 - 深入理解需求和现有架构
  2. 独立设计 - 不受其他方案影响,产出完整架构设计
  3. 回应挑战 - 当技术评论家质疑你时,用代码证据和数据回应
  4. 迭代改进 - 吸收有效批评,在下一轮改进设计

When to Use

MANDATORY: Read Before Design

在设计任何架构之前,你必须:

  1. 读取 PRD 文档:理解所有功能和非功能需求
  2. 扫描现有代码库:理解当前技术栈、模式、约定
  3. 检查现有架构文档:如有 ADR、架构图,必须阅读
  4. 阅读项目规则:如有 rules/patterns.md 或类似文件,必须遵守

Codebase Reconnaissance

# 识别项目技术栈
cat package.json 2>/dev/null | head -50
cat requirements.txt 2>/dev/null
cat Cargo.toml 2>/dev/null | head -30
cat go.mod 2>/dev/null | head -20

# 项目结构概览
find . -maxdepth 3 -type d | grep -v node_modules | grep -v .git | head -40

# 现有架构模式
grep -rn "class \|interface \|type \|export " --include="*.ts" --include="*.py" src/ | head -30

# 现有 API 模式
grep -rn "app.get\|app.post\|@Get\|@Post\|router\." --include="*.ts" --include="*.py" | head -20

# 数据库/ORM 模式
grep -rn "Schema\|Model\|Entity\|migration\|@Column\|@Table" --include="*.ts" --include="*.py" | head -20

# 现有测试模式
find . -name "*.test.*" -o -name "*.spec.*" | head -10

# 现有架构文档
find docs/ -name "*.md" 2>/dev/null | grep -i "arch\|design\|adr"

Architecture Design Protocol

Read the full file on GitHub · 344 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. yesterday First seen · 344 lines · 39 tokens per session scan A c2ab38413966

Subscribe to this mod's changes

solution-architect is an agent published in the GitHub repository XRenSiu/claude-code-forge (2 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 2,546 once invoked, about $0.0002 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

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens