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.
npx agentmods add skills/dotnet/maui/try-fixnpx skills add dotnet/maui --skill try-fixgit clone --depth 1 https://github.com/dotnet/mauiWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00060 | $0.08078 |
| Opus 5 | $0.00030 | $0.04039 |
| Sonnet 5 | $0.00012 | $0.01616 |
| Haiku 4.5 | $0.00006 | $0.00808 |
Grade A, and why
try-fix 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 653 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Try Fix Skill
Attempts ONE fix for a given problem. Receives all context upfront, tries a single approach, tests it, and reports what happened.
Activation Guard
🚨 This skill is ONLY for proposing and testing code fixes. Do NOT activate for:
- Code review requests ("review this PR", "check code quality")
- PR summaries or descriptions ("what does this PR do?")
- Test-only requests ("run tests", "check CI status")
- General questions about code or architecture
If the prompt does not include a problem to fix and a test command to verify, this skill should not run.
Core Principles
- Always run once activated - Never question whether to run. The invoker decides WHEN, you decide WHAT alternative to try
- Single-shot - Each invocation = ONE fix idea, tested, reported
- Alternative-focused - Always propose something DIFFERENT from existing fixes (review PR changes first)
- Empirical - Actually implement and test, don't just theorize
- Context-driven - Work with what's provided and git history; don't search external sources
- Script-only restoration - The ONLY permitted cleanup command is
pwsh .github/scripts/EstablishBrokenBaseline.ps1 -Restore. Never usegit checkout,git clean,git restore,git reset, orgit stashto revert or clean changes, including after artifacts have been captured. - Baseline-file boundary - After Step 2, modify ONLY files listed in
.github/.baseline-state.jsonunderRevertedFiles. The restore script tracks only those original fix files; editing any other tracked file makes restoration incomplete. If the state file is absent, or itsNewFilesarray is non-empty, reportBlockedbefore editing: added production files are not safely restorable. If the approach requires another tracked file, reportBlockedinstead of editing it. - Preserve pre-existing untracked paths - Never modify or delete an
untracked file or directory that existed before the attempt. Evaluators may
inject the loaded skill as an untracked directory such as
try-fix/; leave it exactly as found even whengit status --shortlists it. It is harness-owned input, not attempt-created drift. The restore script is the only cleanup step; do not userm,Remove-Item, or another filesystem command to make the worktree appear clean. - Wait for command completion - If a shell tool reports that a command is
still running and returns a
shellId, callread_bashwith that exactshellIdand wait for the completed result. Never proceed, report, or end the session while baseline, test, artifact, self-review, or restore work is still running. - Contain attempt artifacts - Create every log, snapshot, state marker, and
scratch file under
$OUTPUT_DIR. Never persist$OUTPUT_DIRor other shell state in.github/, the repository root, or another workspace path. Shell variables do not persist between tool calls, so redeclare the same literal$OUTPUT_DIRat the start of each later shell command instead of writing a repository marker file.
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.
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.
- yesterday First seen · 653 lines · 60 tokens per session scan A 3861687fb630
try-fix is a skill published in the GitHub repository dotnet/maui (23,317 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 8,078 once invoked, about $0.0003 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.
Other skills, from other repositories
dpg-migration
Migration logic for Azure SDK for .NET data-plane libraries migrating from AutoRest/Swagger to TypeSpec-based generation. Uses MCP tools from the generator-agent server for automated deterministic fixes.
csharp-azure-spector-coverage-gaps
Discovers and implements gaps in Spector test coverage for the Azure C# HTTP client emitter. Use when asked to find missing Spector scenarios, add Spector test coverage, or implement a specific Spector spec for the Azure C# emitter. Can also compare coverage between the Azure dashboard and the Standard (TypeSpec core)…
auto-build-repair
Headless, bounded repair of custom-code build failures in an already-generated Azure SDK PR. Thin wrapper over the shared azure-sdk-mcp:azsdkcustomizedcodeupdate engine in custom-code-only scope (editScope: CustomCode); the skill owns the iterate-until-green loop, capped by a per-language maxIterations read from…
azure-sdk-mgmt-pr-review
Review Azure SDK management-plane pull requests, check naming conventions, API compatibility, and code quality.
mgmt-review-comment-resolution
Resolve review comments on Azure management-plane .NET SDK PRs. Handles renaming types/properties, changing property types, and other API surface adjustments by updating TypeSpec client.tsp and regenerating.
mitigate-breaking-changes
Patterns and techniques for mitigating breaking changes during Azure management-plane SDK migration from Swagger/AutoRest to TypeSpec. Covers SDK-side customizations (partial classes, CodeGenType, CodeGenSuppress) and TypeSpec decorator customizations (clientName, access, markAsPageable, alternateType…