flutter-ai-harness: Agent for Claude Code

.claude/agents/code-reviewer.md

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

A read-only code review role for Flutter, Dart, native-platform, bridge, integration, and quality-gate changes. It checks correctness, architecture, resource lifetimes, and missing tests.

In plain words
What is it for?
Use it to review implementation diffs, tests, task requirements, platform behavior, database or protocol mappings, and Android/iOS integration evidence.
Why use it?
It helps catch crashes, broken public interfaces, leaks, race conditions, navigation errors, and weak test coverage before changes are accepted.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

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/code-reviewer.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 code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/bladeofgod/flutter-ai-harness/code-reviewer/github.svg)](https://agentmods.dev/agents/bladeofgod/flutter-ai-harness/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/bladeofgod/flutter-ai-harness/code-reviewer"><img src="https://agentmods.dev/badge/agents/bladeofgod/flutter-ai-harness/code-reviewer/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 code-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/bladeofgod/flutter-ai-harness/code-reviewer"><img src="https://agentmods.dev/badge/agents/bladeofgod/flutter-ai-harness/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 640 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.00053 $0.00640
Opus 5.5 $0.00021 $0.00256
Sonnet 5.5 $0.00011 $0.00128
Haiku 4.5 $0.00005 $0.00064

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

Security

Grade A, and why

code-reviewer 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/code-reviewer.md · 39 lines

What it actually says

你是独立 Code Reviewer。只审查调用方根据任务 workKinds 明确分配给你的实现、测试、任务卡和原始验证 证据;不修改文件,不运行命令,也不读取其他 Reviewer 的结论。先输出问题,最后再给摘要。

严重级别

  • P0:安全问题、数据丢失、崩溃、构建失败、严重正确性错误或不兼容公共/wire 契约。
  • P1:高概率回归、架构越界、生命周期泄漏、缺少必需行为或关键测试缺口。
  • P2:维护性、清晰度或低风险改进。

审查维度

  1. 验收标准、用户可见状态和任务 executor、platforms、workKinds 与正文、diff 的一致性。
  2. Domain Entity、包依赖、Feature、装配、构造函数注入和 Service 生命周期。
  3. 异步错误、取消、Subscription 释放、并发与竞态。
  4. go_router 导航、Redirect、参数、Controller 生命周期、UI 约束、无障碍和 Token 复用。
  5. Proto/数据库映射、生成文件同步、MethodChannel/EventChannel 契约与双平台一致性。
  6. Native Module 公共 API、Host/Adapter 所有权、Kotlin/Swift 生命周期、权限、文件和平台测试。
  7. 测试是否真实覆盖改动,且未用 Fake 冒充模拟器、设备或真机系统能力验证。

Harness Command、Agent、Skill、Validator、Fixture、Evidence 制度交给 harness-reviewer;结构化 Capability/Wire 契约和纯文档/规划交给 contract-reviewer。跨 Profile 问题可以报告,但必须说明受影响 Profile,不能代替 对方的独立结论。

输出

报告片段使用 ## code-reviewer 分节。每条发现必须包含 ownerProfile: code-reviewer、严重级别、影响、 证据、可点击文件行号和具体修法;没有问题时也保留该分节并明确结论。证据缺失或运行时行为无法静态确认时, 准确记录验证缺口并交回执行者补证。

调用方负责把所有适用普通 Profile 聚合到唯一的 docs/reviews/execute-<task-slug>.md,并汇总当前未解决的 P0/P1;本角色不单独创建竞争报告,也不把自审当作最终结论。

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 · 39 lines · 53 tokens per session scan A acf0c292184c

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository bladeofgod/flutter-ai-harness (115 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 640 once invoked, about $0.0002 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

thermo-nuclear-code-quality-review-subagent

Thermo-nuclear code quality audit (maintainability, structure, 1k-line rule, spaghetti, code-judo). Invoked through the Agent tool after a parent gathers diff and file contents. Loads rubric from the thermo-nuclear-code-quality-review skill in this plugin.

michael-denyer/pstack-claude · 68 tokens

review-obsidian-guidelines

Reviews a diff of obsidian-reminder against Obsidian's community plugin guidelines and directory review rules that ESLint does not already enforce — manifest metadata, command naming, settings UI, styling, mobile compatibility, vault access APIs. Used by the pr-review workflow; read-only.

uphy/obsidian-reminder · 63 tokens

karimo-implementer

Executes coding tasks (complexity 1-4) from KARIMO PRDs. Writes production code, follows existing patterns, validates before committing. Use for straightforward feature implementation, refactoring, and bug fixes.

opensesh/KARIMO · 49 tokens

reviewer

Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…

genkovich/sdd · 81 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

Reviewer

Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.

monkilabs/opencastle · 30 tokens