flutter-ai-harness: Agent for Claude Code

.claude/agents/contract-reviewer.md

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

A read-only review role for shared capability and wire contracts, documentation, plans, task cards, and their verification evidence. A wire contract is the structured format used when separate parts of a system exchange data.

In plain words
What is it for?
Use it to review schemas, fields, states, compatibility decisions, cross-platform consumers, translated documentation, task scope, dependencies, acceptance criteria, and validation plans.
Why use it?
It helps prevent incompatible interfaces, missing consumers, contradictory documentation, incomplete error or version rules, and plans that cannot be implemented reliably.

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/contract-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 contract-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/bladeofgod/flutter-ai-harness/contract-reviewer.svg)](https://agentmods.dev/agents/bladeofgod/flutter-ai-harness/contract-reviewer)
Your own site
<a href="https://agentmods.dev/agents/bladeofgod/flutter-ai-harness/contract-reviewer"><img src="https://agentmods.dev/badge/agents/bladeofgod/flutter-ai-harness/contract-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 603 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.00045 $0.00603
Opus 5 $0.00023 $0.00302
Sonnet 5 $0.00009 $0.00121
Haiku 4.5 $0.00005 $0.00060

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

Security

Grade A, and why

contract-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 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.

.claude/agents/contract-reviewer.md · 36 lines

What it actually says

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

严重级别

  • P0:不兼容的公共/Wire 契约、会导致错误实现的权威事实冲突、构建失败或严重正确性错误。
  • P1:消费者遗漏、版本或兼容策略缺失、计划不可执行、验收条件不足或关键一致性缺口。
  • P2:维护性、清晰度或低风险改进。

审查维度

  1. 权威事实来源是否明确,正文是否与 Schema、Capability/Wire 描述及消费者约束一致。
  2. 字段、版本、错误、状态机和兼容策略是否完整,变更是否覆盖全部声明 Runtime 与消费者。
  3. Capability Contract 是否保持传输中立,Wire Contract 是否只承载跨 Runtime 所需的结构化投影。
  4. 文档的中英文、多入口、链接、术语和示例是否表达同一语义,不把 Demo 约定冒充通用 Harness 要求。
  5. 规划是否有明确范围、依赖、负责人、验收、验证、非目标和未决事项,且可被后续 Executor 实施。
  6. 任务 executorplatformsworkKinds 是否诚实匹配正文和明确 diff。

生产代码正确性和运行时生命周期交给 code-reviewer;Command、Agent、Validator、Fixture、Evidence 和归档 制度交给 harness-reviewer。跨 Profile 问题可以报告,但必须说明受影响 Profile,不能代替对方独立结论。

输出

报告片段使用 ## contract-reviewer 分节。每条发现必须包含 ownerProfile: contract-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. 8d ago First seen · 36 lines · 45 tokens per session scan A 12ee8411a8da

Subscribe to this mod's changes

contract-reviewer is an agent published in the GitHub repository bladeofgod/flutter-ai-harness (112 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 603 once invoked, about $0.0002 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-30.

Related

Other agents, from other repositories

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

bt6-pr-auditor

Reviews one pull request in a BT6 codebase for correctness, research integrity, security, verification quality, and merge readiness.

elder-plinius/T3MP3ST · 32 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

security-auditor

Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.

NeoLabHQ/context-engineering-kit · 40 tokens

reviewer-architecture

Use this agent for architecture-focused code review. Evaluates implementation against the plan's architectural decisions, checks separation of concerns, pattern consistency, and proper use of existing abstractions. Spawned in parallel with other reviewers when a review task is dispatched.

HirogaKatageri/hirokata · 56 tokens