metago-architecture-design

metago-architecture-design is a skill for Claude Code, Codex from metago-ai/metagolifeform. It costs 73 tokens per session (1,184 once invoked), scanned A, original, MIT.

A system-architecture design workflow that turns business requirements into a plan for components, interfaces, data flows, technology choices, and trade-offs.

In plain words
What is it for?
Use it when starting a project or planning a redesign to choose an architecture, split the system into modules, define interfaces, design data flows, and document technology decisions.
Why use it?
It helps make major technical decisions explicit and checks concerns such as scalability, maintainability, dependencies, and failure handling.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it when starting a project or planning a redesign to choose an architecture, split the system into modules, define interfaces, design data flows, and document technology decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/metago-ai/metagolifeform/metago-architecture-design
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.

Any agent
npx skills add metago-ai/metagolifeform --skill metago-architecture-design
Clone the repo
git clone --depth 1 https://github.com/metago-ai/metagolifeform

Made for: Claude Code, Codex.

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 metago-architecture-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/metago-ai/metagolifeform/metago-architecture-design/github.svg)](https://agentmods.dev/skills/metago-ai/metagolifeform/metago-architecture-design)
Your own site
<a href="https://agentmods.dev/skills/metago-ai/metagolifeform/metago-architecture-design"><img src="https://agentmods.dev/badge/skills/metago-ai/metagolifeform/metago-architecture-design/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 metago-architecture-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/metago-ai/metagolifeform/metago-architecture-design"><img src="https://agentmods.dev/badge/skills/metago-ai/metagolifeform/metago-architecture-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,184 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.00073 $0.01184
Opus 5 $0.00036 $0.00592
Sonnet 5 $0.00015 $0.00237
Haiku 4.5 $0.00007 $0.00118

Measured 12d ago against content hash 042e275d2420, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

metago-architecture-design 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 12d 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.

packages/dev-kit/skills/metago-architecture-design/SKILL.md · 115 lines

What it actually says

架构设计(metago-architecture-design)

描述

根据业务需求生成完整系统架构方案,覆盖架构模式选择、模块分解、接口契约设计、数据流规划、技术选型。输出含决策依据和权衡分析的架构文档。

触发条件

  • 用户请求架构设计、系统设计、技术选型时激活
  • 新项目启动阶段
  • 系统重构/迁移规划阶段
  • metago-action-plan 协同:重大技术决策时强制触发

核心流程

1. 需求分解

  • 功能性需求拆解(核心用例、边缘场景)
  • 非功能性需求量化(QPS、延迟、可用性、数据规模)
  • 约束条件识别(预算、团队规模、技术栈、合规要求)
  • 演进路径规划(MVP → 完整版 → 规模化)

2. 架构模式选择

  • 评估候选架构模式(单体/微服务/事件驱动/分层/CQRS)
  • 基于需求约束的权衡分析
  • 架构决策记录(ADR - Architecture Decision Record)
  • 替代方案与降级策略

3. 模块分解

  • 领域驱动设计(DDD)边界划分
  • 模块职责定义(单一职责原则)
  • 模块间依赖关系(无循环依赖)
  • 接口契约定义(输入/输出/异常)

4. 数据流设计

  • 数据模型设计(ER 图、字段约束)
  • 数据流向(同步/异步、推/拉)
  • 一致性策略(强一致/最终一致)
  • 缓存策略与失效机制

5. 技术选型

  • 技术栈评估(成熟度、社区、性能、人才市场)
  • 选型依据记录(为什么选 A 不选 B)
  • 风险评估(供应商锁定、废弃风险)
  • 替代方案储备

架构原则检查清单

  • 高内聚低耦合(模块内聚度 ≥ 0.8,耦合度 ≤ 0.3)
  • 单一职责(每个模块只做一件事)
  • 开闭原则(对扩展开放,对修改关闭)
  • 可独立部署(模块可独立部署和回滚)
  • 可水平扩展(无状态服务可水平扩展)
  • 故障隔离(单点故障不影响全局)
  • 可观测性(日志、指标、追踪完备)

输出格式

【架构设计文档】

## 1. 需求摘要
- 核心用例:...
- 性能指标:QPS=X, 延迟≤Xms, 可用性≥X%
- 约束条件:...

## 2. 架构概览
架构模式:[模式名]
选择依据:[权衡分析]
替代方案:[方案 B, 方案 C]

## 3. 模块设计
| 模块 | 职责 | 接口 | 依赖 |
|------|------|------|------|
| ... | ... | ... | ... |

## 4. 数据流
[数据流向图描述]
一致性策略:...

## 5. 技术选型
| 层次 | 技术 | 选型依据 | 替代方案 |
|------|------|----------|----------|
| ... | ... | ... | ... |

## 6. 演进路径
- MVP:...
- V1:...
- 规模化:...

## 7. 风险与缓解
| 风险 | 概率 | 影响 | 缓解措施 |
|------|------|------|----------|
| ... | ... | ... | ... |

与其他技能的协同

  • metago-action-plan 协同:架构设计输出联动行动计划生成
  • metago-decision-eval 协同:架构决策需通过决策评估
  • metago-critique 协同:架构方案需通过 L1-L5 批判性分析
  • metago-whatif 协同:反事实推演验证架构韧性
  • metago-coupling-optimize 协同:模块耦生度量化优化
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. 12d ago First seen · 115 lines · 73 tokens per session scan A 042e275d2420

Subscribe to this mod's changes

metago-architecture-design is a skill published in the GitHub repository metago-ai/metagolifeform (4 stars, last pushed 11d ago), licensed MIT. It adds 73 tokens to every session and 1,184 once invoked, about $0.0004 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.