flutter-app-debug

flutter-app-debug is a skill for Claude Code, Codex from eaglesakura/agent-skills. It costs 184 tokens per session (1,395 once invoked), scanned A, original, MIT.

A Flutter app launch and debugging guide for running an app on a physical device or emulator and inspecting its live state.

In plain words
What is it for?
Use it to start or attach to a Flutter app, inspect errors and the widget tree, and run hot reload, hot restart, or automated Flutter checks.
Why use it?
It helps connect to the intended device and debug runtime errors without confusing Flutter’s different debugging connections.

Skill for Claude CodeCodex

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/eaglesakura/agent-skills/flutter-app-debug
Any agent
npx skills add eaglesakura/agent-skills --skill flutter-app-debug
Clone the repo
git clone --depth 1 https://github.com/eaglesakura/agent-skills

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 flutter-app-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/eaglesakura/agent-skills/flutter-app-debug.svg)](https://agentmods.dev/skills/eaglesakura/agent-skills/flutter-app-debug)
Your own site
<a href="https://agentmods.dev/skills/eaglesakura/agent-skills/flutter-app-debug"><img src="https://agentmods.dev/badge/skills/eaglesakura/agent-skills/flutter-app-debug.svg" alt="Measured on agentmods" height="20"></a>
Per session 184 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,395 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.00184 $0.01395
Opus 5 $0.00092 $0.00698
Sonnet 5 $0.00037 $0.00279
Haiku 4.5 $0.00018 $0.00139

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

Security

Grade A, and why

flutter-app-debug 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 3d 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/flutter/.apm/skills/flutter-app-debug/SKILL.md · 120 lines

How it starts

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

Flutter / アプリデバッグ・起動、アタッチ

起動構成とデバイスを確定し、flutter run --print-dtd で起動したうえで Dart MCP(DTD)から内部状態を検査・操作する。 黒箱の画面操作フローは Maestro MCP 側であり、本 SKILL と混同しない。

いつ使うか

  • 実機 / シミュレータでアプリを起動して確認したいとき
  • ランタイムエラー、Widget ツリー、ホットリロードでデバッグしたいとき
  • 既に起動中のアプリへ DTD アタッチしたいとき

手順概要

  1. launch.json から起動構成を読む
  2. デバイスを1つに確定する
  3. flutter run --print-dtd で起動する(または既存 DTD にアタッチ)
  4. Dart MCP の dtd で接続し、目的の検査・操作を行う

コマンド実行時は、プロジェクト規定のツールチェイン(あれば)に従う。

Flutter の起動構成の把握

  • .vscode/launch.json を読む
  • typedart かつ requestlaunch の構成を起動構成とする
    • flutterMode があればそれを実行モード(debug / profile / release)とする
    • 無ければ debug
  • cwd / program / args / deviceId を引き継ぐ
    • args--flavor--dart-define-from-file 等は省略しない

起動対象の把握

flutter devices
  • 文脈・プロンプトからデバイスを決める
    • 1台だけならそれを使う
    • launch 構成の deviceId があれば優先
  • 対象は常に 1つ
    • 判別不能なら次を出して中断する
起動対象のデバイスを確定できませんでした。
対象デバイスを指定してください。

実行

アプリを起動する

  • Dart MCP に起動ツールが無い/無効な場合はシェルの flutter run を使う
  • --print-dtd は必須(後続の MCP 接続用)
  • cwd を作業ディレクトリにし、programargs を引き継ぐ
  • profile / release ならそれぞれ --profile / --release を付ける
flutter run -d ${deviceId} --print-dtd ${modeFlags} ${program} ${args}
  • ログの DTD URIws://...)を控える
    • http://... の VM Service URI は DTD ではない。混同しない

起動中のアプリにアタッチする

DTD URI を取得する

次の順で確定する。

  1. 直前の flutter run --print-dtd 出力
  2. プロンプトやユーザー指示
  3. Dart MCP の dtdlistDtdUris
    • working dir がホームに見える DTD は IDE 起動アプリ候補として優先してよい

不明なら次を出して終了する。

DTD URIが認識できませんでした。
DTD URIを指定してください。

例: `ws://127.0.0.1:63514/...`
DTD に接続する
  • Dart MCP の dtdconnect(必要なら先にツールスキーマを確認する)
  • listConnectedApps で接続済みを確認してよい
  • 複数アプリがある場合は操作対象の appUri を明示する
アプリを制御・検証する
ツール 用途
get_runtime_errors ランタイムエラー確認
widget_inspector Widget ツリー・選択状態
flutter_driver_command タップ・入力・スクショ等
hot_reload / hot_restart 変更反映
  • flutter_driver_command の前に widget_inspectorget_widget_tree)で実在 Widget を確認し、推測セレクタを作らない
  • Dart MCP: Flutter 内部の状態・エラー・Widget
  • Maestro MCP: 端末上の黒箱 UI 操作(本 SKILL と用途を混ぜない)

Read the full file on GitHub · 120 lines

Files

What ships with it

1 file 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. 3d ago First seen · 120 lines · 184 tokens per session scan A 9b355abce1e8

Subscribe to this mod's changes

flutter-app-debug is a skill published in the GitHub repository eaglesakura/agent-skills (2 stars, last pushed 9d ago), licensed MIT. It adds 184 tokens to every session and 1,395 once invoked, about $0.0009 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-31.

Related

Other skills, from other repositories

orca-emulator-android

Control an Android emulator / device from inside Orca using the orca CLI. Use for listing/booting AVDs, taps, swipes, typing, hardware buttons (incl. Back and Recents), rotation, app install/launch, runtime permissions, the accessibility tree, and logcat — driving a real adb-connected device or emulator.…

stablyai/orca · 104 tokens

android-tombstone-symbolication

Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app…

dotnet/skills · 176 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

winapp-maui

Package and sign .NET MAUI Windows apps with winapp, resolving the resizetizer manifest dependency. Use when packaging or signing a .NET MAUI Windows app, building a MAUI MSIX or signed unpackaged build in CI, or fixing 'manifest contains unresolved placeholders ($placeholder$)' errors from winapp package.

microsoft/winappCli · 71 tokens

android-pentest

安卓应用渗透测试 — APK分析、Hook、自动化测试、运行态驱动、签名恢复、抓包分析.

Netw0rkNoob/VulnClaw · 32 tokens

react-native-ease-refactor

Scan for Animated/Reanimated code and migrate to EaseView.

appandflow/react-native-ease · 18 tokens