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 cosmix/loom --skill loom-dartgit clone --depth 1 https://github.com/cosmix/loomWrote 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/cosmix/loom/loom-dart)<a href="https://agentmods.dev/skills/cosmix/loom/loom-dart"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-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/cosmix/loom/loom-dart"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-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.00016 | $0.05628 |
| Opus 5.5 | $0.00006 | $0.02251 |
| Sonnet 5.5 | $0.00003 | $0.01126 |
| Haiku 4.5 | $0.00002 | $0.00563 |
Grade A, and why
loom-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 12d 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 — 468 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dart Language Expertise
Overview
Idiomatic, production-grade Dart 3 and Flutter: pub packages, sound null safety, records and patterns, futures and streams, isolates, and the widget lifecycle. Assumes the reader knows the syntax. The value is in what is easy to get wrong: unawaited futures, public fields that never promote, BuildContext used after an await, futures created in build, isolate message copying, and a test filter that matches by substring.
Tooling
dart (or flutter in a Flutter project) is the build tool, package manager, formatter, analyzer and test runner in one.
| Task | Command |
|---|---|
| New package | dart create -t package spool / flutter create --template=package spool / flutter create app |
| Add / remove dep | dart pub add path / dart pub remove path (flutter pub add in Flutter projects) |
| Add dev dep | dart pub add dev:test |
| Resolve | dart pub get (--enforce-lockfile in CI fails on drift from pubspec.lock) |
| Outdated / upgrade | dart pub outdated / dart pub upgrade --major-versions |
| Format | dart format . |
| Analyze | dart analyze --fatal-infos / flutter analyze |
| Apply fixes | dart fix --apply |
| Code generation | dart run build_runner build --delete-conflicting-outputs |
| Test, whole suite (the stage gate's) | dart test / flutter test; the changed code: dart test test/x_test.dart / flutter test test/x_test.dart |
| Native binary | dart compile exe bin/spool.dart -o spool |
- Use
dart pub addsopubspec.yamlandpubspec.lockstay in step. Commitpubspec.lockfor applications. - Monorepos (3.6+): a root
pubspec.yamllistsworkspace: [packages/a, packages/b]and each member declaresresolution: workspace, giving one shared resolution and one lockfile. - Generated files (
*.g.dart,*.freezed.dart) come frombuild_runner; never edit them by hand.
# analysis_options.yaml
include: package:lints/recommended.yaml # Flutter: package:flutter_lints/flutter.yaml
analyzer:
language:
strict-casts: true # no implicit downcast from dynamic
strict-inference: true
strict-raw-types: true
errors:
unawaited_futures: error
linter:
rules:
- unawaited_futures
- discarded_futures
- cancel_subscriptions
- close_sinks
- avoid_print
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.
- 12d ago Changed e2b0d1659ca7
- 2mo ago First seen · 468 lines · 16 tokens per session scan A 7af253889868
loom-dart is a skill published in the GitHub repository cosmix/loom (66 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 5,628 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-09-26.
loom-dart compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| loom-dartcosmix/loom | Skill | 66 | yesterday | MIT | A | 16 | Claude Code, Codex |
| capacitor-plugin-spm-supportCap-go/capgo-skills | Skill | 79 | 19d ago | MIT | A | 218 | Claude Code |
| idiomatic-goTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 137 | Claude Code |
| go-documentationTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 98 | Claude Code |
| cocoapods-to-spmCap-go/capgo-skills | Skill | 79 | 19d ago | MIT | C | 203 | Claude Code |
| SwiftUI Conventionsniels-emmer/myace | Skill | 1 | yesterday | MIT | A | 21 | Claude Code, Codex |
| Jetpack Compose Conventionsniels-emmer/myace | Skill | 1 | yesterday | MIT | A | 24 | Claude Code, Codex |