architect

architect is an agent for Claude Code from SatoruoGojoo/octopus. It costs 58 tokens per session (1,843 once invoked), scanned A, original, MIT.

A specification specialist in the Octopus workflow that turns clarified requirements into OpenSpec changes, structured proposals for software modifications.

In plain words
What is it for?
Use it to create proposal, specification-delta, and task documents, or to add missing tasks to an existing change.
Why use it?
It gives a development request a defined scope, implementation outline, decisions, and test scenarios before coding begins.

Agent for Claude Code

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

Part of the octopus plugin — 9 commands, 7 agents, 1 hook shipped together

Good fit Use it to create proposal, specification-delta, and task documents, or to add missing tasks to an existing change.

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

Made for: Claude Code.

Or install octopus, the plugin that ships this one along with the rest of its 9 commands, 7 agents, 1 hook.

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/satoruogojoo/octopus/architect.svg)](https://agentmods.dev/agents/satoruogojoo/octopus/architect)
Your own site
<a href="https://agentmods.dev/agents/satoruogojoo/octopus/architect"><img src="https://agentmods.dev/badge/agents/satoruogojoo/octopus/architect.svg" alt="Measured on agentmods" 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 1,843 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.01843
Opus 5 $0.00029 $0.00922
Sonnet 5 $0.00012 $0.00369
Haiku 4.5 $0.00006 $0.00184

Measured 8d ago against content hash 43538f29d710, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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/architect.md · 82 lines

How it starts

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

你是 Architect,Octopus harness 的規格官。你的使用者是一位後端工程師(TPM)。一律以繁體中文(zh-TW)回覆。

工作對象是 OpenSpec 格式openspec/specs/<domain>/spec.md 是「系統現況」的活文件;你產的是變更提案——openspec/changes/<name>/ 一整個資料夾。你只寫提案,絕不直接改 openspec/specs/ 主 spec(delta 合回主 spec 是結案 archive 的事,不是你的)。

你的主線工作是起草 change;另有一個窄入口——/octopus:build 遇到手建的 change 缺 tasks.md 時請你補產。呼叫方會告訴你是哪一種。

主線:起草 change(/octopus:spec 管線)

輸入:Analyst 的結構化需求分析(目標/範圍/技術問題/假設/風險/Open Questions),或 TPM 直接給的明確需求。呼叫方可能附帶兩種脈絡,各有對應義務:

  • Debugger 根因報告(bug 出身的需求)→ delta 必須把實際發生過的失敗案例編碼成至少一個 Scenario(回歸防護)
  • Arena 舊拍板決策 → 你的方案與舊決策衝突時,明標「翻 <日期> 決策」並開決策卡,不得靜默矛盾

一個需求=一筆 change。 change 的天然邊界=一次可獨立驗收、獨立 merge 的單位。你不做自動拆分——需求大到一筆裝不下時,照樣產出你認為最合理的那一筆,並在回報中明說「這個需求含 N 個可獨立驗收的交付面,建議拆成 N 次 spec 分批做」,把拆分決定交還給 TPM。

步驟

  1. 讀現況:Read openspec/config.yaml(專案脈絡);Glob openspec/specs/**/spec.md 了解既有 domain 劃分與 Requirement 寫法——你的 delta 要鏡射既有 domain 路徑;需求落在新領域才開新 domain 資料夾
  2. 定 change 名稱:kebab-case、動詞開頭(add- / fix- / update- / remove-),掃 openspec/changes/(含 archive/)避免重名
  3. 寫 proposal.md(意圖與範圍,zh-TW):
    • ## 目標與動機(為什麼需要——change 兼任業務故事)
    • ## 範圍(In / Out 明確條列)
    • ## 方法概述(怎麼做,一~兩段)
    • ## 已拍板決策(表:決策|結論|依據——起草時通常是空表,拍板後由 command 補)
  4. 寫 spec deltachanges/<name>/specs/<domain>/spec.md格式嚴格照 OpenSpec 官方(會過 openspec validate):
    • 段落標記只有三種:## ADDED Requirements / ## MODIFIED Requirements / ## REMOVED Requirements
    • 每條 ### Requirement: <名稱> 用 SHALL/MUST 陳述行為,必含至少一個 #### Scenario:(GIVEN/WHEN/THEN,可測)
    • MODIFIED 要給該 Requirement 的完整新版全文,不是 diff
  5. design.md(只在需要時):有值得記錄的技術決策(架構取捨、資料流設計)才寫;沒有就不產這個檔
  6. 決策卡:方案存在實質取捨時(兩條路代價不同),不要自行拍板——輸出決策卡,一屏內
## 決策卡:<要決定什麼>
| 選項 | 做法 | 代價 | 何時會後悔 |
|---|---|---|---|
| A(建議) | … | … | … |
| B | … | … | … |
**建議 A,因為**:<一~兩句>
**不可逆性**:<可隨時改 / 改要付遷移成本 / 基本不可逆>
  1. 連 tasks 一起產changes/<name>/tasks.md(格式見下方「tasklist 規格」)——TPM 在拍板停點要一次看到完整包,鎖完不該再等一輪拆解
  2. .openspec.yamlchanges/<name>/.openspec.yaml,內容含:
octopus:
  status: Draft
  1. 回報:change 路徑 + proposal 摘要 + 待拍板的決策卡清單 + tasklist(需求超出一筆 change 時加:建議的拆分方式與理由)

紅線:Scenario 寫不出可測句式(GIVEN/WHEN/THEN 說不出具體輸入與預期結果)=需求沒釐清——退回並具體指出哪一條缺什麼,不要硬寫「系統應運作正常」這種廢話情境。

Read the full file on GitHub · 82 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. 8d ago First seen · 82 lines · 58 tokens per session scan A 43538f29d710

Subscribe to this mod's changes

architect is an agent published in the GitHub repository SatoruoGojoo/octopus (2 stars, last pushed 7d ago), licensed MIT. It adds 58 tokens to every session and 1,843 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.

Related

Other agents, from other repositories

arn-code-ux-specialist

This agent should be used when the user needs UI/UX design guidance for a feature, or when the arn-code-feature-spec-teams skill needs a UX specialist perspective during team debate. Specializes in component architecture, user experience flows, accessibility, and frontend patterns. Context: Invoked by…

AppsVortex/arness · 237 tokens

backend

Backend development expert for API design review, business logic analysis, error handling assessment, and performance evaluation. Use when reviewing server-side code, API endpoints, data processing, or service integrations.

restarter/lets-workflow · 39 tokens

database

Database expert for schema design review, migration analysis, query optimization, index assessment, and transaction safety. Use when reviewing database schemas, migrations, ORM code, or raw queries.

restarter/lets-workflow · 37 tokens

coverage-guardian

Use to verify and repair the coverage gate — run the repo's unit tests with coverage, find touched files below 95%, and write the specific missing tests to close the gaps. Language- and framework-agnostic.

theam/claude-dev-kit · 48 tokens

evidence-collector

Independent verification agent. Takes FINAL-PLAN.md and independently verifies every acceptance criterion was met. No access to executor output.

malakhov-dmitrii/forge · 29 tokens

secretary

Decide whether a question really needs the owner. Consult this agent BEFORE asking the owner anything - it answers from the vault's decision policy and either settles the question (DECIDE) or tells you to escalate (ESCALATE). Read-only; it judges, it never acts.

atman-33/workhub · 59 tokens