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 agentmods add skills/ndisisnd/cook/flutternpx skills add ndisisnd/cook --skill fluttergit clone --depth 1 https://github.com/ndisisnd/cookWhat 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 | $0.00033 | $0.02288 |
| Opus 5 | $0.00016 | $0.01144 |
| Sonnet 5 | $0.00007 | $0.00458 |
| Haiku 4.5 | $0.00003 | $0.00229 |
Grade A, and why
flutter 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 yesterday.
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 — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flutter Standards
P0 — Design System Enforcement (CRITICAL)
Zero tolerance for hardcoded design values.
Before any UI work, identify the project's Theme Archetype by checking main.dart:
- Theme-Driven:
VThemeData(...).toThemeData()→ useTheme.of(context).textTheme - Token-Driven: Use static tokens (
VTypography.*) only when no global theme bridge exists or when defining the theme itself
Rules:
- Colors: Use tokens (
VColors.*,AppColors.*). NeverColor(0xFF...)orColors.red. - Spacing: Use tokens (
VSpacing.*). Never magic numbers like16or24. - Typography: Prefer
Theme.of(context).textTheme.*for adaptive UI. UseVTypography.*only for theme definitions. Never inlineTextStyle. - Borders: Use tokens (
VBorders.*). Never rawBorderRadius.circular(n). - Components: Use DLS widgets (
VButton) over raw Material widgets (ElevatedButton) when available.
Detail → refs/design-system.md
P0 — Error Handling (CRITICAL)
- Repositories return
Either<Failure, T>— no exceptions propagate to UI or BLoC. - Catch in Infrastructure only — convert
DioException/ external errors to typedLeft(Failure). - Fold in BLoC —
.fold(failure, success)to emit states. No try/catch in BLoC. - Typed failures —
@freezedunion failures (e.g.,UnauthorizedFailure). NeverLeft('string'). - Crashlytics routing — all
catchblocks route viaAppLogger.error(...)for observability. on Type catch— never barecatchwithouton.
Detail → refs/error-handling.md
P1 — Widgets (OPERATIONAL)
- State: Use
StatelessWidgetby default.StatefulWidgetonly for local state/controllers. - Composition: Extract UI into small, atomic
constwidgets. - Theming: Use
Theme.of(context). No hardcoded colors. - Layout: Use
Flex+Gap/SizedBox. - Widget Keys: All interactive elements must use keys from
widget_keys.dart. - File Size: If a UI file exceeds ~80 lines, extract sub-widgets into private classes.
- Specialized:
SelectionArea: For multi-widget text selection.InteractiveViewer: For zoom/pan.ListWheelScrollView: For pickers.IntrinsicWidth/Height: Avoid unless strictly required; for overlays preferStack + FractionallySizedBox.
- Large Lists: Always use
ListView.builder.
What ships with it
14 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.
- _INDEX.md 3.7 KB
- refs/architecture.md 7.7 KB
- refs/cicd.md 7.2 KB
- refs/concurrency.md 4.2 KB
- refs/dependency-injection.md 2.5 KB
- refs/design-system.md 7.6 KB
- refs/error-handling.md 3.2 KB
- refs/localization.md 2.6 KB
- refs/navigation.md 8.6 KB
- refs/networking.md 3.3 KB
- refs/notifications.md 3.7 KB
- refs/security.md 2.6 KB
- refs/state-management.md 7.9 KB
- refs/testing.md 16 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.
- yesterday First seen · 143 lines · 33 tokens per session scan A 15cdd9de4df2
flutter is a skill published in the GitHub repository ndisisnd/cook (2 stars, last pushed 22d ago), licensed MIT. It adds 33 tokens to every session and 2,288 once invoked, about $0.0002 per session on Opus 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-31.
Other skills, from other repositories
pre-landing-review
Pre-landing PR review. Analyzes diff against the base branch for SQL safety, LLM trust boundary violations, conditional side effects, and other structural issues. Use when explicitly asked for the specialized pre-landing workflow. Product /review requests are handled by BitFun's unified Review mechanism instead.…
wechat-article-writer
公众号/自媒体全流程。根据用户表述自动匹配:撰写文章、封面图、正文插图、风格提取。支持多种写作风格。当用户提到写公众号、技术博客、公众号封面、正文插图、步骤图、演示图、流程示意、分析写作风格、克隆文风、模仿爆款、提取风格时使用。详见 reference 目录。.
miniapp-dev
Develops, maintains, and generates BitFun MiniApps (Zero-Dialect Runtime). Use when (1) working on miniapp framework code under src/crates/assembly/core/src/miniapp/ or src/web-ui/src/app/scenes/miniapps/; or (2) generating / creating / designing a NEW MiniApp for the user — including any request like "做一个小应用 / 生成…
vibe-research
Deep research and market validation for app ideas. Use when starting a new project, validating an idea, or when the user says "research my idea", "validate my app", or "help me start a new project".
commit-push-pr
Commit selected local changes, push the branch, and create or update a GitHub pull request with BitFun attribution. Use when the user asks to 提交 PR、提代码、commit and push、开 PR、create a pull request, or wants a Claude Code-like one-command PR publishing flow from BitFun.
investigate
Systematic debugging with root cause investigation. Four phases: investigate, analyze, hypothesize, implement. Iron Law: no fixes without root cause. Use when asked to "debug this", "fix this bug", "why is this broken", "investigate this error", or "root cause analysis". Proactively invoke this skill (do NOT debug…