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 skills/yendangn/flutter-app-builder/flutter-performancenpx skills add yendangn/flutter-app-builder --skill flutter-performancegit clone --depth 1 https://github.com/yendangn/flutter-app-builderWhat 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.00067 | $0.00476 |
| Opus 5 | $0.00034 | $0.00238 |
| Sonnet 5 | $0.00013 | $0.00095 |
| Haiku 4.5 | $0.00007 | $0.00048 |
Grade A, and why
flutter-performance 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 2d 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
Flutter Performance
Full reference: template.md
Key rules
Const everything possible
- Mark widgets, constructors, lists, and maps
constwherever valid — eliminates rebuild. - Use
constinitemBuildercallbacks for static children.
Minimize rebuild scope
- Extract frequently-rebuilding children into separate
StatelessWidgets. - Use
BlocSelectorinstead ofBlocBuilderwhen only a subset of state is needed. RepaintBoundaryaround independently-animating subtrees (maps, charts, video).
List performance
ListView.builder+ListView.separatedfor large lists — neverListView(children: []).- Set
itemExtentorprototypeItemonListView.builderwhen all items have the same height (skips layout). CachedNetworkImagefor all remote images —AppCachedImagewrapper.
Isolates
- Offload JSON decoding > 1 MB with
compute(jsonDecode, rawString). - Offload sorting/filtering large lists with
compute(). - Never do heavy computation on the main isolate.
Image optimization
- Use
width/heightonAppCachedImageto constrain decode size. - Use
memCacheWidth/memCacheHeightfor thumbnails. - Prefer WebP over PNG for large assets.
Anti-patterns
setStateinbuild()— always causes infinite rebuild.MediaQuery.of(context)deep in the tree — cache at page level.- Creating
TextEditingController/AnimationControllerinbuild()— useState. Opacity(opacity: 0)to hide — useVisibilityorOffstage.
Co-load with
flutter-common-widgets— App widgets are already optimizedflutter-animations— animations must not drop frames
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/anti_patterns_and_profiling.md 4.4 KB
- references/build_method_and_memory.md 3.3 KB
- references/const_widget_rules.md 1.8 KB
- references/image_and_state_performance.md 2.9 KB
- references/list_performance.md 2.2 KB
- references/rebuild_minimization.md 3.4 KB
- references/repaint_boundary_and_isolates.md 3.1 KB
- references/template.md 5.1 KB
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.
- 2d ago First seen · 46 lines · 67 tokens per session scan A b70c7b35cc3f
flutter-performance is a skill published in the GitHub repository yendangn/flutter-app-builder (5 stars, last pushed 2mo ago), licensed MIT. It adds 67 tokens to every session and 476 once invoked, about $0.0003 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 skills, from other repositories
sceneview
Build 3D and AR apps with the SceneView SDK in Jetpack Compose, SwiftUI (iOS/macOS/visionOS via SceneViewSwift), Web (Filament.js), Flutter and React Native. Use whenever the user asks for "3D in Compose", "AR with ARCore in Compose", a model viewer, or any cross-platform 3D/AR app where the dependency is…
app-preview-video
When the user wants to plan, script, produce, or optimize App Store Preview videos or Google Play promo videos — the autoplay videos that show in App Store/Play Store search and product pages. Use when the user mentions "App Preview", "preview video", "app store video", "promo video", "Play Store video", "video poster…
argent-screen-recording
Record a video of an iOS simulator or Android emulator/device screen using argent MCP tools. Use when the user asks to record the screen, capture a video of a flow, interaction, or animation, produce a screen recording, or document app behavior as a video clip.
generate-images-with-firebase-ai
Use when generating or editing images from Flutter/Dart with Firebase AI Logic and a Gemini image model (Nano Banana), making the first call work, choosing Gemini Developer API vs Vertex AI, hitting quota, billing or App Check failures, getting empty or image-only responses, sending a user photo as input, controlling…
scenekit-product-stages
Build and debug SceneKit scenes where one 3D object (a product, badge, coin, wheel) performs on a transparent stage inside a SwiftUI app - studio lighting, real shadows, baked keyframe choreography, hand-rolled physics, gestures and haptics, multi-scene sequencing. Use when working with SCNView or SceneView in…
store-screenshots
앱스토어·플레이스토어 등록용 마케팅 스크린샷 자동 생성. 원본 앱 스크린샷에 기기 프레임(iPhone, iPad, Galaxy, Fold, Flip)을 씌우고 배경 그라데이션과 홍보 문구를 얹어 스토어 규격 PNG로 출력한다. Turns raw app screenshots into store-ready App Store & Google Play marketing images — device frames, branded backgrounds, marketing copy, exact store sizes. "스토어 스크린샷 만들어줘", "앱스토어 이미지"…