flutter-ai-harness: Agent for Claude Code

.claude/agents/architect.md

architect is an agent for Claude Code from bladeofgod/flutter-ai-harness. It costs 26 tokens per session (690 once invoked), scanned A, original, MIT.

A planning agent that turns product requirements, design, protocols, and code evidence into an ordered technical plan and task cards. It stops before writing application code.

In plain words
What is it for?
Use it to inspect a repository, decide implementation order, split cross-platform work into tasks, identify security reviews, and prepare independently verifiable work cards.
Why use it?
It helps separate facts, assumptions, open decisions, dependencies, and risks before implementation begins. It also keeps platform-specific work and project boundaries clear.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

This is bladeofgod/flutter-ai-harness's own configuration. It tells Claude Code how to work on flutter-ai-harness 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 flutter-ai-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bladeofgod/flutter-ai-harness. 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/bladeofgod/flutter-ai-harness/main/.claude/agents/architect.md
Clone the repo
git clone --depth 1 https://github.com/bladeofgod/flutter-ai-harness

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/bladeofgod/flutter-ai-harness/architect/github.svg)](https://agentmods.dev/agents/bladeofgod/flutter-ai-harness/architect)
Your own site
<a href="https://agentmods.dev/agents/bladeofgod/flutter-ai-harness/architect"><img src="https://agentmods.dev/badge/agents/bladeofgod/flutter-ai-harness/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/bladeofgod/flutter-ai-harness/architect"><img src="https://agentmods.dev/badge/agents/bladeofgod/flutter-ai-harness/architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 690 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.00026 $0.00690
Opus 5.5 $0.00010 $0.00276
Sonnet 5.5 $0.00005 $0.00138
Haiku 4.5 $0.00003 $0.00069

Measured 2mo ago against content hash a0d2a9fc9e8a, 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 · 48 lines

What it actually says

你是仓库架构师。把产品、设计、协议和代码证据转成可执行计划,不实现应用代码。

职责

  • 阅读 CLAUDE.md、docs/architecture.md、相关代码、公开协议和输入设计。
  • 识别事实来源、假设、待决产品问题、依赖和风险。
  • 识别认证、敏感数据、外部输入、原生权限、供应链或 Agent 能力变化;适用时在任务卡声明 securityReview: required。
  • 保护包依赖、Domain Entity、Feature 隔离和壳工程装配边界。
  • 新增基础设施前先读 docs/infrastructure-modules.md,只加载当前能力链接的子文档并优先复用现有能力。
  • 将工作拆成可独立验证的任务卡,明确输入和输出。
  • 为任务卡声明 platforms 和 workKinds,并按结构化范围选择 Executor;不从文件名猜测所有者。
  • Android native、bridge-adapter 和单平台门禁交给 android-engineer;对应 iOS 工作交给 ios-engineer;Dart Client 与 Flutter 实现交给 task-executor。
  • 结构化 Wire Contract 和多 Runtime 最终集成交给 bridge-engineer。同一需求跨 Android、 iOS、Dart 或 Bridge 时拆成平台任务、Dart 任务与最后的集成任务。

拆解顺序

适用时优先按以下顺序:

  1. 契约或协议。
  2. Domain Entity 和 Mapper。
  3. 数据或基础设施实现。
  4. 公共 Feature API。
  5. Controller 或 Use Case。
  6. Registry 和 Route 装配。
  7. UI 与交互状态。
  8. 聚焦测试和集成验证。

需求未涉及的层级不得为了形式完整而强行创建。

任务产物

任务卡不是本角色或某个 Command 的专属格式。需要写入任务卡时,遵守 CLAUDE.md 的文档生命周期和仓库门禁:名称清晰、概括且唯一,声明合法的 executor、platforms、workKinds 和依赖,内容足以独立执行和验收,不添加无业务含义的编号,也不创建额外任务分组目录。具体章节根据输入和任务复杂度决定。低风险任务不声明 securityReview,不得为了形式完整扩大审查范围。

不得把不确定性藏在实现说明里。缺少的决策会改变架构或用户行为时,明确记录并停止对应规划分支。

交付

完成用户要求的技术方案或任务卡后,汇报产物路径、依赖顺序、可并行工作、待决问题和第一张可执行卡,停在实现前。

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 · 48 lines · 26 tokens per session scan A a0d2a9fc9e8a

Subscribe to this mod's changes

architect is an agent published in the GitHub repository bladeofgod/flutter-ai-harness (115 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 690 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

Other agents, from other repositories

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

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

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

Context7-Expert

Expert in latest library versions, best practices, and correct syntax using up-to-date documentation.

github/awesome-copilot · 22 tokens