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/joker-x-dev/flutterkit/fkit-previewnpx skills add Joker-x-dev/FlutterKit --skill fkit-previewgit clone --depth 1 https://github.com/Joker-x-dev/FlutterKitWhat 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.00069 | $0.00417 |
| Opus 5 | $0.00034 | $0.00209 |
| Sonnet 5 | $0.00014 | $0.00083 |
| Haiku 4.5 | $0.00007 | $0.00042 |
Grade A, and why
fkit-preview 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 2d 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.
What it actually says
FKit Preview
必读资料
先阅读 AGENTS.md、docs/flutter-kit/扩展/widget-preview.md、docs/flutter-kit/业务功能/view.md,再检查:
lib/core/ui/preview/app_preview_annotations.dartlib/core/ui/preview/app_preview.dart- 当前 Feature 已有 Preview
test/core/ui/preview/feature_preview_test.dart
工作流
- 区分完整页面和独立组件。完整页面默认使用
@ResponsivePreview(),组件使用@WidgetPreview();只在明确需要单设备时使用 Mobile、Tablet 或 Foldable 注解。 - 将顶层
previewXxx函数放在当前 View/Widget 文件末尾,保持右侧预览聚焦当前文件。 - 页面通过构造参数注入 Logic,不依赖路由 Binding;不要为预览新增大量回调参数或复制 Content Widget。
- 网络、分页和刷新页面写入稳定的 Preview Data,并切换到成功状态;禁止真实网络、数据库或异步初始化。
- 组件使用真实业务模型的静态预览数据。组件正式 API 没有点击事件时,不为预览伪造
onTap。 - 检查手机、折叠屏、平板以及工具栏深浅色切换。
验证
运行 test/core/ui/preview/feature_preview_test.dart 与相关 Widget 测试。确认预览可独立构建、没有 overflow、没有 GetX 注册缺失,也没有真实外部请求。
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.
- 2d ago First seen · 29 lines · 69 tokens per session scan A e0a19f54ebba
fkit-preview is a skill published in the GitHub repository Joker-x-dev/FlutterKit (110 stars, last pushed 1mo ago), licensed MIT. It adds 69 tokens to every session and 417 once invoked, about $0.0003 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-30.
Other skills, from other repositories
design-guide
Paperclip UI design system guide for building consistent, reusable frontend components. Use when creating new UI components, modifying existing ones, adding pages or features to the frontend, styling UI elements, or when you need to understand the design language and conventions. Covers: component creation, design…
gstack-openclaw-office-hours
Use when asked to brainstorm, evaluate whether an idea is worth building, run office hours, or think through a new product idea or design direction before any code is written.
accessibility
Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.
deck-course-module
暖纸背景 + Playfair, 左侧学习目标常驻, 含 MCQ 自测页.
desktop-principles
Desktop-specific UX principles - hover states, pointer precision, keyboard shortcuts, multi-window, focus management. Covers macOS, Windows, Linux, web desktop.
ios-hig-design
Design native iOS interfaces following Apple Human Interface Guidelines. Use when the user mentions "iPhone app", "iPad layout", "SwiftUI", "UIKit", "Dynamic Island", "safe areas", "HIG compliance", "SF Symbols", "haptic feedback", "iOS accessibility", "make my app feel native", or "follow Apple design guidelines".…