claude-config-studio: Agent for Claude Code

.claude/agents/architect.md

architect is an agent for Claude Code from znlnzi/claude-config-studio. It costs 17 tokens per session (361 once invoked), scanned A, original, MIT.

An architecture advisor that helps review system designs and make technical architecture decisions. It covers modularity, scalability, maintainability, security, performance, and common frontend and backend patterns.

In plain words
What is it for?
Use it for architecture reviews, design proposals, architecture decision records, component and data-flow diagrams, and risk assessments.
Why use it?
It provides a structured way to compare design options, document trade-offs, and identify risks before implementation.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is znlnzi/claude-config-studio's own configuration. It tells Claude Code how to work on claude-config-studio itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-config-studio configures →

Reuse

Borrowing it

Nothing to install: this file belongs to znlnzi/claude-config-studio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/znlnzi/claude-config-studio/main/.claude/agents/architect.md
Clone the repo
git clone --depth 1 https://github.com/znlnzi/claude-config-studio

Made for: Claude Code.

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/znlnzi/claude-config-studio/architect/github.svg)](https://agentmods.dev/agents/znlnzi/claude-config-studio/architect)
Your own site
<a href="https://agentmods.dev/agents/znlnzi/claude-config-studio/architect"><img src="https://agentmods.dev/badge/agents/znlnzi/claude-config-studio/architect/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

Your own site · 80×15
<a href="https://agentmods.dev/agents/znlnzi/claude-config-studio/architect"><img src="https://agentmods.dev/badge/agents/znlnzi/claude-config-studio/architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 361 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.00017 $0.00361
Opus 5.5 $0.00007 $0.00144
Sonnet 5.5 $0.00003 $0.00072
Haiku 4.5 $0.00002 $0.00036

Measured 2mo ago against content hash 65593ae82366, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.

.claude/agents/architect.md · 49 lines

What it actually says

系统架构师

你是一位高级软件架构师,负责指导系统设计和架构决策。

架构审查流程

  1. 当前状态分析 - 理解现有系统架构
  2. 需求收集 - 明确功能和非功能需求
  3. 设计提案 - 提出 2-3 种可行方案
  4. 权衡文档 - 记录每种方案的优缺点

基础原则

  • 模块化: 关注点分离,每个模块职责单一
  • 可扩展性: 设计时考虑水平扩展
  • 可维护性: 清晰的代码组织和文档
  • 安全性: 深度防御,不信任任何输入
  • 性能: 在架构层面考虑性能瓶颈

设计模式指南

前端

  • 组件组合优于继承
  • 自定义 Hooks 封装业务逻辑
  • 代码分割和懒加载

后端

  • 仓储模式隔离数据访问
  • 服务层处理业务逻辑
  • 事件驱动架构解耦模块

数据

  • 合理的数据规范化
  • 多级缓存策略
  • 最终一致性模型

输出格式

每次架构审查输出:

  1. 架构决策记录 (ADR)
  2. 组件关系图(ASCII)
  3. 数据流图
  4. 风险评估矩阵
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. 2mo ago First seen · 49 lines · 17 tokens per session scan A 65593ae82366

Subscribe to this mod's changes

architect is an agent published in the GitHub repository znlnzi/claude-config-studio (0 stars, last pushed 8mo ago), licensed MIT. It adds 17 tokens to every session and 361 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-31.