os2-wpf-theme

os2-wpf-theme is a skill for Claude Code, Codex from TripleZeroLabs/TripleZeroLabs.Os2. It costs 149 tokens per session (3,319 once invoked), scanned A, original, MIT.

A skill for applying the OS2 WPF theme from TripleZeroLabs.Os2 in XAML or C# files. WPF is a Windows framework for building desktop interfaces, and XAML describes their layout and styling.

In plain words
What is it for?
Use it when building or editing WPF windows, pages, controls, settings screens, forms, dashboards, toolbars, dialogs, or navigation elements.
Why use it?
It helps keep WPF windows and controls consistent with the specified theme instead of styling each part differently.

Skill for Claude CodeCodex

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

Good fit Use it when building or editing WPF windows, pages, controls, settings screens, forms, dashboards, toolbars, dialogs, or navigation elements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/triplezerolabs/triplezerolabs.os2/os2-wpf-theme
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 TripleZeroLabs/TripleZeroLabs.Os2 --skill os2-wpf-theme
Clone the repo
git clone --depth 1 https://github.com/TripleZeroLabs/TripleZeroLabs.Os2

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 os2-wpf-theme

README.md
[![agentmods](https://agentmods.dev/badge/skills/triplezerolabs/triplezerolabs.os2/os2-wpf-theme/github.svg)](https://agentmods.dev/skills/triplezerolabs/triplezerolabs.os2/os2-wpf-theme)
Your own site
<a href="https://agentmods.dev/skills/triplezerolabs/triplezerolabs.os2/os2-wpf-theme"><img src="https://agentmods.dev/badge/skills/triplezerolabs/triplezerolabs.os2/os2-wpf-theme/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.

agentmods 80×15 button for os2-wpf-theme

Your own site · 80×15
<a href="https://agentmods.dev/skills/triplezerolabs/triplezerolabs.os2/os2-wpf-theme"><img src="https://agentmods.dev/badge/skills/triplezerolabs/triplezerolabs.os2/os2-wpf-theme.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,319 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.00149 $0.03319
Opus 5 $0.00075 $0.01659
Sonnet 5 $0.00030 $0.00664
Haiku 4.5 $0.00015 $0.00332

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

Security

Grade A, and why

os2-wpf-theme 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.

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.

os2-wpf-theme/SKILL.md · 341 lines

How it starts

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

Installation

Add a project reference to TripleZeroLabs.Os2, then apply the theme using one of the three options below. One entry point, one merge URITheme.xaml wires everything internally.

Option A — XAML merge in App.xaml (standalone apps, recommended)

<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="pack://application:,,,/TripleZeroLabs.Os2;component/Themes/Theme.xaml" />
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
</Application.Resources>

Option B — C# at startup (App.xaml.cs)

using TripleZeroLabs.Os2;

protected override void OnStartup(StartupEventArgs e)
{
    base.OnStartup(e);
    Os2Theme.Apply(this);
}

Option C — Per-window (plugins, add-ins, embedded tool hosts)

When your code runs inside a host process you don't own, apply to the individual window only so the host app's resource dictionary stays untouched:

Os2Theme.Apply(myWindow);   // safe for Revit, VS extensions, Office add-ins, etc.

Os2Theme also exposes Remove(...) and IsApplied(...) with the same overloads.


The Golden Rule: Implicit vs. Explicit

This is the thing agents get wrong most. There are two categories of styles.

Implicit styles — automatic, no Style= attribute needed

Merging the theme is enough. Every instance of these controls is themed:

Control What changes
Window Root Foreground set so all TextBlocks inherit it
TextBlock Segoe UI 13px, TextWrapping=Wrapno Foreground setter, by design
Label Segoe UI 13px, TextPrimary foreground
Button Solid primary blue, rounded, hover/pressed/disabled states
TextBox Rounded border, focus ring, disabled tint
PasswordBox Matches TextBox visually
ComboBox Gradient raised border, white popup with drop shadow
ComboBoxItem Rounded, SurfaceAlt on hover, Primary foreground when selected
CheckBox Rounded tick box, full-row hover background
ListBox Light border, TextPrimary foreground
DataGrid No outer border, horizontal dividers, generous cell padding
DataGridColumnHeader SemiBold labels, bottom baseline, sort arrows
DataGridRow SurfaceAlt on hover
DataGridCell 16,12 padding; blue background + white text when selected
TabControl Surface tab strip with hairline baseline
TabItem Underline indicator on selected, subdued when inactive
ContextMenu White, CornerRadius 6, soft drop shadow
MenuItem Rounded, SurfaceAlt highlight, generous padding

Read the full file on GitHub · 341 lines

Files

What ships with it

2 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 · 341 lines · 149 tokens per session scan A 6c11b2a40f7e

Subscribe to this mod's changes

os2-wpf-theme is a skill published in the GitHub repository TripleZeroLabs/TripleZeroLabs.Os2 (2 stars, last pushed 8d ago), licensed MIT. It adds 149 tokens to every session and 3,319 once invoked, about $0.0007 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-31.

Related

Other skills, from other repositories

rhinocommon-geometry

Deep reference for Rhino.Geometry namespace — all geometry types, operations, and patterns in RhinoCommon. Use this skill whenever working with Rhino geometry in C# or Python: Point3d, Vector3d, Curve, Surface, Brep, Mesh, NURBS, intersections, boolean operations, transforms, planes, bounding boxes. Triggers on…

bcshih/rhino-dev-skills · 151 tokens

revit-api-code

Generate Revit API code in C# or Python for macros, external commands, add-ins, or pyRevit scripts — production-ready, beyond what Dynamo can do. Use this skill when the user needs C# Revit macros, IExternalCommand boilerplate, .addin manifest files, pyRevit button scripts, or any code that runs outside of Dynamo.…

Utopia5327/claude-plugin-for-revit-bim · 166 tokens

dotnet-winforms-basics

Building WinForms on .NET 8+. High-DPI, dark mode (experimental), DI patterns, modernization tips.

wshaddix/dotnet-skills · 31 tokens

wpf-best-practices

Best practices for building WPF desktop applications with C# and .NET. Use when working on WPF projects, .NET desktop apps, XAML UI, MVVM architecture, system tray apps, or any C# project using Windows Presentation Foundation.

jcurbelo/skills · 57 tokens

avalonia-zafiro-development

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

lucaspmarie-a11y/claude-skills-vault · 27 tokens

dotnet-reverse

A guide for analyzing compiled .NET and C# programs, including managed Windows executables and libraries. Reverse engineering means studying compiled software to understand how it works, and decompiling turns it back into readable approximate source code.

zhaoxuya520/reverse-skill · 144 tokens