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.
npx agentmods add skills/microsoft/winappcli/winapp-frameworksnpx skills add microsoft/winappCli --skill winapp-frameworksgit clone --depth 1 https://github.com/microsoft/winappCliWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00064 | $0.02639 |
| Opus 5 | $0.00032 | $0.01319 |
| Sonnet 5 | $0.00013 | $0.00528 |
| Haiku 4.5 | $0.00006 | $0.00264 |
Grade A, and why
winapp-frameworks 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.
How it starts
The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When to use
Use this skill when:
- Working with a specific app framework and need to know the right winapp workflow
- Choosing the correct install method (npm package vs. standalone CLI)
- Looking for framework-specific guides for step-by-step setup, build, and packaging
Each framework has a detailed guide — refer to the links below rather than trying to guess commands.
Framework guides
| Framework | Install method | Guide |
|---|---|---|
| Electron | npm install --save-dev @microsoft/winappcli |
Electron setup guide |
| .NET (WPF, WinForms, Console) | winget install Microsoft.winappcli |
.NET guide |
| .NET MAUI | winget install Microsoft.winappcli |
MAUI guide + winapp-maui skill |
| C++ (CMake, MSBuild) | winget install Microsoft.winappcli |
C++ guide |
| Rust | winget install Microsoft.winappcli |
Rust guide |
| Flutter | winget install Microsoft.winappcli |
Flutter guide |
| Tauri | winget install Microsoft.winappcli |
Tauri guide |
Key differences by framework
Electron (npm package)
Use the npm package (@microsoft/winappcli), not the standalone CLI. The npm package includes:
- The native winapp CLI binary bundled inside
node_modules - A Node.js SDK with helpers for creating native C#/C++ addons
- Electron-specific commands under
npx winapp node - Generated JS bindings (
.winapp/bindings/) for direct JavaScript access to Windows App SDK APIs
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.
- 2d ago First seen · 143 lines · 64 tokens per session scan A 7b4abc4e4a97
winapp-frameworks is a skill published in the GitHub repository microsoft/winappCli (1,205 stars, last pushed 4d ago), licensed MIT. It adds 64 tokens to every session and 2,639 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.
Other skills, from other repositories
convert-mobile
Compress the Donahoe Method into mobile-first single-column layouts: thumb-zone CTA placement, Fitts-sized touch targets, mobile reading-pattern adaptation, sticky bottom CTA, and Method-density preservation under 375px width. Use when designing or rebuilding mobile rendering of a sales page, VSL page, lead-magnet…
imagegen-frontend-mobile
Elite mobile app image-generation skill for creating premium, app-native screen concepts and flows. Designed for iOS, Android, and cross-platform mobile products. Prioritizes clean hierarchy, comfortably readable text, strong multi-screen consistency, controlled color palettes, non-generic creative direction, textured…
ideate
Generates exactly three distinct visual design options with independent layouts and interaction models, iterates on user feedback, and pins the confirmed option as the visual target.
url-to-code
Clones a live public website URL into a standalone, fully interactive frontend prototype by capturing its DOM, styles, assets, and responsive behaviors.
adapt
Adapt designs to work across different screen sizes, devices, contexts, or platforms. Implements breakpoints, fluid layouts, and touch targets. Use when the user mentions responsive design, mobile layouts, breakpoints, viewport adaptation, or cross-device compatibility.
apple-design
Cross-platform UI/UX design reviewer grounded in Apple Human Interface Guidelines principles. Use this skill to audit, review, critique, or improve any UI/UX design for mobile apps (iOS, Flutter, React Native) or desktop apps (macOS, Tauri, Electron). Triggers when the user mentions: design review, UI audit, HIG…