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 lugassawan/swe-workbench --skill language-dartgit clone --depth 1 https://github.com/lugassawan/swe-workbenchWrote 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/lugassawan/swe-workbench/language-dart)<a href="https://agentmods.dev/skills/lugassawan/swe-workbench/language-dart"><img src="https://agentmods.dev/badge/skills/lugassawan/swe-workbench/language-dart/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/lugassawan/swe-workbench/language-dart"><img src="https://agentmods.dev/badge/skills/lugassawan/swe-workbench/language-dart.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.00058 | $0.01260 |
| Opus 5.5 | $0.00023 | $0.00504 |
| Sonnet 5.5 | $0.00012 | $0.00252 |
| Haiku 4.5 | $0.00006 | $0.00126 |
Grade A, and why
language-dart 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 — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dart
Null safety
- Sound null safety is on by default (Dart ≥2.12) — no unsound nulls sneak through.
- Non-nullable is the default; append
?only when a value can genuinely be absent (String? name). latedefers initialization for values assigned before first read (DI fields,initStatefields) — alatefield read before assignment throws.!(null-assertion) asserts non-null; prefer narrowing (if (x != null)) or?./??over!, since!throws at runtime.??=for lazy default assignment;??for fallback expressions.
String greet(String? name) => 'Hello, ${name ?? 'stranger'}';
Async — Futures and Streams
Future<T>wraps a value that arrives later;async/awaitreads like sync code.- Unhandled Future errors surface as unhandled exceptions — always
try/catcharoundawait, or attach.catchError. Stream<T>models a sequence over time;await forconsumes it,StreamControllerproduces it.Completer<T>bridges callback-based APIs into aFuture.Future.wait([...])for concurrent futures; don'tawaitsequentially in a loop when the work is independent.
Future<User> fetchUser(String id) async {
try {
final res = await api.get('/users/$id');
return User.fromJson(res.data);
} on DioException catch (e) {
throw UserFetchException(id, e);
}
}
Widget composition
StatelessWidgetis the default; reach forStatefulWidgetonly when the widget owns mutable state across rebuilds.build()must be pure and fast — no side effects, no I/O; it can run many times per frame.- Compose small widgets instead of deep inheritance — extract a widget class, not a private
_buildX()method, when it needs its ownconstor rebuild boundary. constconstructors on leaf widgets let Flutter skip rebuilding subtrees whose inputs didn't change.- Pass a
Key(ValueKey,ObjectKey) when reordering or diffing a list of like-typed widgets, or state attaches to the wrong element.
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.
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 · 92 lines · 58 tokens per session scan A c0f89e6bc22b
language-dart is a skill published in the GitHub repository lugassawan/swe-workbench (3 stars, last pushed yesterday), licensed MIT. It adds 58 tokens to every session and 1,260 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
wasm
WebAssembly (WASM) integration, WASI, component model, Rust/Go to WASM compilation. Use when implementing WASM modules, browser/edge compute, or polyglot runtime.
language-idioms-refiner
Facilitate a structured conversation to define language-specific idioms and patterns for a repository. Produces a language-idioms.md document consumed by multiple atoms to adapt pseudocode defaults to the project's language. Use when setting up a new project, switching languages, or when the user says 'setup…
functions-development
Build serverless Go or Python functions for Falcon Foundry apps. TRIGGER when user asks to "create a function", "write a serverless function", "build backend logic", runs foundry functions create, or needs help with FDK handler patterns, function testing, or collection integration from functions. Also TRIGGER when…
go-core-idioms
Use when writing or reviewing idiomatic sequential Go — error handling, slog logging, generics, interfaces, style. Not for concurrency (go-concurrency).
go-testing-quality
Use when writing or reviewing Go tests, adding coverage, benchmarking, or profiling a Go program. Not for CI/lint wiring (go-tooling-security) or non-Go tests.
go-standard
A Go programming style guide based on Go's standard library. It covers project structure, naming, error handling, and tests.