Flutter Agent Plugins is a collection maintained by the Flutter team that extends coding agents with Flutter-specific skills, rules, MCP configuration, and bundled workflows. Flutter developers use it to help agents perform tasks such as testing and building widget previews. The catalogue entries are components of these agent plugins.
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 flutter/agent-plugins --skill dart-fix-runtime-errorsgit clone --depth 1 https://github.com/flutter/agent-pluginsWrote 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/flutter/agent-plugins/dart-fix-runtime-errors)<a href="https://agentmods.dev/skills/flutter/agent-plugins/dart-fix-runtime-errors"><img src="https://agentmods.dev/badge/skills/flutter/agent-plugins/dart-fix-runtime-errors/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/flutter/agent-plugins/dart-fix-runtime-errors"><img src="https://agentmods.dev/badge/skills/flutter/agent-plugins/dart-fix-runtime-errors.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector pass
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.00036 | $0.01491 |
| Opus 5.5 | $0.00014 | $0.00596 |
| Sonnet 5.5 | $0.00007 | $0.00298 |
| Haiku 4.5 | $0.00004 | $0.00149 |
Grade A, and why
dart-fix-runtime-errors 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 3mo 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.
Copies of this mod
2 near-identical copies found in the catalogue:
- dart-fix-runtime-errors — 100% identical, 0 lines differ
- dart-fix-runtime-errors — 97% identical, 11 lines differ
How it starts
The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Resolving Dart Static Analysis Errors
Contents
Core Concepts & Guidelines
Type System & Soundness
Enforce Dart's sound type system to prevent runtime invalid states.
- Method Overrides: Maintain sound return types (covariant) and parameter types (contravariant). Never tighten a parameter type in a subclass unless explicitly marked with the
covariantkeyword. - Generics & Collections: Add explicit type annotations to generic classes (e.g.,
List<T>,Map<K, V>). Never assign aList<dynamic>to a typed list (e.g.,List<Cat>). - Downcasting: Avoid implicit downcasts from
dynamic. Use explicit casts (e.g.,as List<Cat>) when necessary, but ensure the underlying runtime type matches to preventTypeErrorexceptions. - Strict Casts: Enable
strict-casts: trueinanalysis_options.yamlunderanalyzer: language:to force explicit casting and catch implicit downcast errors at compile time.
Null Safety
Eliminate static errors related to null safety by correctly managing variable initialization and nullability.
- Modifiers: Apply
?for nullable types,!for null assertions, andrequiredfor named parameters that cannot be null. - Late Initialization: Use the
latekeyword for non-nullable variables guaranteed to be initialized before use. Apply this specifically to top-level or instance variables where Dart's control flow analysis cannot definitively prove initialization. - Wildcards: Use the
_wildcard variable (Dart 3.7+) for non-binding local variables or parameters to avoid unused variable warnings.
Error Handling
Distinguish between recoverable exceptions and unrecoverable errors.
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.
- 3mo ago First seen · 167 lines · 36 tokens per session scan A 0c18be0cbda9
dart-fix-runtime-errors is a skill published in the GitHub repository flutter/agent-plugins (3,222 stars, last pushed 12d ago), licensed BSD-3-Clause. It adds 36 tokens to every session and 1,491 once invoked, about $0.0001 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-08-30.
dart-fix-runtime-errors compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dart-fix-runtime-errorsflutter/agent-plugins | Skill | 3.2k | 12d ago | BSD-3-Clause | A | 36 | Claude Code |
| dotnet-reversezhaoxuya520/reverse-skill | Skill | 46k | 16d ago | MIT | A | 144 | Claude Code |
| agents-sdk-dotnet-debuggingmicrosoft/Agents | Skill | 1.1k | 5d ago | MIT | A | 136 | Claude Code |
| memory-optimizationbenchflow-ai/skillsbench | Skill | 1.9k | 6d ago | Apache-2.0 | A | 60 | Claude Code, Codex |
| golang-error-handlingsamber/cc-skills-golang | Skill | 4.0k | 22d ago | MIT | A | 144 | Claude Code |
| tree-sitter-language-pack-extracting-code-structurexberg-io/tree-sitter-language-pack | Skill | 489 | yesterday | MIT | A | 52 | Claude Code |
| python-lspoaustegard/claude-skills | Skill | 421 | yesterday | MIT | A | 155 | Claude Code |