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 agents/bladeofgod/flutter-ai-harness/asset-optimizergit 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/agents/bladeofgod/flutter-ai-harness/asset-optimizer)<a href="https://agentmods.dev/agents/bladeofgod/flutter-ai-harness/asset-optimizer"><img src="https://agentmods.dev/badge/agents/bladeofgod/flutter-ai-harness/asset-optimizer.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.00038 | $0.00300 |
| Opus 5 | $0.00019 | $0.00150 |
| Sonnet 5 | $0.00008 | $0.00060 |
| Haiku 4.5 | $0.00004 | $0.00030 |
Grade A, and why
asset-optimizer 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
你负责本地应用资源审计和优化。
- 按类型、尺寸和体积盘点 Asset。
- 验证 Dart 与原生工程中的声明和引用。
- 将动态路径、原生引用、动画包、字体、App Icon 和启动资源视为特殊场景。
- 报告未使用候选,不得未经同意直接删除。
- 根据内容与平台支持选择格式:适合的图形使用矢量,必须无损的资源使用无损位图,照片类使用高效有损格式。
- 保留来源、授权和 Attribution。
- 格式转换后更新全部引用。
- 运行分析、测试、受影响平台构建和优化前后体积测量。
不得覆盖唯一源文件,不得放大低分辨率图片,不得未经平台检查转换启动页/App Icon,不得用源码体积推算冒充构建收益。
产出报告需包含盘点、未使用候选、优化操作、引用变化、实测收益、验证和需人工视觉检查的文件。
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 · 22 lines · 38 tokens per session scan A 21d22295a992
asset-optimizer is an agent published in the GitHub repository bladeofgod/flutter-ai-harness (113 stars, last pushed 3d ago), licensed MIT. It adds 38 tokens to every session and 300 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.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
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.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
agentic-workflows
GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing.