marionette-flutter-to-patrol

marionette-flutter-to-patrol is a skill for Claude Code from leancodepl/marionette_mcp. It costs 159 tokens per session (5,666 once invoked), scanned A, original, Apache-2.0.

A guide for turning a verified Marionette app session into Patrol end-to-end tests. End-to-end tests check a complete user flow through the running Flutter app.

In plain words
What is it for?
Use it to map session actions to Patrol code, add needed widget keys and assertions, and encode the session as a Flutter end-to-end test.
Why use it?
It converts an already checked interaction flow into repeatable tests, while preserving the useful steps, checks, widget keys, and test data implied by the session.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: mentions Claude Code.

Good fit Use it to map session actions to Patrol code, add needed widget keys and assertions, and encode the session as a Flutter end-to-end test.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leancodepl/marionette_mcp/marionette-flutter-to-patrol
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-to-patrol
Clone the repo
git clone --depth 1 https://github.com/leancodepl/marionette_mcp

Made for: Claude Code.

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-to-patrol

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/leancodepl/marionette_mcp/marionette-flutter-to-patrol"><img src="https://agentmods.dev/badge/skills/leancodepl/marionette_mcp/marionette-flutter-to-patrol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,666 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.00159 $0.05666
Opus 5.5 $0.00064 $0.02266
Sonnet 5.5 $0.00032 $0.01133
Haiku 4.5 $0.00016 $0.00567

Measured 9d ago against content hash 555a42fa915e, 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-to-patrol 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 9d 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-to-patrol/SKILL.md · 461 lines

How it starts

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

marionette_flutter: Patrol tests from a session

A Marionette session is a verified script of one flow: steps.md (one line per tool call, written by the server), report.md (the driver's summary of what it tested, checked and found) and screenshots/ (the evidence). This skill covers only what that input changes about writing Patrol tests: what to encode, which widgets need keys, how each step maps to Patrol, and which assertions and data rules the report implies. Everything about Patrol itself comes from Patrol's own skills.

Load the Patrol skills first

  • patrol-write-test: the order of work, the Patrol API, key rules, waits, end assertions, native dialogs, running tests.
  • patrol-test-architecture: the testApp wrapper, Modules, System (extends PlatformAutomator), ApiClients, and the keys.dart conventions.

If they are not installed, take them from one of these:

  • Patrol's repository, with the npm skills CLI: npx skills add leancodepl/patrol/skills -s '*' -a claude-code -y. This also brings patrol-setup.
  • The patrol dependency, once a release ships a skills/ folder (4.10.0 and older do not): dart run skills@ get -p patrol -s patrol-write-test -s patrol-test-architecture.
  • In Claude Code: /plugin install flutter-patrol@leancode-ai-plugins. It carries those two skills, not patrol-setup.

If the project has no patrol_test/ yet, set Patrol up first with patrol-setup or https://patrol.leancode.co/documentation. Where this skill deviates from Patrol's rules it says so and why; declare each deviation in the hand-over, so a reviewer sees a decision, not a mistake.

The example app

The snippets use one invented app, shop_app. A customer signs in and gets Products and Cart tabs in an IndexedStack. Products shows a loading card, then tiles with an N in stock label and an Add button, and asks for the notification permission the first time. Add opens a sheet with a quantity field: a quantity above the stock shows Only N in stock. as errorText; a valid one closes the sheet with one snackbar, Added N to cart. Cart reloads when opened and lists its lines in insertion order. The backend serves the same lists to the signed-in customer; an admin endpoint removes one customer's cart line (seed control).

Read the full file on GitHub · 461 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. 9d ago First seen · 461 lines · 159 tokens per session scan A 555a42fa915e

Subscribe to this mod's changes

marionette-flutter-to-patrol is a skill published in the GitHub repository leancodepl/marionette_mcp (500 stars, last pushed 9d ago), licensed Apache-2.0. It adds 159 tokens to every session and 5,666 once invoked, about $0.0006 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-10-28.

Related

marionette-flutter-to-patrol compared with skills from other repositories

marionette-flutter-to-patrol next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
marionette-flutter-to-patrolleancodepl/marionette_mcpSkill5009d agoApache-2.0A159Claude Code
android-ui-journey-testingsickn33/agentic-awesome-skillsSkill49kyesterdayMITA27Claude Code
android_ui_verificationsickn33/agentic-awesome-skillsSkill49kyesterdayMITA22Claude Code
solopi-aialipay/SoloPiSkill6.4kyesterdayApache-2.0A82Codex
eas-simulatorexpo/skillsSkill4.1kyesterdayMITA243Claude Code, Codex
dogfoodcallstack/agent-deviceSkill5.3kyesterdayMITA55Claude Code
test-native-extensionmicrosoft/power-platform-skillsSkill1.1kyesterdayMITA211Claude Code