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/sintaxasn/fluence.wpf/new-controlnpx skills add sintaxasn/Fluence.Wpf --skill new-controlgit clone --depth 1 https://github.com/sintaxasn/Fluence.WpfWrote 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/sintaxasn/fluence.wpf/new-control)<a href="https://agentmods.dev/skills/sintaxasn/fluence.wpf/new-control"><img src="https://agentmods.dev/badge/skills/sintaxasn/fluence.wpf/new-control.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.01302 |
| Opus 5 | $0.00000 | $0.00651 |
| Sonnet 5 | $0.00000 | $0.00260 |
| Haiku 4.5 | $0.00000 | $0.00130 |
Grade A, and why
new-control 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 5d 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 — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
New Control
Scaffold a new Fluence.Wpf control so it starts conformant instead of being retrofitted. This skill encodes AGENTS.md section 5 (Control authoring checklist). Follow every step; do not skip tests or docs.
Inputs
Ask the user (or infer from the request) before generating:
- Control name (PascalCase, for example
RatingControl). - Base type (
Control,ContentControl, or the closestSystem.Windows.Controls.*). - Dependency properties and which are read-only state DPs (
IsPressed,IsValid). - Visual state groups needed (
CommonStates,FocusStates,CheckStates, ...). - Whether it is theme-sensitive (needs a theme-cycle test).
Reference authority
Resolve every visual or behavioural decision through AGENTS.md section 4: in-tree precedent first, then WinUI 3 CommonStyles for tokens/states/visuals, then .NET 10 WPF Themes for WPF-native chrome, then Microsoft Learn as a tie-breaker. Do not invent Fluent semantics. Verify any runtime API is available on net472 (section 4.3).
Steps
- CLR type at
Fluence.Wpf/Controls/<Name>.cs.- Copy the 27-line BSD header verbatim from an existing library file. Do not change the year.
- Subclass the chosen base. In the static constructor:
DefaultStyleKeyProperty.OverrideMetadata(typeof(<Name>), new FrameworkPropertyMetadata(typeof(<Name>)));. - Register dependency properties with CLR wrappers and
OnFooChangedcallbacks where relevant. UseRegisterReadOnlyfor state-only DPs, with the...PropertyKeyprivate field plus public...Property = ...PropertyKey.DependencyProperty. - Annotate template parts:
const string PART_Whatever = "PART_Whatever";plus[TemplatePart(Name = PART_..., Type = typeof(T))], and wire them inOnApplyTemplate. - Annotate visual states:
[TemplateVisualState(GroupName = "CommonStates", Name = "Normal|PointerOver|Pressed|Disabled")]. - Nullable-clean, explicit types over
var, target-typednew(), discard ignored returns with_,??throw expressions. XML///docs on every public member (the build fails on missing docs). - Never use
string.IsNullOrEmpty(usestring.IsNullOrWhiteSpace). Wrap any Win32 bit-mask math inunchecked { }.
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.
- 5d ago First seen · 58 lines · 0 tokens per session scan A 5f89c62cf620
new-control is a skill published in the GitHub repository sintaxasn/Fluence.Wpf (12 stars, last pushed today), licensed BSD-3-Clause. It costs nothing until one of its globs matches a file; then it loads 1,302 tokens. 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
entity-generator
Generate a tik4net.objects O/R-mapper entity (C# class) for a MikroTik object/path — decorated with [TikEntity]/[TikProperty], correctly typed, R/O vs R/W resolved, documented (including WinBox-native GUI names), with Execute/connection-extension methods and a ToString override where appropriate. Use whenever the user…
winbox-native-dev
Develop and extend the tik4net WinBoxNative (structured M2) transport: add a new path→handler mapping, a new field UI-type encoder/decoder, a singleton/list/range/enum/reference field, an action verb or streaming monitor — by cross-referencing the three sources of truth (the version-matched .jg catalog, the webfig…
nina-repository
Repository-specific guidance for working in the N.I.N.A. codebase and NINA.sln. Use when Codex is asked to modify, review, test, debug, navigate, or explain code in this repository; touch NINA. projects, app startup/DI, profiles/settings, localization, database migrations, equipment, astrometry, imaging, plate…
mapsui
Use when embedding interactive 2D maps in .NET desktop (WinForms/WPF) or mobile (MAUI) applications — tile layers, vector features, map controls. Mapsui: cross-platform .NET map component library.
make-wpf-custom-control
Generates WPF CustomControl C# class and XAML ControlTemplate style from a control name. Use when creating a new custom control, scaffolding a templated control, or generating CustomControl boilerplate code. Usage: /wpf-dev-pack:make-wpf-custom-control.
make-wpf-project
Scaffolds a complete WPF project structure with MVVM, DI, and best practices. Use when starting a new WPF application, creating a WPF solution from scratch, or setting up project structure with CommunityToolkit.Mvvm or Prism. Usage: /wpf-dev-pack:make-wpf-project [--minimal|--full|--prism].