Maui AI Debugging
Redth/Maui.Gtk
End-to-end workflow for building, deploying, inspecting, and debugging .NET MAUI and MAUI Blazor Hybrid apps as an AI agent.
Build, launch, screenshot, and drive the WinPrint.Maui Windows app (winprint.exe) — including UIA automation of the File button and native Open dialog, and pixel capture that works for WinUI3 content.
$ npx skills add tig/winprint --skill run-maui-app -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install tig/winprint run-maui-app --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/tig/winprint.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/run-maui-app .claude/skills/run-maui-app && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "run-maui-app" agent skill from https://github.com/tig/winprint/tree/develop/.agents/skills/run-maui-app into .claude/skills/run-maui-app/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "run-maui-app", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/tig/winprint/tree/develop/.agents/skills/run-maui-appType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add tig/winprint --skill run-maui-app -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install tig/winprint run-maui-app --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tig/winprint.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/run-maui-app .agents/skills/run-maui-app && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "run-maui-app" agent skill from https://github.com/tig/winprint/tree/develop/.agents/skills/run-maui-app into .agents/skills/run-maui-app/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "run-maui-app", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add tig/winprint --skill run-maui-app -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install tig/winprint run-maui-app --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tig/winprint.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/run-maui-app .cursor/skills/run-maui-app && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "run-maui-app" agent skill from https://github.com/tig/winprint/tree/develop/.agents/skills/run-maui-app into .cursor/skills/run-maui-app/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "run-maui-app", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/tig/winprint.git --path .agents/skills/run-maui-app--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add tig/winprint --skill run-maui-app -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install tig/winprint run-maui-app --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tig/winprint.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/run-maui-app .gemini/skills/run-maui-app && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "run-maui-app" agent skill from https://github.com/tig/winprint/tree/develop/.agents/skills/run-maui-app into .gemini/skills/run-maui-app/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "run-maui-app", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install tig/winprint run-maui-appInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add tig/winprint --skill run-maui-app -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/tig/winprint.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/run-maui-app .github/skills/run-maui-app && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "run-maui-app" agent skill from https://github.com/tig/winprint/tree/develop/.agents/skills/run-maui-app into .github/skills/run-maui-app/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "run-maui-app", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add tig/winprint --skill run-maui-app -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install tig/winprint run-maui-app --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/tig/winprint.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/run-maui-app .opencode/skills/run-maui-app && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "run-maui-app" agent skill from https://github.com/tig/winprint/tree/develop/.agents/skills/run-maui-app into .opencode/skills/run-maui-app/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "run-maui-app", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
run-maui-appBuild, launch, screenshot, and drive the WinPrint.Maui Windows app (winprint.exe) — including UIA automation of the File button and native Open dialog, and pixel capture that works for WinUI3 content.
Run Maui App is an agent skill from tig/winprint. Build, launch, screenshot, and drive the WinPrint.Maui Windows app (winprint.exe) — including UIA automation of the File button and native Open dialog, and pixel capture that works for WinUI3 content. Use when asked to run, verify, or screenshot the MAUI app.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts.
It sits in Mobile, covering Cross-platform mobile apps. It works with C#, .NET, Linux and macOS. The repository describes itself as: Human and AI Agent friendly print utility with syntax highlighting, markdown support, multiple pages-up, headers/footers. Cross platform (Mac, Linux, Windows) GUI and TUI. Print… The licence is MIT.
Read from SKILL.md and the folder at commit b37b7a6. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 3 files in scripts/ (PowerShell), which the agent can run.
Shell commands in SKILL.md call:
dotnetFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Run Maui App loads about 1.2k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 429 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from tig/winprint at commit b37b7a6, republished under its MIT licence (© tig). 429 words, ~1,169 tokens.
.claude/skills/run-maui-app/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.dotnet build src/WinPrint.Maui/WinPrint.Maui.csproj -f net10.0-windows10.0.19041.0The app is unpackaged (WindowsPackageType=None), assembly name winprint:
$exe = "src\WinPrint.Maui\bin\Debug\net10.0-windows10.0.19041.0\win-x64\winprint.exe"
# No args — empty preview; or pass a file to load it on startup:
$proc = Start-Process -FilePath $exe -ArgumentList '"C:\full\path\to\file.cs"' -PassThruGive it ~6-8 seconds to start. Command-line options mirror the CLI (--landscape,
--sheet, --printer, --paper-size; files are positional). Relative file paths are
resolved against the launch CWD (MauiProgram.cs captures it before switching CWD to
the exe dir).
Screenshots lie or fail when the session is locked — UI Automation doesn't. Use:
& .Codex\skills\run-maui-app\scripts\Get-UIState.ps1 -ProcessId $proc.IdSignals:
🖨 Print... button is enabled only when IsFileLoaded && !IsBusy
(load failure clears ActiveFile, disabling it). This is the reliable check.(Get-Process -Id $proc.Id).MainWindowTitle becomes WinPrint - <name>
when the title sync fires. (Historically this did NOT fire for command-line-loaded
files because the load starts before the page is attached to its Window — don't
treat a stale title alone as "load failed"; check the Print button.)& .Codex\skills\run-maui-app\scripts\Capture-Window.ps1 -ProcessId $proc.Id -OutFile out.pngGraphics.CopyFromScreen returns wallpaper/black if the session is locked
(Get-Process LogonUI running ⇒ locked) — don't trust it.PrintWindow flag must be 2 (PW_RENDERFULLCONTENT) or WinUI3 composition content
comes back black. Even then, captures stay black until the composition surface is
poked — a UIA SetFocus on any element in the window reliably unsticks it
(waiting and resizing do NOT). The script detects an all-black result, pokes focus,
and recaptures automatically.SendInput/SendKeys can't reach a locked desktop, but posting WM_KEYDOWN/WM_KEYUP
to the app's InputSiteWindowClass child hwnd does enter the WinUI3 keyboard
pipeline (posting to the top-level hwnd or DesktopChildSiteBridge does NOT). Keys
route only if some XAML element has focus — use UIA SetFocus first if needed.
# Find the input-site child hwnd via EnumChildWindows (class "InputSiteWindowClass"),
# then e.g. PageDown (VK_NEXT=0x22, scan 0x51, extended):
$lpDown = [IntPtr](0x1 -bor (0x51 -shl 16) -bor 0x01000000)
$lpUp = [IntPtr]([long]0x1 -bor (0x51 -shl 16) -bor 0x01000000 -bor 0xC0000000)
[Win32]::PostMessage($inputSite, 0x0100, [IntPtr]0x22, $lpDown) # WM_KEYDOWN
[Win32]::PostMessage($inputSite, 0x0101, [IntPtr]0x22, $lpUp) # WM_KEYUPVerify paging took effect by capturing and reading the drawn footer ("Page x of y").
Note: GetKeyStateForCurrentThread-based modifier checks (Ctrl/Shift) won't see
modifiers this way — posted messages don't update the thread keyboard state.
& .Codex\skills\run-maui-app\scripts\Drive-FileOpen.ps1 -ProcessId $proc.Id -FilePath "C:\full\path\to\README.md"This UIA-invokes the 📂 File... button, waits for the native Open dialog (a child
window of the app window), sets the filename edit (automation id 1148), and clicks
Open (automation id 1). Works on a locked session — no real mouse/keyboard input.
$proc.CloseMainWindow() # polite close; prompts only if sheet settings were edited
# fall back to Stop-Process -Force if it lingersClosing instances matters: the app persists window state and settings next to the exe on exit, and a leftover instance holds the bin directory, breaking the next build.
© tig, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts) in .agents/skills/run-maui-app of tig/winprint.
Open the folder on GitHubat commit b37b7a6
Run Maui App next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Run Maui App this skilltig/winprint | 101 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Maui AI DebuggingRedth/Maui.Gtk | 101 | — | ~4.1k | Automated safety check: Pass | MIT | |
| Engine Whats Newflutter/flutter | 179k | — | ~978 | Automated safety check: Pass | BSD-3-Clause | |
| Updating Android SDKflutter/flutter | 179k | — | ~1.7k | Automated safety check: Pass | BSD-3-Clause | |
| Macios Xcode Beta Updatedotnet/macios | 2.9k | — | ~1.8k | Automated safety check: Pass | Custom licence | |
| OdevioOdevio/Odevio-CLI | 423 | — | ~7.6k | Automated safety check: Pass | MIT |
Redth/Maui.Gtk
End-to-end workflow for building, deploying, inspecting, and debugging .NET MAUI and MAUI Blazor Hybrid apps as an AI agent.
flutter/flutter
Generates the "what's new" release summary and diff file for changes in the Flutter engine (//engine/src/flutter) between two releases (e.g., 3.47 vs 3.44).
flutter/flutter
Upgrades Flutter's Android SDK dependency to a new Android API version (or preview/canary release) in packages.txt, verifies CIPD tag uniqueness, and packages/uploads the binaries using…
dotnet/macios
Update dotnet/macios to a new Xcode beta and validate it end-to-end.
Odevio/Odevio-CLI
Take a Flutter project to an iPhone or the App Store with Odevio - build, sign and publish iOS apps from Windows, Linux or macOS with no Mac and no Xcode.
dotnet/macios
Create C bindings for Apple frameworks in dotnet/macios. An agent skill from dotnet/macios.
Categories
Build, launch, screenshot, and drive the WinPrint.Maui Windows app (winprint.exe) — including UIA automation of the File button and native Open dialog, and pixel capture that works for WinUI3 content. Run Maui App is an agent skill from tig/winprint.exe) — including UIA automation of the File button and native Open dialog, and pixel capture that works for WinUI3 content.
Run Maui App fits situations like: screenshot the MAUI app; tasks that involve Cross-platform mobile apps.
Run `npx skills add tig/winprint --skill run-maui-app -a claude-code`. Or copy the skill folder (.agents/skills/run-maui-app in tig/winprint) into .claude/skills/run-maui-app in your project. Claude Code loads it when a task matches its description.
Run `npx skills add tig/winprint --skill run-maui-app -a codex`. Or copy the skill folder (.agents/skills/run-maui-app in tig/winprint) into .agents/skills/run-maui-app in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tig/winprint --skill run-maui-app -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/run-maui-app, .gemini/skills/run-maui-app, .github/skills/run-maui-app and .opencode/skills/run-maui-app in your project.
Going by SKILL.md and its folder, Run Maui App needs PowerShell for the scripts in its folder and the command-line tools its instructions call (dotnet). Our summary lists: PowerShell.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Run Maui App is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Run Maui App: Maui AI Debugging (Redth/Maui.Gtk, 101 stars), Engine Whats New (flutter/flutter, 179k stars), Updating Android SDK (flutter/flutter, 179k stars) and Macios Xcode Beta Update (dotnet/macios, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
tig (a GitHub user) maintains it in tig/winprint, which has 101 GitHub stars. The repository was last updated on September 4, 2026.
Source: tig/winprint on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.