winapp-find-api

winapp-find-api is a skill for Claude Code from microsoft/winappCli. It costs 78 tokens per session (5,958 once invoked), scanned A, original, MIT.

A search tool for the Windows and WinRT programming interfaces available to a project. It reads the project's referenced metadata files, or the installed Windows SDK outside a project, to find types, properties, methods, and enum values.

In plain words
What is it for?
Use it before generating Windows or WinRT code to verify API names, inspect their members, look up several symbols at once, and detect missing subjects.
Why use it?
It prevents an agent from writing code that refers to Windows API symbols that do not exist in the target environment. Structured output and exit codes also let code generation check lookup results.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the winappcli plugin — 14 skills, 1 agent shipped together

Good fit Use it before generating Windows or WinRT code to verify API names, inspect their members, look up several symbols at once, and detect missing subjects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/winappcli/winapp-find-api
About the project

winapp CLI is a command-line tool for Windows application development that manages SDKs, app identity, manifests, certificates, packaging, and build tools. It helps developers using frameworks such as .NET, Win32, CMake, Electron, or Rust access Windows-native development capabilities. The catalogue add-ons provide agent workflows for using the CLI.

microsoft/winappCli · 1,357 stars · on GitHub

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 microsoft/winappCli --skill winapp-find-api
Clone the repo
git clone --depth 1 https://github.com/microsoft/winappCli

Made for: Claude Code.

Or install winappcli, the plugin that ships this one along with the rest of its 14 skills, 1 agent.

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 winapp-find-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/winappcli/winapp-find-api/github.svg)](https://agentmods.dev/skills/microsoft/winappcli/winapp-find-api)
Your own site
<a href="https://agentmods.dev/skills/microsoft/winappcli/winapp-find-api"><img src="https://agentmods.dev/badge/skills/microsoft/winappcli/winapp-find-api/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 winapp-find-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/winappcli/winapp-find-api"><img src="https://agentmods.dev/badge/skills/microsoft/winappcli/winapp-find-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,958 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.00078 $0.05958
Opus 5.5 $0.00031 $0.02383
Sonnet 5.5 $0.00016 $0.01192
Haiku 4.5 $0.00008 $0.00596

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

Security

Grade A, and why

winapp-find-api 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 24d 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/winapp/skills/winapp-find-api/SKILL.md · 303 lines

How it starts

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

If you can't run winapp yourself (no shell, or the command is denied), give the user the exact winapp command(s) for their project instead of only describing the steps.

This is an agent-first command

find-api was designed for you, the agent — not primarily for a human reading a terminal. It exists because the failure mode it prevents is an agent-specific one: confidently writing a type, property, or enum value that does not exist. Treat it as the authority on the API surface, not as an optional convenience:

  • Ground every Windows/WinRT symbol you emit. If you are not certain a type, property, or enum value exists in this project's metadata, look it up before you write it. A lookup is cheaper than a build.
  • Prefer it over recall and over web search. Your training data describes some version of WinUI/WinRT; find-api describes the exact metadata this project references. When they disagree, find-api wins.
  • Use --json. Every verb emits structured output with stable shapes and non-zero exit codes on missing subjects, so you can gate codegen on the result instead of parsing prose.
  • Batch subjects into one call. See below — this matters more here than anywhere else in the CLI.

Humans can and do run it directly, and everything below works fine typed by hand. But the ergonomics (batching, --json, exit codes, compile-error workflows) are tuned for agent loops.

When to use

  • Discovering which Windows/WinRT type or member does what you need ("what's the acrylic brush type?", "which control is a NavigationView?")
  • Listing a type's properties, events, and methods (declared and inherited) before writing XAML or code against it
  • Validating that a property exists on a type — catching typos and wrong-type mistakes before they become CS0117/XAML binding errors
  • Enumerating an enum's values (e.g. Symbol, Visibility)
  • Exploring the namespaces and packages a project can call into
  • AI agents grounding code generation in the actual API surface a project references, instead of guessing
  • Diagnosing a compile error that names a type or member — see below

Read the full file on GitHub · 303 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. 24d ago Changed · +2 lines · -124 tokens per session c33c5ea54784
  2. 27d ago Changed · +1 lines 9822f880fc64
  3. 1mo ago Changed 285ed4ceb990
  4. 1mo ago First seen · 300 lines · 202 tokens per session scan A 254da559a993

Subscribe to this mod's changes

winapp-find-api is a skill published in the GitHub repository microsoft/winappCli (1,357 stars, last pushed 2d ago), licensed MIT. It adds 78 tokens to every session and 5,958 once invoked, about $0.0003 per session on Opus 5.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-09-12.

Related

Other skills, from other repositories

brand-identity

Use when a project needs its visual foundation built or consolidated into one system: logo brief, color system in HEX/RGB/CMYK/OKLCH with proven AA contrast, type system, usage rules, and an exported W3C design-tokens.json that later skills consume. NOT the applied UI pixels (that is design), NOT the words or tone…

ericrisco/rsc-harness · 83 tokens

portpilot

Start, stop and check local dev servers through PortPilot instead of bare shell commands. Use whenever you are about to run a dev server (npm run dev, next dev, vite, uvicorn, flask run, python -m http.server), free a port, or find out what is listening on a port.

m4cd4r4/PortPilot · 66 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

interview

Ask one useful structured question at a time only when material product/implementation choices are genuinely missing; remember answers and produce a brief/spec. Discoverable facts should be investigated instead of asked.

Hmbown/CodeWhale · 40 tokens

refocusing

Use when a long-running agent may have lost the product outcome, when context was compacted, when work has crossed a major boundary, or when a fresh path-based trace is needed before the next consequential action. Not for fresh-session orientation, waking an idle seat, or checkpoints.

mvschwarz/openrig · 59 tokens

recipe-create-meet-space

Create a Google Meet meeting space and share the join link.

googleworkspace/cli · 18 tokens