flutter-mcp-cli-runtime-validation

flutter-mcp-cli-runtime-validation is a skill for Claude Code, Codex from Arenukvern/mcp_flutter. It costs 52 tokens per session (1,141 once invoked), scanned A, original, MIT.

A command-line workflow for validating a running Flutter app through Flutter MCP. Command-line means it is run by entering commands in a terminal rather than clicking through a graphical interface.

In plain words
What is it for?
Use it to launch a debug Flutter app, connect to its WebSocket target, validate the runtime, save visual captures, collect errors, and optionally verify a reload.
Why use it?
It provides a repeatable two-step process for launching the app and checking its runtime state. The checks can include screenshots, layout information, app errors, and reload verification.

Skill for Claude CodeCodex

Part of the flutter-mcp-toolkit plugin — 4 skills, 1 agent shipped together

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.

agentmods
npx agentmods add skills/arenukvern/mcp_flutter/flutter-mcp-cli-runtime-validation
Any agent
npx skills add Arenukvern/mcp_flutter --skill flutter-mcp-cli-runtime-validation
Clone the repo
git clone --depth 1 https://github.com/Arenukvern/mcp_flutter

Made for: Claude Code, Codex.

Or install flutter-mcp-toolkit, the plugin that ships this one along with the rest of its 4 skills, 1 agent.

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 flutter-mcp-cli-runtime-validation

README.md
[![agentmods](https://agentmods.dev/badge/skills/arenukvern/mcp_flutter/flutter-mcp-cli-runtime-validation.svg)](https://agentmods.dev/skills/arenukvern/mcp_flutter/flutter-mcp-cli-runtime-validation)
Your own site
<a href="https://agentmods.dev/skills/arenukvern/mcp_flutter/flutter-mcp-cli-runtime-validation"><img src="https://agentmods.dev/badge/skills/arenukvern/mcp_flutter/flutter-mcp-cli-runtime-validation.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,141 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 $0.00052 $0.01141
Opus 5 $0.00026 $0.00571
Sonnet 5 $0.00010 $0.00228
Haiku 4.5 $0.00005 $0.00114

Measured 4d ago against content hash 2478a3a15cb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

flutter-mcp-cli-runtime-validation 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 4d 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.

plugin/skills/flutter-mcp-cli-runtime-validation/SKILL.md · 95 lines

How it starts

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

Flutter MCP CLI Runtime Validation

Use this skill when you need agent-style runtime validation through flutter-mcp-toolkit with minimal operator steps.

Two-Step Flow

  1. Launch the Flutter app in debug mode.
  2. Run one CLI command:
dart run mcp_server_dart/bin/flutter_mcp_toolkit.dart --save-images --output-dir .flutter_mcp/runtime_validation validate-runtime \
  --target ws://127.0.0.1:8181/<token>/ws \
  --timeout-ms 10000 \
  --post-reload-delay-ms 500 \
  --after-reload

Optional skill install in the same command:

dart run mcp_server_dart/bin/flutter_mcp_toolkit.dart validate-runtime \
  --target ws://127.0.0.1:8181/<token>/ws \
  --install-skill

Permission behavior for this flow:

  • validate-runtime stays read/write only for visual capture and defaults to auto_request_once.
  • doctor remains read-only.
  • On macOS, Screen Recording permission belongs to the host process running flutter-mcp-toolkit.
  • On web: desktop_window uses macOS ScreenCaptureKit then Chrome CDP (Page.captureScreenshot); Linux/Windows use CDP when remote debugging is reachable. Pass --web-browser-debugging-port if discovery fails. For web targets, pass --flutter-device chrome so validation does not pick macOS host desktop_window by mistake.
  • Executor recovery retries host capture once (desktopCaptureRetried in screenshot payloads). If desktop_window still fails (including when platform views are detected), validate-runtime retries once with flutter_layer. Check data.summary.captureFallbackUsed.
  • You may pass the VM URI as global --vm-service-uri instead of validate-runtime --target when only one URI is needed.

What validate-runtime Must Prove

  • Doctor preflight passes critical checks.
  • Required toolkit extensions exist:
    • ext.mcp.toolkit.app_errors
    • ext.mcp.toolkit.view_details
    • ext.mcp.toolkit.view_screenshots
    • ext.mcp.toolkit.inspect_widget_at_point
  • Screenshot capture works.
  • View details (layout metadata) are available.
  • App errors are retrievable.
  • If --after-reload is enabled, post-reload screenshot also works.

Read the full file on GitHub · 95 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. 4d ago First seen · 95 lines · 52 tokens per session scan A 2478a3a15cb4

Subscribe to this mod's changes

flutter-mcp-cli-runtime-validation is a skill published in the GitHub repository Arenukvern/mcp_flutter (373 stars, last pushed 8d ago), licensed MIT. It adds 52 tokens to every session and 1,141 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.

Related

Other skills, from other repositories