avalonia

avalonia is a skill for Claude Code, Codex from linuxdevel/Avalonia-skills. It costs 30 tokens per session (764 once invoked), scanned A, original, MIT.

A reference skill for building Avalonia user interfaces, a .NET framework for making apps that run on desktop, mobile, and web platforms. It covers layout, styling, data binding, controls, animation, and deployment.

In plain words
What is it for?
Use it when creating or changing Avalonia screens, including XAML markup, layouts, styles, bindings, controls, animations, custom controls, input handling, and deployment.
Why use it?
It helps an agent choose the relevant Avalonia guidance before writing or reviewing code. This reduces mistakes across Avalonia’s many UI features and supported platforms.

Skill for Claude CodeCodex

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

Good fit Use it when creating or changing Avalonia screens, including XAML markup, layouts, styles, bindings, controls, animations, custom controls, input handling, and deployment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/linuxdevel/avalonia-skills/avalonia
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.

Any agent
npx skills add linuxdevel/Avalonia-skills --skill avalonia
Clone the repo
git clone --depth 1 https://github.com/linuxdevel/Avalonia-skills

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 avalonia

README.md
[![agentmods](https://agentmods.dev/badge/skills/linuxdevel/avalonia-skills/avalonia.svg)](https://agentmods.dev/skills/linuxdevel/avalonia-skills/avalonia)
Your own site
<a href="https://agentmods.dev/skills/linuxdevel/avalonia-skills/avalonia"><img src="https://agentmods.dev/badge/skills/linuxdevel/avalonia-skills/avalonia.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 764 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00030 $0.00764
Opus 5 $0.00015 $0.00382
Sonnet 5 $0.00006 $0.00153
Haiku 4.5 $0.00003 $0.00076

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

Security

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 8d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (avalonia-pro-max/preview-server/scripts/render_variants.py, avalonia-pro-max/preview-server/scripts/scaffold_host.py, avalonia-pro-max/preview-server/scripts/serve_gallery.py), 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.

skills/avalonia/SKILL.md · 59 lines

How it starts

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

Avalonia UI

Overview

Avalonia is a cross-platform .NET UI framework using XAML (.axaml), with its own rendering engine (Skia/Impeller), supporting Windows, macOS, Linux, iOS, Android, and WASM. Avalonia 12 is the current stable version; compiled bindings are enabled by default.

Rule: Always load the matching subskill before writing or reviewing Avalonia code.

Routing Table

Task Load subskill
XAML markup, .axaml files, namespaces, code-behind avalonia-xaml
Panels, Grid, StackPanel, alignment, margins avalonia-layout
Styles, control themes, selectors, pseudoclasses, themes avalonia-styling
{Binding}, compiled bindings, converters, validation avalonia-data-binding
DataTemplate, ItemTemplate, template selection avalonia-data-templates
MVVM pattern, INotifyPropertyChanged, ICommand, CommunityToolkit avalonia-mvvm
Built-in controls (Button, TextBox, DataGrid, etc.) avalonia-controls
Custom UserControl, TemplatedControl, drawing controls avalonia-custom-controls
Brushes, transforms, animations, transitions avalonia-graphics-animation
Pointer, keyboard, gestures, drag-and-drop avalonia-input-interaction
StyledProperty, DirectProperty, AttachedProperty avalonia-property-system
Routed events, bubbling, tunneling avalonia-events
Clipboard, file dialogs, notifications, storage avalonia-services
App structure, resource dictionaries, app lifetime avalonia-app-development
Headless testing, UI automation avalonia-testing
Packaging for macOS/Windows/Linux/WASM avalonia-deployment
Migrating from WPF avalonia-wpf-migration
Designing/polishing UI for visual quality, picking themes, building a design system, motion, accessibility, layout patterns, icons, pre-ship review avalonia-pro-max

Notable Community Packages

A curated short-list of the most commonly needed community packages:

Need Package
Message box dialogs MsgBox.Avalonia
Hot reload during dev HotAvalonia
SVG images Svg.Skia
Animated GIFs AvaloniaGif
Charts LiveChartsCore.SkiaSharpView.Avalonia or ScottPlot.Avalonia
Code editor control AvaloniaEdit
Docking layout Dock.Avalonia
Behaviors (DataTrigger replacement) Avalonia.Xaml.Behaviors
Node editor NodifyAvalonia (GitHub: BAndysc)
Material theme Material.Avalonia
Fluent/WinUI controls FluentAvalonia
Rich dialog service HanumanInstitute.MvvmDialogs.Avalonia
VLC media player LibVLCSharp.Avalonia
PDF viewer MuPDFCore
Deployment packaging PupNet Deploy (GitHub: kuiperzone/PupNet-Deploy)

Read the full file on GitHub · 59 lines

Files

What ships with it

42 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. 8d ago First seen · 59 lines · 30 tokens per session scan A e5d7b4b9ee2d

Subscribe to this mod's changes

avalonia is a skill published in the GitHub repository linuxdevel/Avalonia-skills (36 stars, last pushed 4mo ago), licensed MIT. It adds 30 tokens to every session and 764 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

avalonia-viewmodels-zafiro

Optimal ViewModel and Wizard creation patterns for Avalonia using Zafiro and ReactiveUI.

sickn33/agentic-awesome-skills · 26 tokens

avalonia-zafiro-development

Mandatory skills, conventions, and behavioral rules for Avalonia UI development using the Zafiro toolkit.

sickn33/agentic-awesome-skills · 27 tokens

convert-blazor-server-to-webapp

Guides conversion of a pre-.NET 8 Blazor Server app into a .NET 8+ Blazor Web App. USE FOR: migrating apps that use AddServerSideBlazor and MapBlazorHub to the AddRazorComponents/MapRazorComponents model, converting Host.cshtml to an App.razor root component, replacing blazor.server.js with blazor.web.js, migrating…

dotnet/skills · 176 tokens

create-blazor-project

Create a new ASP.NET Core web application or web site using Blazor. USE FOR: creating a new Blazor web app, scaffolding a new web project, starting a new web site, choosing render modes (Static SSR, Interactive Server, Interactive WebAssembly, Auto), running dotnet new blazor with the right options, setting up initial…

dotnet/skills · 104 tokens

use-js-interop

Add, review, or fix JavaScript interop in Blazor components. USE FOR: calling JavaScript from Blazor, calling .NET from JavaScript, collocated .razor.js modules, IJSRuntime, IJSObjectReference lifecycle, DotNetObjectReference, ElementReference, timing rules for when JS is available, IAsyncDisposable disposal of JS…

dotnet/skills · 114 tokens

coordinate-components

Share state between components that don't have a direct parent-child parameter relationship, using cascading values, scoped services with change events, or CascadingValueSource via DI. USE WHEN the user needs a CascadingParameter or CascadingValue that works across render mode boundaries, a shopping cart or…

dotnet/skills · 182 tokens