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 dart-metagit 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/dart-meta)<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/dart-meta"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/dart-meta/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/dart-meta"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/dart-meta.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.00133 | $0.03757 |
| Opus 5.5 | $0.00053 | $0.01503 |
| Sonnet 5.5 | $0.00027 | $0.00751 |
| Haiku 4.5 | $0.00013 | $0.00376 |
Grade A, and why
dart-meta 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 1mo 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 — 335 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dart package:meta
Use package:meta as an API-contract and static-analysis tool, not as annotation decoration and not as a general runtime optimization mechanism.
Operating hierarchy
When expressing a contract, prefer the strongest accurate mechanism in this order:
Dart language guarantee
↓
Architecture / real privacy or package boundary
↓
Analyzer-enforced metadata contract
↓
Lint-enforced convention
↓
Documentation-only intent
Default rule:
If Dart can express the invariant directly, use Dart. If architecture/privacy can express it more strongly, use architecture/privacy. Use
metawhen analyzer/tooling can catch a realistic misuse that the stronger layers cannot express cleanly.
Specialist exceptions exist: package:meta/dart2js.dart compiler hints and RecordUse have compiler/build-tooling effects. Do not generalize those effects to ordinary meta.dart annotations.
Non-negotiable rules
- Prefer modern Dart language features over historical metadata when semantics match.
- Use an annotation only when it communicates a real contract and catches or documents a plausible misuse.
- Do not add metadata for cosmetic consistency or “more explicit” code when it provides no meaningful contract.
- Do not claim ordinary
meta.dartannotations improve Flutter rebuild speed, CPU execution, AOT, tree shaking, startup, memory, database/network performance, or binary size. - Treat
@immutableas a correctness/analyzer contract, not a Flutter optimization switch. - Distinguish final-field compliance from semantic/deep immutability; protect collection ownership when observable mutation would violate the value contract.
- Prefer
_privatefor same-library privacy. - Prefer package structure (
lib/src, curated exports) before relying on@internalas the sole package boundary. - Treat
@protectedas a supported subclass-extension contract, not Java-style access control. - Treat
@internalas API governance, not security or authorization. - Use
@visibleForTestingsparingly; test public behavior or extract a collaborator first when that creates cleaner design. - Use
@mustCallSuperonly when the superclass implementation preserves a real invariant/resource/lifecycle obligation. - Use
@mustBeOverriddenonly when retaining a concrete base implementation is intentional and every concrete subclass must still make an explicit override decision. - Use
@nonVirtualonly when the class remains intentionally extensible but one concrete member must not be overridden. - Use
@useResultonly when discarding the value is likely a programmer bug; avoid result-annotation noise. - Use
@awaitNotRequiredonly when the returnedFutureis genuinely safe to ignore under the documented contract; never use it merely to silence async lints. - Use
@experimentalfor genuinely unstable public APIs whose consumers consciously accept compatibility risk; otherwise keep the API internal. - Give deprecations actionable migration guidance and do not promise removal dates/versions without actual package policy.
- Treat metadata changes in published packages as API-design changes that can affect supported use even when method signatures stay the same.
- Avoid deprecated legacy
metaAPIs in new code except when demonstrating or performing migration. - Do not suppress meta-related analyzer diagnostics broadly just to make analysis green; first determine whether the caller, annotation, or architecture is wrong.
- Do not copy Flutter-framework annotation density into ordinary application code without framework-like extension requirements.
- Verify the annotation exists in the project's resolved
metaversion and is legal on the intended target. - Keep
metaas a direct dependency when production code underlib/imports it; do not rely on a transitive dependency. - Ordinary
metause does not require code generation orbuild_runner.
What ships with it
11 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.
- README.md 585 B
- references/annotation-combinations-performance.md 8.0 KB
- references/api-catalog.md 31 KB
- references/architecture-testing-debugging.md 6.1 KB
- references/decision-trees-review.md 23 KB
- references/flutter-package-tooling.md 14 KB
- references/immutability-visibility.md 11 KB
- references/inheritance-modern-dart.md 11 KB
- references/patterns-examples.md 10 KB
- references/results-lifecycle-deprecation.md 7.5 KB
- references/sources.md 9.3 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.
- 1mo ago First seen · 335 lines · 133 tokens per session scan A 0ed29e145e2d
dart-meta is a skill published in the GitHub repository ariaramin/flutter-skills (11 stars, last pushed 23d ago), licensed MIT. It adds 133 tokens to every session and 3,757 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.
dart-meta compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dart-metaariaramin/flutter-skills | Skill | 11 | 23d ago | MIT | A | 133 | Claude Code, Codex |
| update-v8-versionopeninterpreter/openinterpreter | Skill | 69k | yesterday | Apache-2.0 | A | 86 | Codex |
| rust-checkHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 15 | Claude Code, Codex |
| omh-rustrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 19 | Claude Code |
| use-modern-goJetBrains/go-modern-guidelines | Skill | 4.0k | 1mo ago | Apache-2.0 | A | 32 | Claude Code |
| modern-gosmallnest/pigo | Skill | 505 | 12d ago | MIT | A | 102 | Claude Code, Codex |
| cuga-contributor-workflowscuga-project/cuga-agent | Skill | 1.2k | today | Apache-2.0 | A | 97 | Claude Code, Codex |