Back to Skills

winmd-api-search

Find and explore Windows desktop APIs. Use when building features that need platform capabilities — camera, file access, notifications, UI controls, AI/ML, sensors, networking, etc. Discovers the right API for a task and retrieves full type details (methods, properties, events, enumeration values).

31,451stars3,809forksUpdated 4/28/2026

Security Assessment

Safe(100/100)
Security Score100/100

About winmd-api-search

The 'winmd-api-search' skill is designed to help developers find and explore Windows desktop APIs. It is particularly useful for building features that require platform capabilities like camera access, file handling, notifications, AI/ML tasks, and more. This skill allows users to discover the right API for a given task and retrieve comprehensive details about the relevant types, including methods, properties, events, and enumeration values. By accessing a local cache of WinMD metadata, it provides fast and easy lookup without requiring real-time access to remote sources, making development more efficient and streamlined.

The skill offers several key features, including the ability to search through various sources such as the Windows Platform SDK, WinAppSDK/WinUI, NuGet packages, and project-output WinMD files. The skill is designed to work seamlessly even with fresh clones of projects, ensuring developers have full access to platform and SDK coverage. The user is guided through a simple cache setup process, which indexes different metadata sources and allows for swift querying. The skill is especially useful when developers need to quickly identify the correct API or method, particularly when working with system features or building user interfaces.

This skill is ideal for developers who need to quickly locate the right API for platform features, whether they are working on new projects or revisiting older ones. It is particularly beneficial when dealing with specific system tasks, like working with sensors or file management, or when needing to implement standard UI controls like dialogs and popups. Developers can use it when they need to figure out which API to use for a given task or when they need detailed technical data about methods and properties to proceed with implementation.

FAQ

What is required to use the winmd-api-search skill?

You need to have the .NET SDK 8.0 or later installed to build the cache generator. You can download it from the official .NET website.

What happens if I don't generate the cache before using the skill?

Without the cache, the skill won't be able to perform searches. You must run the Update-WinMdCache.ps1 script to generate the cache before using it for querying APIs.

Which sources are included in the cache for the skill?

The cache includes metadata from the Windows Platform SDK, WinAppSDK/WinUI, NuGet packages, and project-output WinMD files from your project builds.

Can I use winmd-api-search without a project restore or build?

Yes, you can still use the skill with the Platform SDK and WinAppSDK metadata, which are available by default. However, for additional NuGet packages, you need to run 'dotnet restore' or use 'packages.config'.

How do I perform a search if I don't know the exact API?

You can use the skill to search by describing a capability in everyday language, and the skill will map this to relevant search keywords, such as 'camera', 'file open', or 'settings'.

All Files

9 files
SKILL.md8.5 KB
View
scripts/Update-WinMdCache.ps17.4 KB
View
scripts/cache-generator/CacheGenerator.csproj1.4 KB
View
scripts/cache-generator/Directory.Build.targets0.1 KB
View
LICENSE.txt1.1 KB
View
scripts/cache-generator/Directory.Build.props0.1 KB
View
scripts/cache-generator/Directory.Packages.props0.1 KB
View
scripts/cache-generator/Program.cs42.9 KB
View
scripts/Invoke-WinMdQuery.ps117.4 KB
View

Install winmd-api-search

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill