flutter-performance-profiling

flutter-performance-profiling is a skill for Claude Code, Codex from jggomez/expert-ai-developer-skills. It costs 82 tokens per session (1,254 once invoked), scanned A, original, Apache-2.0.

Use when a Flutter app janks, drops frames, is slow to start, or feels heavy — diagnose with DevTools timeline, profile mode, the raster vs UI thread split, shader jank, and startup tracing, then fix the specific cause. Goes beyond the official flutter-fix-layout-issues (which resolves overflow/constraint errors) to…

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Install with agentmods
npx agentmods add skills/jggomez/expert-ai-developer-skills/flutter-performance-profiling
Install

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.

Any agent
npx skills add jggomez/expert-ai-developer-skills --skill flutter-performance-profiling
Clone the repo
git clone --depth 1 https://github.com/jggomez/expert-ai-developer-skills

Made for: Claude Code, Codex.

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 flutter-performance-profiling

README.md
[![agentmods](https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/flutter-performance-profiling/github.svg)](https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/flutter-performance-profiling)
Your own site
<a href="https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/flutter-performance-profiling"><img src="https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/flutter-performance-profiling/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 flutter-performance-profiling

Your own site · 80×15
<a href="https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/flutter-performance-profiling"><img src="https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/flutter-performance-profiling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,254 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.00082 $0.01254
Opus 5.5 $0.00033 $0.00502
Sonnet 5.5 $0.00016 $0.00251
Haiku 4.5 $0.00008 $0.00125

Measured today against content hash 8507d21652ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flutter-performance-profiling 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 today.

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.

plugins/antigravity/senior-dev-flutter/skills/flutter-performance-profiling/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Flutter Performance Profiling

Overview

The Flutter Performance Profiling skill delivers rigorous diagnosis, instrumentation, and remediation workflows for Flutter runtime performance issues. Compatible across Claude Code and Google Antigravity, this skill guides developers to profile before optimizing—distinguishing UI thread bottlenecks (expensive widget trees, redundant layout computations) from raster thread stalls (shader warmup jank, excessive layer clipping, overdraw, expensive saveLayer calls) to ensure smooth 60fps / 120fps frame rates.

When to Use

Trigger Scenarios

  • Investigating frame drops, stutter, or jank during scrolling and route transitions.
  • Profiling and reducing cold/warm app startup latency.
  • Diagnosing memory leaks, image bloat, or climbing heap allocations over extended sessions.
  • Pre-release performance qualification for production releases.

When NOT to Use

  • Layout overflow bugs: For layout constraint violations and overflow render errors, use flutter-fix-layout-issues.
  • Backend or network latency: For slow API queries or backend database bottlenecks, use performance-scalability.
  • Static code formatting: For simple syntax formatting, use dart format.

Process

flowchart TD
    A[Performance Issue Reported] --> B[Run Profile Mode: flutter run --profile]
    B --> C[Capture Timeline in DevTools]
    C --> D{Diagnose Thread Bottleneck}
    D -->|UI Thread > 16ms| E[Optimize Build/Layout Scope & Compute Offload]
    D -->|Raster Thread > 16ms| F[Reduce Overdraw, Clips & saveLayer Calls]
    D -->|First-run Stutter| G[Shader Warmup / Impeller Engine Migration]
    E --> H[Verify Frame Metrics Before vs. After]
    F --> H
    G --> H

1. Measure in Profile Mode (Never Guess)

Never attempt performance profiling in Debug mode (unoptimized JIT engine) or Release mode (stripped of DevTools hooks). Run in Profile mode:

flutter run --profile
flutter run --profile --trace-startup --verbose

Read the full file on GitHub · 105 lines

Files

What ships with it

1 file 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.

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. today First seen · 105 lines · 82 tokens per session scan A 8507d21652ac

Subscribe to this mod's changes

flutter-performance-profiling is a skill published in the GitHub repository jggomez/expert-ai-developer-skills (30 stars, last pushed yesterday), licensed Apache-2.0. It adds 82 tokens to every session and 1,254 once invoked, about $0.0003 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-11-06.

Related

flutter-performance-profiling compared with skills from other repositories

flutter-performance-profiling next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flutter-performance-profilingjggomez/expert-ai-developer-skillsSkill30yesterdayApache-2.0A82Claude Code, Codex
ios-fixgarrytan/gstackSkill140kyesterdayMITA15Claude Code
node-connectopenclaw/openclawSkill394kyesterdayMITA39Claude Code, Codex
google-mobile-ads-validategoogle/skillsSkill22kyesterdayApache-2.0A84Claude Code, Codex
jetpack-compose-performanceandroid/skillsSkill10kyesterdayApache-2.0A41Claude Code
android-tombstone-symbolicationdotnet/skillsSkill5.8kyesterdayMITA176Claude Code
swiftui-performance-auditsteipete/agent-scriptsSkill7.5k7d agoMITA24Claude Code, Codex