maui: Skill for Claude Code

.github/skills/run-helix-tests/SKILL.md

run-helix-tests is a skill for Claude Code, Codex from dotnet/maui. It costs 45 tokens per session (1,478 once invoked), scanned A, original, MIT.

A workflow for submitting and monitoring .NET MAUI unit tests on Helix, Microsoft's distributed test infrastructure, across supported test projects and platforms.

In plain words
What is it for?
Use it to run XAML, Resizetizer, Core, Essentials, and other unit-test projects on Helix, including Windows and macOS test runs.
Why use it?
It helps developers validate changes in remote, multi-platform test environments instead of relying only on local runs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is dotnet/maui's own configuration. It tells Claude Code and Codex how to work on maui itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything maui configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./eng/common/msbuild.sh ./eng/helix_xharness.proj /t:Test /p:TargetOS=ios.

About the project

.NET MAUI is a C# and XAML framework for building native mobile and desktop applications from one shared codebase. Developers use it to create apps for Android, iOS, iPadOS, macOS, and Windows. The catalogue entries provide skills, instructions, and agents for working with .NET MAUI.

dotnet/maui · 23,319 stars · on GitHub · dot.net

Reuse

Borrowing it

Nothing to install: this file belongs to dotnet/maui. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dotnet/maui/main/.github/skills/run-helix-tests/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dotnet/maui

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 run-helix-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/dotnet/maui/run-helix-tests.svg)](https://agentmods.dev/skills/dotnet/maui/run-helix-tests)
Your own site
<a href="https://agentmods.dev/skills/dotnet/maui/run-helix-tests"><img src="https://agentmods.dev/badge/skills/dotnet/maui/run-helix-tests.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,478 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.1 $0.00045 $0.01478
Opus 5 $0.00023 $0.00739
Sonnet 5 $0.00009 $0.00296
Haiku 4.5 $0.00005 $0.00148

Measured 6d ago against content hash cd34806fa65a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

run-helix-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 6d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/Get-HelixJobStatus.ps1, scripts/Get-HelixWorkItemLog.ps1, scripts/Submit-HelixTests.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.

.github/skills/run-helix-tests/SKILL.md · 171 lines

How it starts

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

Run Helix Tests Skill

Submit and monitor .NET MAUI unit tests on Helix infrastructure from your local machine.

Tools Required

This skill uses pwsh (PowerShell 7+) to run the scripts. The scripts call the local .dotnet/dotnet SDK.

When to Use

  • User asks to "run tests on Helix"
  • User wants to validate test changes on Helix infrastructure
  • User asks to "test on multiple platforms" (Windows + macOS)
  • User wants to debug Helix-specific test failures locally
  • User asks about "Helix unit tests" (not device tests - those use helix_xharness.proj)

Prerequisites

Before running Helix tests, ensure:

  1. Local SDK provisioned: The .dotnet/ folder must exist with the SDK

    # If missing, run:
    dotnet cake --target=dotnet
    
  2. Build tasks compiled (for first run):

    # Windows
    .\build.cmd -restore -build -configuration Release -projects .\Microsoft.Maui.BuildTasks.slnf
    
    # macOS/Linux  
    ./build.sh -restore -build -configuration Release -projects ./Microsoft.Maui.BuildTasks.slnf
    

Scripts

All scripts are in .github/skills/run-helix-tests/scripts/

1. Submit Unit Tests to Helix

# Submit all unit tests (XAML, Core, Essentials, Resizetizer, etc.)
pwsh .github/skills/run-helix-tests/scripts/Submit-HelixTests.ps1

# Submit with specific configuration
pwsh .github/skills/run-helix-tests/scripts/Submit-HelixTests.ps1 -Configuration Debug

# Submit to specific queue only
pwsh .github/skills/run-helix-tests/scripts/Submit-HelixTests.ps1 -Queue "Windows.10.Amd64.Open"

2. Monitor Helix Job Status

# Monitor a submitted job (use job ID from submission output)
pwsh .github/skills/run-helix-tests/scripts/Get-HelixJobStatus.ps1 -JobId <JOB_ID>

# Wait for completion with polling
pwsh .github/skills/run-helix-tests/scripts/Get-HelixJobStatus.ps1 -JobId <JOB_ID> -Wait

3. Get Helix Work Item Console Logs

# Get console output for a specific work item
pwsh .github/skills/run-helix-tests/scripts/Get-HelixWorkItemLog.ps1 -JobId <JOB_ID> -WorkItem <WORK_ITEM_NAME>

# Get failed work items only
pwsh .github/skills/run-helix-tests/scripts/Get-HelixWorkItemLog.ps1 -JobId <JOB_ID> -FailedOnly

Read the full file on GitHub · 171 lines

Files

What ships with it

3 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. 6d ago First seen · 171 lines · 45 tokens per session scan A cd34806fa65a

Subscribe to this mod's changes

run-helix-tests is a skill published in the GitHub repository dotnet/maui (23,319 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 1,478 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.