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 linuxdevel/Avalonia-skills --skill avalonia-stylinggit clone --depth 1 https://github.com/linuxdevel/Avalonia-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/linuxdevel/avalonia-skills/avalonia-styling)<a href="https://agentmods.dev/skills/linuxdevel/avalonia-skills/avalonia-styling"><img src="https://agentmods.dev/badge/skills/linuxdevel/avalonia-skills/avalonia-styling/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/linuxdevel/avalonia-skills/avalonia-styling"><img src="https://agentmods.dev/badge/skills/linuxdevel/avalonia-skills/avalonia-styling.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.00066 | $0.02846 |
| Opus 5.5 | $0.00026 | $0.01138 |
| Sonnet 5.5 | $0.00013 | $0.00569 |
| Haiku 4.5 | $0.00007 | $0.00285 |
Grade A, and why
avalonia-styling 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 9d 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 — 339 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Avalonia Styling
Overview
Three mechanisms for visual styling in Avalonia:
| Mechanism | Analogous to | Use for |
|---|---|---|
Style |
CSS | App-specific visual rules, typography, spacing, state |
ControlTheme |
WPF Style + ControlTemplate | Restyling entire control appearance (lookless) |
ContainerQuery |
CSS container queries | Responsive styles based on container size |
Styles cascade up the logical tree. ControlThemes live in Resources, not Styles.
Writing Styles
Selector + Setters. Place in Window.Styles, UserControl.Styles, or App.axaml for global.
<Window.Styles>
<Style Selector="TextBlock.h1">
<Setter Property="FontSize" Value="24"/>
<Setter Property="FontWeight" Value="Bold"/>
<!-- Nested: ^ refers to parent selector (TextBlock.h1) -->
<Style Selector="^:pointerover">
<Setter Property="Foreground" Value="Red"/>
</Style>
</Style>
</Window.Styles>
Multiple setters, one selector:
<Style Selector="Button.primary">
<Setter Property="Background" Value="#0078D4"/>
<Setter Property="Foreground" Value="White"/>
<Setter Property="Padding" Value="16,8"/>
</Style>
Style Selector Syntax
| Selector | Syntax | Matches |
|---|---|---|
| Type | Button |
All Buttons |
| Class | .myClass |
Controls with that style class |
| Type + Class | Button.primary |
Buttons with class primary |
| Name | #myName |
Control with x:Name="myName" |
| Direct child | StackPanel > Button |
Button as direct child of StackPanel |
| Descendant | StackPanel Button |
Any Button inside StackPanel |
| Pseudoclass | :pointerover |
State-based match |
| Property value | [IsChecked=True] |
Property equals value |
| Template part | /template/ ContentPresenter |
Element inside ControlTemplate |
| Nesting | ^ |
Parent selector (nested styles only) |
| Or | Button, TextBlock |
Either type |
| Not | :not(.primary) |
Negation |
| Is (type check) | :is(Button) |
Includes subtypes |
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.
- 9d ago Changed · +16 lines 8b15de9b3fce
- 2mo ago First seen · 323 lines · 66 tokens per session scan A fa4a97afa2ae
avalonia-styling is a skill published in the GitHub repository linuxdevel/Avalonia-skills (48 stars, last pushed 10d ago), licensed MIT. It adds 66 tokens to every session and 2,846 once invoked, about $0.0003 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-08-30.
Other skills, from other repositories
anti-slop-design
Autonomous Principal Design Technologist. Cures vibe-coded software from AI frontend slop using curated token archetypes and 7-axis quality gating.
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
frontend-ui-dark-ts
Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.
open-design-setup
Prepare or repair a project's prototyping environment so open-design can build prototypes with the project's own component library and render them through the project's toolchain. Use when the library target is needed and docs/design/prototyping.md is missing, stale, or failing; excludes HTML-only design work and…
frontend-visual-qa
Audits rendered UI and specific task/object-link handoffs; excludes ordinary source citations alone. Audits already-rendered UI and Markdown/Obsidian image layout — web app, deck/slide, dashboard, design-system, or Electron/native app — via real-browser/native-app journeys and a Playwright sweep. Use after UI…