marionette-flutter-drive-app

marionette-flutter-drive-app is a skill for Claude Code, Codex from leancodepl/marionette_mcp. It costs 229 tokens per session (9,399 once invoked), scanned A, original, Apache-2.0.

A guide to driving a running Flutter app with Marionette, an app-control tool that can read the screen and perform user actions such as taps, typing, scrolling, screenshots, and hot reload.

In plain words
What is it for?
Use it to set up and manually or automatically exercise a Flutter app in debug or profile mode, inspect logs, and capture app behavior.
Why use it?
It explains how to connect the Flutter app to the control bridge and how to use either its tool-based or command-line interface during development.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to set up and manually or automatically exercise a Flutter app in debug or profile mode, inspect logs, and capture app behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leancodepl/marionette_mcp/marionette-flutter-drive-app
Install

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.

Any agent
npx skills add leancodepl/marionette_mcp --skill marionette-flutter-drive-app
Clone the repo
git clone --depth 1 https://github.com/leancodepl/marionette_mcp

Made for: Claude Code, Codex.

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 marionette-flutter-drive-app

README.md
[![agentmods](https://agentmods.dev/badge/skills/leancodepl/marionette_mcp/marionette-flutter-drive-app/github.svg)](https://agentmods.dev/skills/leancodepl/marionette_mcp/marionette-flutter-drive-app)
Your own site
<a href="https://agentmods.dev/skills/leancodepl/marionette_mcp/marionette-flutter-drive-app"><img src="https://agentmods.dev/badge/skills/leancodepl/marionette_mcp/marionette-flutter-drive-app/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 marionette-flutter-drive-app

Your own site · 80×15
<a href="https://agentmods.dev/skills/leancodepl/marionette_mcp/marionette-flutter-drive-app"><img src="https://agentmods.dev/badge/skills/leancodepl/marionette_mcp/marionette-flutter-drive-app.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 229 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,399 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.00229 $0.09399
Opus 5.5 $0.00092 $0.03760
Sonnet 5.5 $0.00046 $0.01880
Haiku 4.5 $0.00023 $0.00940

Measured 12d ago against content hash fd844252146e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

marionette-flutter-drive-app 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.

packages/marionette_flutter/skills/marionette-flutter-drive-app/SKILL.md · 637 lines

How it starts

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

marionette_flutter: drive an app

Marionette lets an AI agent drive a running Flutter app (debug or profile — never release) the way a real user would: read the screen, tap, type, scroll, screenshot, read logs, hot reload. It has two halves:

  • marionette_flutter — the package you add to the app. It registers a VM service extension per action (ext.flutter.marionette.*).
  • The bridge — either marionette_mcp (MCP tools, e.g. connect, tap, get_interactive_elements) or marionette_cli (shell commands, e.g. marionette tap --key ...). Nearly the same capabilities, different transport — the CLI additionally offers record-video, with no MCP equivalent (see the capability table, below). Prefer the MCP tools when they're in your tool list; fall back to the CLI in restricted environments (enterprise policy, a shell-only agent) — run marionette help-ai once at the start of such a session and follow its reference for exact syntax.

Everything shared between the two applies to either transport — action names differ only in casing (get_interactive_elements vs get-interactive-elements).

Preparing the app

connect (or any CLI command) only works if the target app initialized MarionetteBinding. If you're not sure whether it has, check main.dart (or ask) — skip the rest of this section if it's already there and you just need to drive the app, and jump to When to use this.

flutter pub add marionette_flutter
void main() {
  if (kDebugMode) {
    MarionetteBinding.ensureInitialized();
  } else {
    WidgetsFlutterBinding.ensureInitialized();
  }
  runApp(const MyApp());
}

This is all a standard Material-widgets app needs. It runs inside main(), so any time you add or change it, hot restart — a hot reload doesn't re-execute main(), so the change will look like it did nothing. Gate every piece of Marionette wiring behind kDebugMode (or !kReleaseMode — see Device-config sweeps, below) so none of it ships in a release build: both are compile-time constants the release branch survives cleanly.

Read the full file on GitHub · 637 lines

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. 12d ago Changed · +3 lines fd844252146e
  2. 16d ago Changed · +11 lines 2b66306f3b53
  3. 17d ago Changed · +249 lines ab4cb64b9bb4
  4. 23d ago First seen · 374 lines · 229 tokens per session scan A b54157eddd3b

Subscribe to this mod's changes

marionette-flutter-drive-app is a skill published in the GitHub repository leancodepl/marionette_mcp (487 stars, last pushed 6d ago), licensed Apache-2.0. It adds 229 tokens to every session and 9,399 once invoked, about $0.0009 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-25.

Related

Other skills, from other repositories

android-ui-journey-testing

XML-specified Android UI journey testing, interactive step execution, assertion verification, and JSON outcome reporting.

sickn33/agentic-awesome-skills · 27 tokens

android_ui_verification

Automated end-to-end UI testing and verification on an Android Emulator using ADB.

sickn33/agentic-awesome-skills · 22 tokens

solopi-ai

A command-line framework for testing Android apps and devices with SoloPi, including on-device or cloud AI decision models. It manages devices, test cases, recorded interactions, replays, performance history, and evidence.

alipay/SoloPi · 82 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

eas-simulator

Run and control a user's app on a remote iOS/Android simulator hosted on EAS cloud. Read before running any eas simulator: commands - it has the current syntax for this experimental API. Use whenever the user needs a simulator they can't run locally - 'run my app on a cloud simulator', 'use eas simulator to…

expo/skills · 243 tokens

test-native-extension

Validate a third-party control repo across four automated layers plus one printed manual recipe. Layer 1 asserts native-source structure (Android getName() and iOS +moduleName to manifest nativeModule; @ReactMethod / RCTEXPORTMETHOD to methods; no @ReactModule) plus load/init readiness (ReactPackage public no-arg…

microsoft/power-platform-skills · 211 tokens