fluttersdk-dusk

fluttersdk-dusk is a skill for Claude Code from fluttersdk/ai. It costs 281 tokens per session (6,248 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, 2 MCP servers shipped together

Good fit Use it to navigate Flutter screens, find and tap controls, enter text, check changing states, capture screenshots, and hot-reload during development.

Compare 6 skills from other repositories ↓
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, 2 MCP servers.

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/github.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/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.

agentmods 80×15 button for fluttersdk-dusk

Your own site · 80×15
<a href="https://agentmods.dev/skills/fluttersdk/ai/fluttersdk-dusk"><img src="https://agentmods.dev/badge/skills/fluttersdk/ai/fluttersdk-dusk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 281 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,248 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00281 $0.06248
Opus 5.5 $0.00112 $0.02499
Sonnet 5.5 $0.00056 $0.01250
Haiku 4.5 $0.00028 $0.00625

Measured 5d ago against content hash 90164a295f62, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 5d 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 · 331 lines

How it starts

The opening of the file, as written. The whole thing — 331 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 !kReleaseMode-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). A dusk_observe handle also carries its position among the nodes its label matched, so candidates sharing a label stay distinct and a list of rows offering the same action can be worked row by row; that position is not an identity, so a row inserted ABOVE the list after you observed shifts every held handle down by one with no staleness signal.

  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 · 331 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. 5d ago Changed 90164a295f62
  2. 10d ago Changed 56b2ac8d3425
  3. 14d ago Changed 9ac08fb439c6
  4. 15d ago Changed 9cf74a1b3d97
  5. 23d ago Changed · +2 lines · -1 tokens per session 8b4528cc93cc
  6. 29d ago Changed 759733a98864
  7. 1mo ago Changed · +5 lines 708231c4987f
  8. 1mo ago Changed · +63 lines 951e88c17b43
  9. 1mo 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 (3 stars, last pushed 2d ago), licensed MIT. It adds 281 tokens to every session and 6,248 once invoked, about $0.0011 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-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-e2e-harness

Use this skill when writing or running repeatable E2E scenarios for Flutter apps as checked-in Dart with the fluttermcpharness package (packages/harness) — build/launch the app, attach to its VM service, drive widgets (snapshot/tap/enter text) and assert without MCP; also covers the repo showcase launcher (make…

Arenukvern/mcp_flutter · 117 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. Runs a preflight, picks local emulator/simulator/USB or a device cloud, captures screenshots/page source into a named evidence dir. Use for verifying mobile bugs, E2E tests, and navigating real device clouds (LambdaTest/BrowserStack).

HoangNguyen0403/agent-skills-standard · 71 tokens

capacitor-testing

Testing guide for Capacitor apps and plugins. Covers web-layer unit and component tests with Vitest and mocked Capacitor plugins (vi.mock('@capacitor/core'), registerPlugin), Playwright for the web build, Appium E2E with NATIVEAPP / WEBVIEW context switching, native plugin unit tests with Swift Testing vs XCTest (what…

Cap-go/capgo-skills · 257 tokens