flutter-skill CLAUDE.md

Repository instructions for Flutter Skill, a bridge that lets coding agents inspect and interact with running Flutter apps through the Dart VM Service Protocol.

In plain words
What is it for?
Use it to launch a Flutter project, inspect interactive widgets, tap controls, enter text, and run integration tests.
Why use it?
It gives developers the project overview, commands, and workflow needed to connect an agent to an app and verify changes.

Instructions file

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 instructions/ai-dashboad/flutter-skill/claude-md
Clone the repo
git clone --depth 1 https://github.com/ai-dashboad/flutter-skill
Per session 2,287 This file is loaded in full into every session.
When invoked 2,287 The same file — it is already loaded in full.
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.02287 $0.02287
Opus 5 $0.01144 $0.01144
Sonnet 5 $0.00457 $0.00457
Haiku 4.5 $0.00229 $0.00229

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

Security

Grade A, and why

flutter-skill CLAUDE.md 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 2d 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.

CLAUDE.md · 245 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

Flutter Skill is a bridge that connects AI Agents to running Flutter applications via the Dart VM Service Protocol. It enables agents to inspect UI structure, perform actions (tap, scroll, enter text), and verify visual changes.

Common Commands

# Activate the CLI globally (from this repo)
dart pub global activate --source path .

# Run the CLI directly without global activation
dart run bin/flutter_skill.dart <command>

# Launch a Flutter app with auto-setup (adds dependency + patches main.dart)
flutter_skill launch /path/to/flutter_project

# Inspect interactive widgets in running app
flutter_skill inspect

# Perform actions
flutter_skill act tap "button_key"
flutter_skill act enter_text "field_key" "text value"

# Run integration tests (uses mock Flutter app)
dart run test/integration_test.dart

Architecture

The codebase has two main parts:

1. Target App Library (lib/flutter_skill.dart)

  • FlutterSkillBinding - Registers VM Service extensions in the Flutter app
  • Extensions: ext.flutter.flutter_skill.interactive, .tap, .enterText, .scroll
  • Target apps call FlutterSkillBinding.ensureInitialized() in main.dart

2. CLI/Server Tools (lib/src/)

  • lib/src/drivers/ - Framework-specific app drivers
    • app_driver.dart - Abstract AppDriver interface (connect, tap, screenshot, etc.)
    • flutter_driver.dart - FlutterSkillClient implements AppDriver — VM Service client
    • native_driver.dart - Native OS-level interaction (macOS Accessibility API, adb)
    • drivers.dart - Barrel export
  • lib/src/discovery/ - VM Service auto-discovery
    • unified_discovery.dart - Smart multi-strategy discovery orchestrator
    • process_based_discovery.dart - Discovers apps from running Flutter processes
    • dtd_service_discovery.dart - DTD-based discovery
    • quick_port_check.dart - Parallel port scanning
    • discovery.dart - Barrel export
  • lib/src/cli/ - CLI command implementations (launch, inspect, act, server, setup)
  • lib/src/diagnostics/ - Error reporting
  • MCP Server mode (cli/server.dart) - JSON-RPC interface for IDEs like Cursor

Read the full file on GitHub · 245 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. 2d ago First seen · 245 lines · 2,287 tokens per session scan A ed213110ada6

Subscribe to this mod's changes

flutter-skill CLAUDE.md is an instructions file published in the GitHub repository ai-dashboad/flutter-skill (362 stars, last pushed 12d ago), licensed MIT. It adds 2,287 tokens to every session, about $0.0114 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 instructions, from other repositories

mobile-mcp-opengl AGENTS.md

AGENTS.md instructions for antonpinchuk/mobile-mcp-opengl, covering agent instructions: mobile-mcp-opengl, never trust a vision answer as ground truth, use the free primitives for steps you don't need to observe, phrase questions for short answers and prefer logs over vision when the answer is already there.

antonpinchuk/mobile-mcp-opengl · 456 tokens

OpenTagViewer AGENTS.md

Instructions for parawanderer/OpenTagViewer, covering agents.md, what this project is, rules, 1. never ship a room schema change without a migration and 2. do not claim something works if you have not run it.

parawanderer/OpenTagViewer · 10,645 tokens

AppClaw CLAUDE.md

Instructions for appclawhq/AppClaw, covering claude.md, what is appclaw?, build & run commands, architecture and entry point & cli modes (src/index.ts).

appclawhq/AppClaw · 2,529 tokens

Librechat-Mobile CLAUDE.md

Instructions for garfiec/Librechat-Mobile, covering switchboard, tech stack, module layout, architecture rules and adding a new feature module.

garfiec/Librechat-Mobile · 1,456 tokens

scrcpy-mcp AGENTS.md

Instructions for JuanCF/scrcpy-mcp, covering agents.md, project overview, project documentation, build/lint/test commands and build the project.

JuanCF/scrcpy-mcp · 1,693 tokens

DSH-Mobile AGENTS.md

Instructions for SimonMedy/DSH-Mobile, covering agents.md — dsh mobile engineering contract, product boundary, security invariants, dependency policy and architecture.

SimonMedy/DSH-Mobile · 957 tokens