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 skills add ariaramin/flutter-skills --skill flutter-memory-leak-engineeringgit clone --depth 1 https://github.com/ariaramin/flutter-skillsWrote 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/skills/ariaramin/flutter-skills/flutter-memory-leak-engineering)<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/flutter-memory-leak-engineering"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-memory-leak-engineering/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.
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/flutter-memory-leak-engineering"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-memory-leak-engineering.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00131 | $0.04086 |
| Opus 5.5 | $0.00052 | $0.01634 |
| Sonnet 5.5 | $0.00026 | $0.00817 |
| Haiku 4.5 | $0.00013 | $0.00409 |
Grade A, and why
flutter-memory-leak-engineering 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 7d 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 — 418 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flutter Memory Leak Engineering
Operating rules
- Diagnose ownership before adding cleanup calls.
- Treat
leak_trackeras lifecycle verification, not as a universal heap leak detector. - Distinguish
notDisposed,notGCed, andgcedLate; they describe different failures and require different fixes. - Separate disposal from garbage collection: disposed objects can remain retained, and collected objects can still have violated a cleanup contract.
- Prefer one clear owner for every disposable/cancelable/removable resource.
- Keep longer-lived objects from retaining shorter-lived widgets, routes, sessions, controllers, or
BuildContextunless the lifetime is intentional. - Use standard not-disposed checking as the high-signal default; enable expensive/experimental retention diagnostics only for focused investigations.
- Do not silence failures before finding the creation site, owner, teardown path, and retaining reference.
- Do not treat increasing RSS as proof of a tracked Dart lifecycle leak.
- Escalate unresolved growth or retaining chains to Flutter DevTools Memory.
- Keep fixed lifecycle bugs as deterministic regression tests.
- Preserve repository architecture unless ownership/lifetime is actually wrong.
Research baseline and freshness
The supplied guide targets leak_tracker 11.0.2 and the current split between:
leak_trackerfor core tracking/classification;leak_tracker_testingfor test helpers;leak_tracker_flutter_testingfor Flutter widget-test integration;- Flutter
FlutterMemoryAllocationsfor framework lifecycle instrumentation; - Flutter DevTools Memory for heap, diff, allocation, and retaining-reference investigation. The guide explicitly notes that direct leak-tracker DevTools integration from older releases was removed in 11.0.0. Do not copy old tutorials that assume that integration still exists.
Before implementation:
- inspect
pubspec.yamlandpubspec.lock; - identify Flutter and Dart versions;
- identify current leak-tracker package versions;
- verify
experimentalLeakTesting,LeakTesting.settings, and allocation instrumentation against that SDK; - treat running-app, Web, not-GCed, and other experimental behavior as version-sensitive.
What ships with it
5 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.
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.
- 7d ago First seen · 418 lines · 131 tokens per session scan A 1d891fb728d1
flutter-memory-leak-engineering is a skill published in the GitHub repository ariaramin/flutter-skills (6 stars, last pushed 7d ago), licensed MIT. It adds 131 tokens to every session and 4,086 once invoked, about $0.0005 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-10-11.
Other skills, from other repositories
speq-audit
Audit a speq project's health — spec-library structure, feature/decision-log/plan validation, ADR noise, mission-to-spec sync, unrecorded plans, and gitignore hygiene — then guide fixes. Use when the user asks to audit, health-check, doctor, lint, or sanity-check the specs or repo, or after cloning or inheriting a…
systematic-debug
4-phase root-cause debugging — reproduce, isolate, fix, verify. Triggers on hard bug, can't figure out, intermittent, keeps failing, root cause.
debug
Diagnose and fix bugs, errors, crashes. Triggers on fix, bug, error, crash, broken, failing requests.
logging-observability-standards
When setting up telemetry, debugging distributed systems, or standardizing application output.
debugging-strategies
When isolating and fixing unpredictable or complex software bugs.
debug
Collect failing symptom, isolate reproduction, inspect logs and code paths, propose root cause and verify with tests.