fluttersdk-dusk

fluttersdk-dusk is a skill for Claude Code from fluttersdk/ai. It costs 282 tokens per session (4,868 once invoked), scanned A, original, MIT.

A driver for controlling a running Flutter app through its accessibility tree and a connected development service. It can identify interface elements, perform gestures, wait for conditions, take screenshots, and reload the app.

In plain words
What is it for?
Use it to navigate Flutter screens, find and tap controls, enter text, check changing states, capture screenshots, and hot-reload during development.
Why use it?
It lets an AI agent inspect and interact with a running app without writing a test file or rebuilding between actions.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is dart run fluttersdk_dusk dusk:install # patches main.dart, scaffolds ./bin/fsa.

Part of the fluttersdk plugin — 6 skills, 1 command, 2 agents, 1 MCP server shipped together

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/fluttersdk/ai
agentmods
npx agentmods add skills/fluttersdk/ai/fluttersdk-dusk

Made for: Claude Code.

Or install fluttersdk, the plugin that ships this one along with the rest of its 6 skills, 1 command, 2 agents, 1 MCP server.

Wrote 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.

agentmods badge for fluttersdk-dusk

README.md
[![agentmods](https://agentmods.dev/badge/skills/fluttersdk/ai/fluttersdk-dusk.svg)](https://agentmods.dev/skills/fluttersdk/ai/fluttersdk-dusk)
Your own site
<a href="https://agentmods.dev/skills/fluttersdk/ai/fluttersdk-dusk"><img src="https://agentmods.dev/badge/skills/fluttersdk/ai/fluttersdk-dusk.svg" alt="Measured on agentmods" height="20"></a>
Per session 282 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,868 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00282 $0.04868
Opus 5 $0.00141 $0.02434
Sonnet 5 $0.00056 $0.00974
Haiku 4.5 $0.00028 $0.00487

Measured 6d ago against content hash ea212c90210e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

fluttersdk-dusk 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 6d 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.

skills/fluttersdk-dusk/SKILL.md · 261 lines

How it starts

The opening of the file, as written. The whole thing — 261 lines — stays where its author put it; the contents beside it link to each section on GitHub.

fluttersdk_dusk

End-to-end driver for Flutter apps, designed for LLM agents. The running app exposes a ext.dusk.* VM Service surface plus an MCP server; the agent calls dusk_* tools (or ./bin/fsa dusk:* from a shell) to snap the Semantics tree, mint ref tokens, gesture against them, wait for conditions, screenshot, and hot-reload, all without a test file or rebuild between actions.

This skill assumes the app already has dusk installed (a kDebugMode-gated DuskPlugin.install() in lib/main.dart, the MCP server in .mcp.json). If not, run dart run fluttersdk_dusk dusk:install once from the app root and verify with ./bin/fsa dusk:doctor.

1. Core Laws

  1. Two ref token spaces. e<N> (snapshot-frozen, minted by dusk_snap) are deduped by SemanticsNode.id: the same widget across consecutive snaps returns the same e<N> and the ref stays valid as long as the node remains mounted. They become defunct when the node unmounts (navigation, conditional render, list rebuild). q<N> (re-resolvable, minted by dusk_find / dusk_observe) store a predicate and re-walk the live tree on every action. Use e<N> right after the snap that minted them when the UI is static. Reach for q<N> whenever the action might retry, the UI animates, or the agent holds the ref across a navigation. Never mix the spaces (no e<N> from find, no q<N> from snap).

  2. The 6-step actionability gate is mandatory. Every tap, hover, drag, dblclick, right_click, triple_click, and type is gate-checked in this order: (0) defunct, (1) enabled, (2) zero-rect, (3) off-viewport (auto-scrolls when a Scrollable ancestor exists, then re-checks), (4) stable (2-frame rect drift, 0.5px threshold), (5) receives-events (hit-test path includes the target). Steps 4 and 5 accept checkStable: false / checkReceivesEvents: false overrides for flaky animations or known overlays. scroll, select_option, and press_key skip the gate by design.

Read the full file on GitHub · 261 lines

Files

What ships with it

5 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.

Changes

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.

  1. 6d ago First seen · 261 lines · 282 tokens per session scan A ea212c90210e

Subscribe to this mod's changes

fluttersdk-dusk is a skill published in the GitHub repository fluttersdk/ai (2 stars, last pushed 3d ago), licensed MIT. It adds 282 tokens to every session and 4,868 once invoked, about $0.0014 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.

Related

Other skills, from other repositories

flutter-testing

Write, fix, review, debug, and validate Flutter tests for apps, packages, and plugins. Use when adding unit tests, widget tests, integration tests, MethodChannel or plugin mocks, Mockito or mocktail test doubles, golden or accessibility checks, CI test commands, test failures, MissingPluginException, pump or…

MADTeacher/mad-agents-skills · 93 tokens

flutter-mcp-toolkit-control

Drive a running Flutter app — tap, scroll, type, fill forms, hot-reload, navigate. Use when you need to interact with the UI.

Arenukvern/mcp_flutter · 38 tokens

flutter-mcp-cli-runtime-validation

Run Flutter MCP runtime validation from CLI in two steps (launch app, then run validate-runtime), including toolkit-extension gating, screenshot/layout capture, app error collection, optional reload verification, and retry handling for transient first-connect failures.

Arenukvern/mcp_flutter · 52 tokens

quality-engineering-appium-mcp

Drives iOS/Android mobile devices via Appium MCP. Use for verifying mobile bugs, E2E tests, and navigating real device clouds (LambdaTest/BrowserStack).

HoangNguyen0403/agent-skills-standard · 44 tokens

t-flutter-demo-run-all

Run all Android Patrol user-story demo files with resumable checkpoints.

timzaak/web-dev-skills · 20 tokens

e2e-testing-mobile

Plans, generates, runs, and heals end-to-end tests for Expo and React Native mobile apps using Maestro (the 2026 standard for RN E2E, adopted by Meta, Microsoft, and DoorDash, and integrated with Expo via EAS Workflows). Drives a spec-first YAML-flow loop, proposes testID source diffs (never accessibilityLabel reuse)…

mthines/agent-skills · 202 tokens