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 skills add managedcode/dotnet-skills --skill avaloniagit clone --depth 1 https://github.com/managedcode/dotnet-skillsWrote 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.
[](https://agentmods.dev/skills/managedcode/dotnet-skills/avalonia)<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/avalonia"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/avalonia/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/avalonia"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/avalonia.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00101 | $0.01643 |
| Opus 5.5 | $0.00040 | $0.00657 |
| Sonnet 5.5 | $0.00020 | $0.00329 |
| Haiku 4.5 | $0.00010 | $0.00164 |
Grade A, and why
avalonia 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 1mo 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.
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 — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Avalonia
Workflow
- Inspect the SDK, target frameworks, Avalonia package versions,
.axamlfiles, entrypoint, and supported OS/RIDs. Keep Avalonia packages on one compatible version. Use the Avalonia 12 docs for 12 and the Avalonia 11 docs for 11; do not copy 12-only APIs into 11. - Keep
Program.BuildAvaloniaApp,App.axaml, views, view models, and domain/services separate. Desktop hosts useStartWithClassicDesktopLifetimeand createMainWindowinOnFrameworkInitializationCompleted; single-view targets require their own lifetime. The previewer can have no application lifetime. - Use typed compiled bindings and explicit binding modes.
x:DataTypedescribes the binding type; it does not set the runtimeDataContext. Avalonia 12 enables compiled bindings by default; explicitly enable them on 11. Read references/bindings-and-controls.md for templates, properties, resources, and command patterns. - Use
CommunityToolkit.Mvvmfor observable state and commands when appropriate. Prefer cancellable asynchronous service operations, surface errors, and marshal background updates to the UI dispatcher. Keep services independent of controls. - Choose
StyledPropertyfor styleable/animatable values andDirectPropertyfor backed state without style precedence. UseDataTemplateto display data andControlTemplate/ControlThemeto change a control's visual structure. UseUserControlfor application composition,TemplatedControlfor reusable skinnable controls, and custom rendering only when needed. - Validate native integrations, dialogs, resources, shutdown, DPI, accessibility, and packaging on each supported platform. Read references/platforms-and-publishing.md before trimming or Native AOT. Read the documentation map only for the selected topic.
flowchart LR
Packages[Installed Avalonia major] --> Docs[Matching 11 or 12 documentation]
Docs --> VM[View model and service]
VM --> Bindings[Typed bindings and commands]
Bindings --> UI[Views, templates, property system]
UI --> Desktop[Desktop lifetime and UI dispatcher]
Desktop --> Verify[Headless tests + native OS checks]
Verify --> Publish[RID-specific publish and packaging]
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.
- 1mo ago First seen · 125 lines · 101 tokens per session scan A 9dce77b6314e
avalonia is a skill published in the GitHub repository managedcode/dotnet-skills (527 stars, last pushed 16d ago), licensed MIT. It adds 101 tokens to every session and 1,643 once invoked, about $0.0004 per session on Opus 5.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-10-11.
avalonia compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| avaloniamanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 101 | Claude Code, Codex |
| clean-architecture-dotnetSebastienDegodez/copilot-instructions | Skill | 199 | 23d ago | Apache-2.0 | A | 50 | Claude Code, Codex |
| creating-dotnet-mcp-serversSebastienDegodez/copilot-instructions | Skill | 199 | 23d ago | Apache-2.0 | A | 43 | Claude Code, Codex |
| dotnetAterDev/Perigon.CLI | Skill | 54 | 4d ago | Apache-2.0 | A | 61 | Claude Code, Codex |
| blazorAterDev/Perigon.CLI | Skill | 54 | 4d ago | Apache-2.0 | A | 45 | Claude Code, Codex |
| cliAterDev/Perigon.CLI | Skill | 54 | 4d ago | Apache-2.0 | A | 52 | Claude Code, Codex |
| codegenAterDev/Perigon.CLI | Skill | 54 | 4d ago | Apache-2.0 | A | 53 | Claude Code, Codex |