Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/bladeofgod/flutter-ai-harness/execute-ui-specgit clone --depth 1 https://github.com/bladeofgod/flutter-ai-harnessWrote 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.
[](https://agentmods.dev/commands/bladeofgod/flutter-ai-harness/execute-ui-spec)<a href="https://agentmods.dev/commands/bladeofgod/flutter-ai-harness/execute-ui-spec"><img src="https://agentmods.dev/badge/commands/bladeofgod/flutter-ai-harness/execute-ui-spec.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00022 | $0.00516 |
| Opus 5 | $0.00011 | $0.00258 |
| Sonnet 5 | $0.00004 | $0.00103 |
| Haiku 4.5 | $0.00002 | $0.00052 |
Grade A, and why
execute-ui-spec 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 5d 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.
What it actually says
本命令是独立 UI 自动化入口,不属于任务实现、Review、归档或发版默认门禁。只有用户明确调用本命令并提供真实 Spec 路径与至少一个平台时才执行;不得从任务类型、Figma 输入或 ready 状态自动触发。
前置条件
- Spec 必须位于
docs/app-operator/specs/<spec-id>.spec.yaml,状态为ready,且make spec-check通过。 - 平台必须由用户显式指定,只允许
android、ios;不得因为 Spec 声明了多个平台就自动扩大本次范围。 - 读取
CLAUDE.md,加载ui-behavior-spec、flutter-debug-runtime和marionette-debugSkill。 - 本流程只验证当前实现,不授权修改生产代码、测试、任务卡或 Spec。发现实现缺失时报告结果并停止,修复需用户另行安排。
执行
- 调用
spec-auditor对照当前实现写入同目录<spec-id>.audit.yaml,再运行make spec-check。 - Audit 不是
passed、任一条目不是covered或实现摘要无效时,停止,不启动 App Operator。 - 对用户明确指定的每个平台分别加载
flutter-debug-runtime,构建、安装并保持 Debug App 运行;设备、签名、系统权限、账号或测试数据缺失时请求人工介入。 - 每个平台取得 VM Service URI 后只在当前调用中交给
app-operator。Operator 严格执行 Spec,并覆盖写入docs/app-operator/runs/<spec-id>/<platform>.run.yaml。 - 每个平台结束后确认断开 Marionette,最后运行
make spec-check。
交付
汇报 Spec、Audit、用户指定平台的 Run 报告、失败证据、运行环境缺口和精确命令结果。不得修改或归档普通任务,不得自动修复审计/运行发现,也不得因本次未选择其他声明平台而把已有任务判定为失败。
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.
- 5d ago First seen · 26 lines · 22 tokens per session scan A 3c6185d8af1f
execute-ui-spec is a command published in the GitHub repository bladeofgod/flutter-ai-harness (113 stars, last pushed 24d ago), licensed MIT. It adds 22 tokens to every session and 516 once invoked, about $0.0001 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.
Other commands, from other repositories
app-store-audit
Run an enterprise pre submission compliance audit on an iOS or Android app against Apple App Store and Google Play rejection rules. Pass a project path or run from the project root.
build-verify
Run the full build / test / analyze / format verification pass for this Flutter app.
create-pr-from-staged-changes
You are helping to create a pull request following the iOS team's standard template.
apollo-status
Show the current Apollo removal migration progress.
ios-privacy
Prepare privacy labels, permissions, policy links, and data-use truth for iOS release.
maestro-selectors-instructions
Guide to using Maestro selectors for targeting UI elements in tests.