runtime-tests

A test-running workflow for Uno Platform, a framework for building apps that run on multiple operating systems. It builds and runs all tests or selected tests on desktop or in a web browser.

In plain words
What is it for?
Running every Uno Platform runtime test, one test class, one test method, or several named tests on Skia Desktop or Skia WebAssembly.
Why use it?
It handles the special base64 encoding required by the test runner and resolves partial test names into the full names needed to run them.

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/runtime-tests
Any agent
npx skills add unoplatform/uno --skill runtime-tests
Clone the repo
git clone --depth 1 https://github.com/unoplatform/uno

Made for: Claude Code, Codex.

Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,685 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00025 $0.02685
Opus 5 $0.00013 $0.01342
Sonnet 5 $0.00005 $0.00537
Haiku 4.5 $0.00003 $0.00268

Measured 2d ago against content hash c039c5e3a67b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

runtime-tests scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

python -c "import urllib.parse; print(urllib.parse.quote('$1', safe=''))"
.claude/skills/runtime-tests/SKILL.md · 257 lines

How it starts

The opening of the file, as written. The whole thing — 257 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 Run Tests Skill. This skill builds and runs Uno Platform runtime tests with the correct base64 filter encoding that the test runner requires. It handles the non-obvious encoding requirement and provides correct platform-specific commands.


Execution Workflow

Phase 0: Parse User Input

Determine what to run from the user's input:

  • All tests: No filter needed
  • Specific test class: e.g., Given_Button → resolve to fully qualified name
  • Specific test method: e.g., Given_Button.When_ContentSet → resolve to fully qualified name
  • Multiple tests: Pipe-separated list of fully qualified names

If the user provides partial names, search src/Uno.UI.RuntimeTests/Tests/ to resolve fully qualified test names (namespace + class + method).

Determine target platform from user input. Supported platforms:

Platform Keyword(s) Default
Skia Desktop desktop, skia, or unspecified Yes
Skia WASM wasm, webassembly, browser No

Default: Skia Desktop (fastest build and execution).

Choose Skia WASM only when:

  • The user explicitly asks for WASM/browser testing, OR
  • The bug or behavior is WASM-specific (e.g., DOM interaction, browser rendering, JS interop)

Strict mode: If the user input contains the keyword strict, omit the -p:UnoFastDevBuild=true and -p:UnoTargetFrameworkOverride=net10.0 flags from the build command in Phase 1 so the build runs with full CI-equivalent analyzer coverage and all cross-targeted TFMs. Use this only when verifying that a change still compiles cleanly under CI strictness — for normal iteration the default (fast) flags should be left on.

Phase 1: Build the Test App

CRITICAL: Set timeout to 15+ minutes. NEVER cancel builds.

The default build commands below pass -p:UnoFastDevBuild=true (disables analyzers for local iteration — has no effect on CI) and -p:UnoTargetFrameworkOverride=net10.0 (skips the redundant net9.0 cross-targeted output for Skia libraries). Combined, these cut a clean SamplesApp.Skia.Generic build from ~3:23 → ~1:59 and a Uno.UI-incremental rebuild from ~2:23 → ~0:58 on a 32-core Windows machine. Omit both flags if the user requested strict mode (see Phase 0).

Read the full file on GitHub · 257 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. 2d ago First seen · 257 lines · 25 tokens per session scan A c039c5e3a67b

Subscribe to this mod's changes

runtime-tests is a skill published in the GitHub repository unoplatform/uno (10,030 stars, last pushed today), licensed Apache-2.0. It adds 25 tokens to every session and 2,685 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

find-release

A skill to find the lowest Dart and Flutter release containing a given commit. Use this skill whenever users ask about when a commit landed in Flutter or Dart releases, inquire about release versions for specific SHAs, or want to know if a commit is included in stable, beta, or dev channels for Flutter/Dart projects.

flutter/flutter · 67 tokens

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 · 132 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