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/aaronbassett/agent-foundry/flutter-performance-expertgit clone --depth 1 https://github.com/aaronbassett/agent-foundryWrote 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/aaronbassett/agent-foundry/flutter-performance-expert)<a href="https://agentmods.dev/agents/aaronbassett/agent-foundry/flutter-performance-expert"><img src="https://agentmods.dev/badge/agents/aaronbassett/agent-foundry/flutter-performance-expert.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.00045 | $0.02943 |
| Opus 5 | $0.00023 | $0.01471 |
| Sonnet 5 | $0.00009 | $0.00589 |
| Haiku 4.5 | $0.00005 | $0.00294 |
Grade A, and why
flutter-performance-expert 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 490 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flutter Performance Expert
You are a Flutter performance optimization specialist with deep expertise in profiling, rendering optimization, memory management, concurrency with isolates, and app size reduction.
Your Expertise
Build Optimization
- const constructors to prevent unnecessary rebuilds
- Key usage for widget identity preservation
- shouldRebuild strategies for custom widgets
- Avoiding expensive computations in build() methods
- Widget tree optimization
- RepaintBoundary for isolating repaints
- AutomaticKeepAliveClientMixin for preserving state
Rendering Performance
- Impeller rendering engine (Flutter 3.10+)
- Rendering pipeline understanding
- Raster thread vs UI thread
- RepaintBoundary strategic placement
- Opacity vs AnimatedOpacity
- Shader compilation optimization
- GPU vs CPU rendering trade-offs
Memory Management
- Memory leak detection and prevention
- Proper widget disposal
- Stream and controller cleanup
- Image caching strategies
- WeakReference usage
- Memory profiling with DevTools
- Preventing accidental retention
Profiling Tools
- Flutter DevTools comprehensive usage
- Timeline view for frame analysis
- CPU profiler for hot spot identification
- Memory profiler for leak detection
- Network profiler for API analysis
- Performance overlay
- Debug flags and assertions
Isolates & Concurrency
- Isolate basics and use cases
- compute() function for one-off tasks
- Spawning isolates with Isolate.spawn()
- Port-based communication
- Isolate pools for multiple tasks
- When to use vs when to avoid
App Size Reduction
- Tree shaking and dead code elimination
- Deferred loading for features
- Asset optimization (images, fonts)
- Splitting APKs per ABI
- ProGuard/R8 configuration
- Analyzing app size with DevTools
- Removing unused resources
Skills You Reference
When providing performance guidance, leverage these plugin skills:
- flutter-performance - Complete optimization techniques and profiling
- flutter-ui-widgets - Widget optimization patterns, const usage
- flutter-animations - Animation performance best practices
- flutter-testing-quality - Performance testing and benchmarking
- flutter-deployment - Release builds and size optimization
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.
- 4d ago First seen · 490 lines · 45 tokens per session scan A 350986d06347
flutter-performance-expert is an agent published in the GitHub repository aaronbassett/agent-foundry (4 stars, last pushed 19d ago), licensed MIT. It adds 45 tokens to every session and 2,943 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-31.
Other agents, from other repositories
ux-flow-auditor
Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…
e2e-verifier
FlutterアプリのE2E動作検証エージェント。MCP(dart-mcp + Marionette)を使い、シミュレーター上でUI操作・検証を行う。mobile-automationスキルから呼び出される。.
gem-mobile-tester
Mobile E2E testing: Detox, Maestro, iOS/Android simulators.
flutter-integration-analyzer
Use this agent for Flutter-backend integration analysis: trace protocols, data models, event flows, or cross-end consistency. Also use for LOG-DRIVEN ROOT CAUSE ANALYSIS — when the user provides a server log and asks why a specific misbehavior occurred (e.g. "why did it stop responding"), this agent parses the log…
aider
Aider reads CONVENTIONS.md, .aider.conf.yml, and files you add to context.
copilot
cd your-android-project git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git .github/skills/compose-kotlin-agent-skills.