devflow-connect

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

A troubleshooting skill for connecting the maui command-line tool to a running .NET MAUI app through the DevFlow agent. .NET MAUI is a framework for building apps for platforms such as Android, iOS, and Windows.

In plain words
What is it for?
Use it when `maui devflow list` finds no agents, `maui devflow tree` cannot connect, or an app is running but DevFlow commands fail. It is not for build failures, setup, visual-tree queries after connection, or Blazor WebView debugging.
Why use it?
It helps find why the command-line tool cannot see or reach the running app, including port conflicts, broker problems, and Android emulator forwarding issues.

Skill for Claude CodeCodex

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

Good fit Use it when maui devflow list finds no agents, maui devflow tree cannot connect, or an app is running but DevFlow commands fail. It is not for build failures, setup, visual-tree queries after connection, or Blazor WebView debugging.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dotnet/maui-labs/devflow-connect
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 dotnet/maui-labs --skill devflow-connect
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 devflow-connect

README.md
[![agentmods](https://agentmods.dev/badge/skills/dotnet/maui-labs/devflow-connect/github.svg)](https://agentmods.dev/skills/dotnet/maui-labs/devflow-connect)
Your own site
<a href="https://agentmods.dev/skills/dotnet/maui-labs/devflow-connect"><img src="https://agentmods.dev/badge/skills/dotnet/maui-labs/devflow-connect/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 devflow-connect

Your own site · 80×15
<a href="https://agentmods.dev/skills/dotnet/maui-labs/devflow-connect"><img src="https://agentmods.dev/badge/skills/dotnet/maui-labs/devflow-connect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 861 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00053 $0.00861
Opus 5 $0.00026 $0.00430
Sonnet 5 $0.00011 $0.00172
Haiku 4.5 $0.00005 $0.00086

Measured 10d ago against content hash 37ce2217f192, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

devflow-connect 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 10d 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.

plugins/dotnet-maui-tooling/skills/devflow-connect/SKILL.md · 137 lines

How it starts

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

DevFlow Connect

Diagnose and resolve connectivity between the maui CLI and running .NET MAUI apps instrumented with the DevFlow agent.

When to Use

  • maui devflow list shows no agents
  • maui devflow tree fails with "Cannot connect to agent"
  • Port conflicts on 9223 or the broker port
  • Android emulator connectivity issues (adb port forwarding)
  • App is running but DevFlow commands fail

When Not to Use

  • Build or deployment failures (use standard build diagnostics)
  • Environment setup (use dotnet-maui-doctor from dotnet/skills)
  • Visual tree queries after connection works
  • CDP/Blazor WebView debugging

Optional Session Feedback Nudge

If connectivity recovery required repeated broker/list/wait/status attempts, Android forwarding detours, direct port fallback, or other workarounds, ask whether the user wants to run maui-devflow-session-review to summarize friction for MAUI DevFlow product feedback. Do not run it automatically.

Prerequisites

  • The maui CLI tool installed (dotnet tool install -g Microsoft.Maui.Cli)
  • A .NET MAUI app with Microsoft.Maui.DevFlow.Agent NuGet package added
  • The app must be running on a target device or emulator

Workflow

1. Verify Agent Integration

Confirm the app has the DevFlow agent NuGet package:

grep -r "Microsoft.Maui.DevFlow.Agent" *.csproj

The agent must be initialized in MauiProgram.cs:

builder.Services.AddMauiDevFlowAgent();

2. Check Broker Status

maui devflow broker status

If the broker is not running, start it:

maui devflow broker start

3. Platform-Specific Connectivity

Android Emulator

Android emulators run in a network namespace. Port forwarding is required:

adb reverse tcp:19223 tcp:19223  # Broker port
adb reverse tcp:9223 tcp:9223    # Agent default port

Verify with:

adb reverse --list
iOS Simulator

No port forwarding needed — simulators share the host network. Verify the app is running:

Read the full file on GitHub · 137 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. 10d ago First seen · 137 lines · 53 tokens per session scan A 37ce2217f192

Subscribe to this mod's changes

devflow-connect is a skill published in the GitHub repository dotnet/maui-labs (213 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 861 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

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

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

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