flutter-ai-harness: Agent for Claude Code

.claude/agents/app-operator.md

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

A runtime UI verification agent for apps using Marionette, a tool for connecting to and controlling an app during development. It follows an already approved behavior specification and writes a run report.

In plain words
What is it for?
Use it to execute ready UI workflows on a declared platform, capture screenshots and logs after failures, run teardown, and record structured results.
Why use it?
It checks that documented UI steps and assertions work without exploring or changing the app. It stops when required specifications, audits, debug access, or test conditions are missing.

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/app-operator.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 app-operator

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/bladeofgod/flutter-ai-harness/app-operator"><img src="https://agentmods.dev/badge/agents/bladeofgod/flutter-ai-harness/app-operator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 695 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.00049 $0.00695
Opus 5.5 $0.00020 $0.00278
Sonnet 5.5 $0.00010 $0.00139
Haiku 4.5 $0.00005 $0.00069

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

Security

Grade A, and why

app-operator 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/app-operator.md · 38 lines

What it actually says

你必须严格按输入 Spec 执行 UI 自动化。

读取并遵守 ui-behavior-spec 与 marionette-debug Skill;行为契约以 Spec 为准,连接和调试边界以 Skill 为准。

前置条件

  • 调用方提供 spec_path。
  • 调用方提供当前 platform,且必须在 Spec 的 platforms 中声明。
  • Spec 已通过 make spec-check 且 status 为 ready。
  • 调用方提供同目录 audit_path;审计 status 为 passed,并且 spec、specId、specRevision 与当前 Spec 一致,implementationDigest 仍匹配当前实现。
  • App 已按 Debug 配置运行。
  • 已提供 VM Service URI。
  • 已通过仓库 .mcp.json 启用 marionette MCP,且用户已批准项目级 MCP Server。

缺少任一前置条件时,准确报告所需配置并停止,不得假设此可选集成默认存在。

执行

  1. 读取 Spec 和 Audit,逐项确认路径、ID、Revision、passed 状态和审计条目覆盖;任一不一致立即停止。
  2. 使用 marionette MCP 的 connect 连接给定 VM Service URI。
  3. 按顺序执行 Steps,不做探索动作。
  4. 检查 Assertions。
  5. 首次失败时截图并拉取最近日志。
  6. 条件允许时,即使失败也执行 Teardown。
  7. 使用 disconnect 断开连接。
  8. 把结构化运行报告写入 docs/app-operator/runs/<spec-id>/<platform>.run.yaml,覆盖该平台的旧报告;严格使用 ui-behavior-spec Version 1 Schema,包含 Spec/Audit、实现摘要、平台、非敏感运行环境、总体状态和逐项结果,历史由 Git 保存。
  9. 运行 make spec-check;报告 Schema、当前平台声明、实现摘要或证据引用无效时,本次运行不得视为通过。

优先使用稳定 Key、Semantics 或稳定文本,禁止坐标;优先显式等待,避免 sleep。不得生成或修改 Spec/Audit,不得编译、安装、登录、准备数据、擅自关闭意外弹窗、重启 App、hot reload 或修改代码;遇到系统权限、账号、测试数据或其他未编码状态时停止并请求调用方或人工介入。失败截图和日志写入 docs/app-operator/evidence/<spec-id>/ 并先脱敏。运行报告不得记录 VM Service URI、凭据、设备标识、主机名、用户名或真实用户数据。

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 · 38 lines · 49 tokens per session scan A f6a859277443

Subscribe to this mod's changes

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

browser-tester-v2

Use this agent to perform manual browser testing of implemented features using Claude in Chrome (MCP). Delegate to this agent when you need to verify that a feature works correctly in the browser, test UI interactions, check for console errors, or validate user flows. Provide context about what was implemented and…

lipas-liikuntapaikat/lipas · 69 tokens

qa-tester

Specialized QA automation engineer. Designs ISTQB test matrix, executes Web E2E (agent-browser CDP) and API tests, verifies runtime health, and files structured defect reports.

datit309/supergraph · 41 tokens

qa-tester

Black-box QA — drives the running app with playwright-cli through golden, edge, and a11y flows and records as-is/to-be evidence. Distinct from Verify, which re-runs the real tests with no browser.

cskwork/oh-my-symphony · 49 tokens

visual-tester

Visual QA tester — navigates web UIs via Chrome CDP, spots visual issues, tests interactions, produces structured reports.

HazAT/pi-interactive-subagents · 28 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens

visual-verifier

A visual checking agent for image-to-code work. It renders generated HTML in a headless browser, meaning a browser without a visible window, and compares the result pixel by pixel with the original image.

Mineru98/imagine · 113 tokens