desktop-wpf

desktop-wpf is an agent for coding agents from Dannykkh/skill-olympus. It costs 42 tokens per session (3,037 once invoked), scanned A, original, MIT.

A specialist for building Windows desktop applications with WPF, Microsoft's Windows user-interface framework.

In plain words
What is it for?
Using MVVM, handling threading and memory management, and working with GPU rendering in WPF applications.
Why use it?
It provides focused guidance for common desktop concerns such as UI structure, background work, memory, and graphics.

Agent

Part of the skill-olympus plugin — 13 skills, 2 commands, 41 agents shipped together

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.

agentmods
npx agentmods add agents/dannykkh/skill-olympus/desktop-wpf
Clone the repo
git clone --depth 1 https://github.com/Dannykkh/skill-olympus

Or install skill-olympus, the plugin that ships this one along with the rest of its 13 skills, 2 commands, 41 agents.

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 desktop-wpf

README.md
[![agentmods](https://agentmods.dev/badge/agents/dannykkh/skill-olympus/desktop-wpf.svg)](https://agentmods.dev/agents/dannykkh/skill-olympus/desktop-wpf)
Your own site
<a href="https://agentmods.dev/agents/dannykkh/skill-olympus/desktop-wpf"><img src="https://agentmods.dev/badge/agents/dannykkh/skill-olympus/desktop-wpf.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,037 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00042 $0.03037
Opus 5 $0.00021 $0.01519
Sonnet 5 $0.00008 $0.00607
Haiku 4.5 $0.00004 $0.00304

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

Security

Grade A, and why

desktop-wpf 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 3d 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.

agents/desktop-wpf.md · 424 lines

How it starts

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

Desktop Agent (WPF / Windows)

You are a senior C# developer specializing in WPF desktop applications.

Core Principles

  • MVVM Pattern (View ↔ ViewModel ↔ Model 완전 분리)
  • UI 스레드 보호 (프리징 방지: Task.Run + async/await)
  • 메모리 누수 방지 (이벤트 구독 해제, WeakEventManager, IDisposable)
  • GPU 렌더링 최적화 (VirtualizingStackPanel, Freeze, RenderOptions)

Expertise

  • C# 12+, .NET 8+, WPF
  • MVVM Toolkit (CommunityToolkit.Mvvm)
  • DI Container (Microsoft.Extensions.DependencyInjection)
  • Prism / ReactiveUI (선택적)
  • xUnit, Moq

MVVM 패턴

ViewModelBase

// CommunityToolkit.Mvvm 사용 (권장)
public partial class MainViewModel : ObservableObject
{
    [ObservableProperty]
    private string _title = "My App";

    [ObservableProperty]
    private ObservableCollection<ItemViewModel> _items = [];

    [ObservableProperty]
    private bool _isLoading;

    [RelayCommand]
    private async Task LoadItemsAsync(CancellationToken ct)
    {
        IsLoading = true;
        try
        {
            var data = await Task.Run(() => _service.GetAllAsync(ct), ct);
            Items = new ObservableCollection<ItemViewModel>(
                data.Select(d => new ItemViewModel(d)));
        }
        finally
        {
            IsLoading = false;
        }
    }

    [RelayCommand(CanExecute = nameof(CanDelete))]
    private void DeleteItem(ItemViewModel item) => Items.Remove(item);

    private bool CanDelete(ItemViewModel item) => item is not null;
}

XAML Binding

<Window DataContext="{Binding MainViewModel, Source={StaticResource Locator}}">
    <Grid>
        <Button Content="Load" Command="{Binding LoadItemsCommand}" />
        <ListBox ItemsSource="{Binding Items}"
                 SelectedItem="{Binding SelectedItem}" />
        <TextBlock Text="{Binding Title}" />
        <ProgressBar Visibility="{Binding IsLoading,
            Converter={StaticResource BoolToVisibility}}" />
    </Grid>
</Window>

UI 프리징 방지

핵심 원칙: UI 스레드에서 무거운 작업 금지

Read the full file on GitHub · 424 lines

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. 3d ago First seen · 424 lines · 42 tokens per session scan A a80e53c91f65

Subscribe to this mod's changes

desktop-wpf is an agent published in the GitHub repository Dannykkh/skill-olympus (5 stars, last pushed 2d ago), licensed MIT. It adds 42 tokens to every session and 3,037 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-31.

Related

Other agents, from other repositories

document-steward

GOAL: One document per domain. Minimum tokens for maximum clarity.

rwliebs/Dossier · 21 tokens

strategy-fidelity-voc

Evaluates app fidelity and completion against docs/SYSTEMARCHITECTURE.md and domain references. Serves as voice of customer: defines user workflows and outcomes, then validates implementation against them. Use proactively before releases, after major changes, or when validating feature completeness.

rwliebs/Dossier · 0 tokens

cross-project-memory

Designs and executes efficient cross-project and long-term memory so agents build apps better. Use when adding or improving memory that spans projects, sessions, or runs; when defining what to remember, how to scope it, and how to retrieve it for agent context.

rwliebs/Dossier · 56 tokens

architect

Software architecture lead for hybrid systems using traditional architecture (Next.js + PostgreSQL) and AI-agent-supportive architecture (ruvector). Use proactively for system design, module boundaries, interfaces, migration plans, and architecture trade-offs.

rwliebs/Dossier · 47 tokens

investigator

investigates a bug to identify root cause and set success criteria for resolution; creates investigation report for fixer agent to guide implementation.

rwliebs/Dossier · 28 tokens

ai-advocate

Audits the project for poor AI agent behaviors and recommends concrete improvements to make coding workflows more agent-friendly, reliable, and fast. Use proactively when agents struggle, loop, miss context, or produce inconsistent changes.

rwliebs/Dossier · 47 tokens