maui-labs: Skill for Claude Code

.github/skills/maui-devflow-debug/SKILL.md

maui-devflow-debug is a skill for Claude Code, Codex from dotnet/maui-labs. It costs 141 tokens per session (1,126 once invoked), scanned A, original, MIT.

A guide for actively debugging .NET MAUI apps after MAUI DevFlow has been installed and connected. It supports repeated build, deployment, inspection, and correction cycles on multiple platforms.

In plain words
What is it for?
Use it to select devices, inspect or interact with screens, capture screenshots, debug embedded Blazor web views, investigate logs and network activity, and fix app bugs iteratively.
Why use it?
It brings app launching, device control, screen inspection, logs, and connection recovery into one debugging workflow.

Skill for Claude CodeCodex

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

This is dotnet/maui-labs's own configuration. It tells Claude Code and Codex how to work on maui-labs itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything maui-labs configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dotnet/maui-labs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dotnet/maui-labs/main/.github/skills/maui-devflow-debug/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dotnet/maui-labs

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 maui-devflow-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/dotnet/maui-labs/maui-devflow-debug.svg)](https://agentmods.dev/skills/dotnet/maui-labs/maui-devflow-debug)
Your own site
<a href="https://agentmods.dev/skills/dotnet/maui-labs/maui-devflow-debug"><img src="https://agentmods.dev/badge/skills/dotnet/maui-labs/maui-devflow-debug.svg" alt="Measured on agentmods" height="20"></a>
Per session 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,126 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.00141 $0.01126
Opus 5 $0.00071 $0.00563
Sonnet 5 $0.00028 $0.00225
Haiku 4.5 $0.00014 $0.00113

Measured yesterday against content hash 98ffb81242cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

maui-devflow-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 yesterday.

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.

.github/skills/maui-devflow-debug/SKILL.md · 97 lines

How it starts

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

DevFlow Debug

Use this skill for the active debugging loop after a MAUI app has DevFlow packages and builder.AddMauiDevFlowAgent() registered.

When to Use

  • Build and run a MAUI app on Android, iOS, Mac Catalyst, macOS, Windows, or GTK.
  • Choose or create a simulator/emulator for a project.
  • Wait for a DevFlow agent, inspect the visual tree, tap/fill UI, or capture screenshots.
  • Recover from DevFlow connection failures after the app is integrated, including broker, port, and Android adb forwarding issues.
  • Debug Blazor Hybrid content through DevFlow WebView/CDP commands.
  • Read app logs, network captures, preferences, device info, or recordings through DevFlow.
  • Iterate on an app bug with a build -> deploy -> inspect -> fix loop.

Route Elsewhere

  • If DevFlow packages or MauiProgram.cs registration are missing, use maui-devflow-onboard.
  • If the failure is a generic build or SDK issue with no DevFlow angle, use normal .NET/MAUI diagnostics.

Core Loop

  1. Confirm the app is already integrated:

    grep -rl "Microsoft.Maui.DevFlow" --include="*.csproj" .
    

    If no project has DevFlow package references, stop and switch to maui-devflow-onboard.

  2. Pick the target framework and launch target. Do not assume net10.0; inspect the project first.

    grep -i "TargetFramework" *.csproj Directory.Build.props 2>/dev/null
    
  3. Start or select the device/emulator. For Android and iOS, avoid reusing a simulator/emulator that is already running another app under investigation.

  4. Launch the app and keep the launch process alive when required.

    • iOS, Android, and Mac Catalyst dotnet build -t:Run usually block for the app lifetime.
    • GTK dotnet run blocks for the app lifetime.
    • macOS AppKit builds can exit after compiling; launch the .app separately.
  5. Wait for the DevFlow agent before inspecting UI:

    maui devflow wait
    maui devflow ui tree --depth 3 --fields "id,type,text,automationId"
    

Read the full file on GitHub · 97 lines

Files

What ships with it

8 files 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. yesterday Changed · -15 lines · +56 tokens per session 98ffb81242cc
  2. 7d ago First seen · 112 lines · 85 tokens per session scan A baea4c116044

Subscribe to this mod's changes

maui-devflow-debug is a skill published in the GitHub repository dotnet/maui-labs (213 stars, last pushed 2d ago), licensed MIT. It adds 141 tokens to every session and 1,126 once invoked, about $0.0007 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

argent-metro-debugger

Debug a JS runtime via CDP using argent debugger tools. Primary path is React Native via Metro (iOS / Android / Vega); a subset of the tools (debugger-connect, debugger-status, debugger-evaluate, debugger-log-registry) also drive a Chromium (CDP) app's renderer (an Electron app, or any Chromium browser exposing CDP)…

software-mansion/argent · 104 tokens

argent-react-native-optimization

Optimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical issues. Entry-point for all performance work. Use when the app feels slow, user asks to optimize, fix re-renders, reduce jank, or improve startup. Delegates to argent-react-native-profiler for measurement.

software-mansion/argent · 71 tokens

argent-native-profiler

Native profiling for CPU hotspots, UI hangs, memory issues. iOS via xctrace; Android via Perfetto. Use when diagnosing native-level performance issues.

software-mansion/argent · 37 tokens

symbolication-setup

Configure crash symbolication for readable stack traces. Use when setting up dSYMs (iOS), ProGuard/R8 mappings (Android), or source maps (React Native).

nexus-labs-automation/mobile-observability · 40 tokens

network-tracing

Instrument API requests with spans and distributed tracing. Use when tracking request latency, correlating client-backend traces, or debugging API issues.

nexus-labs-automation/mobile-observability · 31 tokens

argent-react-native-app-workflow

Step-by-step workflows for developing or debugging React Native apps on iOS simulator or Android emulator. Use when starting the app, debugging Metro, fixing builds, diagnosing runtime errors, or running tests.

software-mansion/argent · 46 tokens