winui-runtime-tests

winui-runtime-tests is a skill for Claude Code, Codex from unoplatform/uno. It costs 35 tokens per session (6,249 once invoked), scanned A, original, Apache-2.0.

A Windows-only testing workflow for the WinUI SamplesApp, a sample application built with Microsoft’s Windows UI framework. It compares native WinUI behavior with Uno Platform behavior.

In plain words
What is it for?
Building the app package, installing it, running runtime tests, and validating Uno Platform’s compatibility with native WinUI.
Why use it?
It provides a repeatable way to build, install, launch, and test the reference app instead of checking behavior manually.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/unoplatform/uno/winui-runtime-tests
Any agent
npx skills add unoplatform/uno --skill winui-runtime-tests
Clone the repo
git clone --depth 1 https://github.com/unoplatform/uno

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 winui-runtime-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/unoplatform/uno/winui-runtime-tests.svg)](https://agentmods.dev/skills/unoplatform/uno/winui-runtime-tests)
Your own site
<a href="https://agentmods.dev/skills/unoplatform/uno/winui-runtime-tests"><img src="https://agentmods.dev/badge/skills/unoplatform/uno/winui-runtime-tests.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,249 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00035 $0.06249
Opus 5 $0.00017 $0.03125
Sonnet 5 $0.00007 $0.01250
Haiku 4.5 $0.00003 $0.00625

Measured today against content hash 7f5bbcf17202, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

winui-runtime-tests 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 today.

The scan reads SKILL.md. This mod also ships 4 executable files (cleanup.ps1, install-msix.ps1, run-tests.ps1, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/winui-runtime-tests/SKILL.md · 448 lines

How it starts

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

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).


Overview

You are executing the WinUI Runtime Tests Skill. This skill builds the WinAppSDK SamplesApp as an MSIX package, installs it, and runs runtime tests via the app execution alias. This is used to validate behavior against native WinUI — the reference implementation that Uno Platform targets.

Requirements: Windows only. Requires MSBuild (Visual Studio) and PowerShell (pwsh preferred, powershell.exe works too).

Helper scripts are in the same directory as this SKILL.md (.claude/skills/winui-runtime-tests/):

  • setup-cert.ps1 — One-time certificate generation + trust (requires admin elevation once)
  • install-msix.ps1 — Remove old package + install built MSIX
  • run-tests.ps1 — Launch app and wait for test results
  • cleanup.ps1 — Uninstall package

Critical Pitfalls (Read First)

These are real issues encountered in practice — not theoretical:

  1. MSBuild switch syntax in bash: Forward-slash switches (/r, /p:) are interpreted as Unix paths by bash. Always use dash syntax: -restore, -t:Publish, -p:Configuration=Release.

  2. PowerShell from bash: Complex PowerShell with $(), $_, .Property gets mangled by bash escaping. Always write a .ps1 file and run with pwsh -NoProfile -File script.ps1 instead of inline -Command strings. The helper scripts in this skill directory handle this for you.

  3. Cert: PowerShell drive may not work: On some environments the Cert:\ PSDrive and PKI module are unavailable (even in Windows PowerShell 5.1). Always use certutil command-line tool instead of New-SelfSignedCertificate, Import-PfxCertificate, Export-Certificate, etc. The certutil tool works everywhere.

  4. Signing certificate: CI uses a secret cert. Locally, setup-cert.ps1 generates a unique self-signed cert per machine via certreq. The private key never leaves the local cert store and is not committed to source control. The thumbprint is saved to ~/.uno-dev-cert-thumbprint (user home — shared across all worktrees).

Read the full file on GitHub · 448 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed 7f5bbcf17202
  2. 4d ago First seen · 448 lines · 35 tokens per session scan A 8c25e7b455e5

Subscribe to this mod's changes

winui-runtime-tests is a skill published in the GitHub repository unoplatform/uno (10,032 stars, last pushed today), licensed Apache-2.0. It adds 35 tokens to every session and 6,249 once invoked, about $0.0002 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

solopi-ai

通过 SoloPi 的机器可读 CLI 编译和执行 AI 验证计划,管理签名端侧 ExecuTorch 决策模型、持久设备池、无人值守任务、安卓设备、应用、动作、配置、用例步骤与交互录制、回放及性能历史、动态 Agent、批量与重复执行、性能监控、压力测试和证据。适用于需求/AC 到 Result Judge 三态结论、cloud/on-device 决策切换、模型发布门禁,以及 generation 租约的多设备 CI 执行。.

alipay/SoloPi · 127 tokens

gradle-expert

Build optimization, dependency resolution, and multi-module KMP troubleshooting for AmethystMultiplatform. Use when working with: (1) Gradle build files (build.gradle.kts, settings.gradle), (2) Version catalog (libs.versions.toml), (3) Build errors and dependency conflicts, (4) Module dependencies and source sets, (5)…

vitorpamplona/amethyst · 0 tokens

nip85-trusted-assertions

The NIP-85 trusted-assertions model in Quartz (nip85TrustedAssertions/) — kind 10040 trust-provider lists, kind 30382 contact cards / user assertions, 30383 event assertions, 30384 addressable assertions, 30385 external-id assertions. Use when building or parsing these events, working with the typed tags (RankTag…

vitorpamplona/amethyst · 148 tokens

argent-tv-interact

Control and inspect TV apps via argent — Apple TV (tvOS), Android TV (leanback), and Amazon Fire TV (Vega). Boot the target, read focus, navigate with the D-pad remote, type, screenshot, and on Vega debug the JS runtime (evaluate, console logs, network inspector). Use when a task targets a TV (runtimeKind "tv", or…

software-mansion/argent · 107 tokens

web-preview

Flutter Web版をビルド → サーバー起動 → Playwright でアクセス確認 → URLをユーザーに案内する。.

K9i-0/ccpocket · 32 tokens

JavaScript Tooling

Development tools, linting, and testing for JavaScript projects.

HoangNguyen0403/agent-skills-standard · 18 tokens