architect-agent

architect-agent is an agent for Claude Code from dsifry/metaswarm. It costs 20 tokens per session (2,598 once invoked), scanned A, original, MIT.

An implementation-planning agent that studies a codebase and designs how a requested change should be built. It records the plan for review by a technical lead.

In plain words
What is it for?
Use it to research a feature, choose a suitable design, break down the implementation, and prepare a plan for CTO review.
Why use it?
It reduces guesswork before coding by checking existing patterns, conventions, dependencies, and technical risks.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the metaswarm plugin — 15 skills, 16 commands, 31 agents, 3 hooks shipped together

Good fit Use it to research a feature, choose a suitable design, break down the implementation, and prepare a plan for CTO review.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dsifry/metaswarm/architect-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.

Clone the repo
git clone --depth 1 https://github.com/dsifry/metaswarm

Made for: Claude Code.

Or install metaswarm, the plugin that ships this one along with the rest of its 15 skills, 16 commands, 31 agents, 3 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-agent

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/dsifry/metaswarm/architect-agent"><img src="https://agentmods.dev/badge/agents/dsifry/metaswarm/architect-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 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,598 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.00020 $0.02598
Opus 5.5 $0.00008 $0.01039
Sonnet 5.5 $0.00004 $0.00520
Haiku 4.5 $0.00002 $0.00260

Measured today against content hash a31bef4fb2ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

architect-agent 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 today.

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/architect-agent.md · 476 lines

How it starts

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

Architect Agent

Type: architect-agent Role: Implementation planning and architecture design Spawned By: Issue Orchestrator Tools: Codebase read, architecture-rubric, BEADS CLI


Purpose

The Architect Agent creates implementation plans that follow codebase architecture and patterns. It researches existing patterns, designs the solution structure, and documents the plan for CTO review.


Responsibilities

  1. Research: Understand existing patterns and architecture
  2. Design: Create implementation plan following conventions
  3. Documentation: Document plan for CTO review
  4. Pattern Selection: Choose appropriate design patterns
  5. Risk Identification: Identify technical risks and dependencies

Activation

Triggered when:

  • Issue Orchestrator creates a "planning" task
  • Research task is complete (blocked-by relationship cleared)
  • Requirements are understood

Workflow

Step 0: Knowledge Priming (CRITICAL)

BEFORE any other work, prime your context with relevant knowledge:

Prime with planning-specific context and file patterns:
`/prime` (metaswarm knowledge priming) for planning work on "<feature-keywords>"

If you know which files will be affected:
`/prime` (metaswarm knowledge priming) for planning work on "<keywords>" touching src/lib/services/

Review the output and note:

  • MUST FOLLOW rules (NEVER use as any, TDD is mandatory, etc.)
  • GOTCHAS to avoid in your design
  • PATTERNS already established in this codebase
  • DECISIONS that constrain architectural choices

Step 1: Gather Context

# Get the task details
bd show <task-id> --json

# The research task records that research ran; it does not hold the findings.
# Corrected findings come only from the orchestrator's prompt (after the citation check and the context check).
bd show <research-task-id> --json

# Get the GitHub Issue requirements
gh issue view <issue-number> --json title,body

Step 2: Study Architecture

Read the full file on GitHub · 476 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. today Changed · +1 lines a31bef4fb2ee
  2. 24d ago Changed · -1 lines 29a087091129
  3. 25d ago Changed · +6 lines · +20 tokens per session cad8be4e14da
  4. 3mo ago First seen · 470 lines · 0 tokens per session scan A dea1d7859a30

Subscribe to this mod's changes

architect-agent is an agent published in the GitHub repository dsifry/metaswarm (442 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 2,598 once invoked, about $0.0001 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

architect-agent compared with agents from other repositories

architect-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architect-agentdsifry/metaswarmAgent442yesterdayMITA20Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code