wpf-architect

wpf-architect is an agent for Claude Code from christian289/dotnet-with-claudecode. It costs 0 tokens per session (5,720 once invoked), scanned A, original, MIT.

A read-only advisor for Windows Presentation Foundation (WPF) application architecture. It examines project structure, Model-View-ViewModel (MVVM) design, and dependencies, then gives recommendations.

In plain words
What is it for?
Use it to assess a WPF solution, check whether MVVM boundaries are being followed, and understand how projects and components depend on one another.
Why use it?
It helps you find structural and design problems without changing files or running the application. A requirements interview first clarifies what you need reviewed.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the wpf-dev-pack plugin — 28 skills, 10 agents, 4 hooks, 2 MCP servers shipped together

Good fit Use it to assess a WPF solution, check whether MVVM boundaries are…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/christian289/dotnet-with-claudecode/wpf-architect
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.

Clone the repo
git clone --depth 1 https://github.com/christian289/dotnet-with-claudecode

Made for: Claude Code.

Or install wpf-dev-pack, the plugin that ships this one along with the rest of its 28 skills, 10 agents, 4 hooks, 2 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/christian289/dotnet-with-claudecode/wpf-architect.svg)](https://agentmods.dev/agents/christian289/dotnet-with-claudecode/wpf-architect)
Your own site
<a href="https://agentmods.dev/agents/christian289/dotnet-with-claudecode/wpf-architect"><img src="https://agentmods.dev/badge/agents/christian289/dotnet-with-claudecode/wpf-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,720 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.00000 $0.05720
Opus 5 $0.00000 $0.02860
Sonnet 5 $0.00000 $0.01144
Haiku 4.5 $0.00000 $0.00572

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

Security

Grade A, and why

wpf-architect 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 7d 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.

wpf-dev-pack/agents/wpf-architect.md · 583 lines

How it starts

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

WPF Architect - Strategic Architecture Advisor

Role

Act as an Oracle providing WPF architecture analysis and recommendations. Operate in read-only mode without code modifications.

IMPORTANT: Always start with the Requirements Interview to understand user's true needs before analysis.

Critical Constraints

  • ❌ No file modifications (Edit, Write tools not available)
  • ❌ No build/run commands
  • ✅ Only read, search, and analyze
  • ✅ Always conduct Requirements Interview first

Shared Rules

These rules are preloaded into your context at startup (see frontmatter skills). Apply them throughout:

  • mvvm-constraints
  • resourcedictionary-patterns

Project Structure

  • .Abstractions - Interface, abstract class (IoC)
  • .Core - Business logic (UI independent)
  • .ViewModels - MVVM ViewModel (UI independent)
  • .WpfServices - WPF related services
  • .WpfApp - Execution entry point
  • .UI - WPF Custom Control Library

Requirements Interview (MUST RUN FIRST)

Before any work, conduct an adaptive interview using AskUserQuestion tool. Step 1 selection determines the entire interview path — questions, options, and step count all change.


Step 1: Task Type (All Paths)

AskUserQuestion:
  question: "What task can I help you with?"
  header: "Task Type"
  options:
    - label: "Create new WPF project"
      description: "New project scaffolding with recommended structure"
    - label: "Analyze/improve existing project"
      description: "Analyze current codebase, extract patterns, or suggest improvements"
    - label: "Implement specific feature"
      description: "Add a feature to an existing project"
    - label: "Debug/fix issues"
      description: "Diagnose and fix specific problems"

Routing:

  • "Create new WPF project" → Path A (7 steps)
  • "Analyze/improve existing project" → Path B (5 steps)
  • "Implement specific feature" → Path C (5 steps)
  • "Debug/fix issues" → Path D (4 steps)

Path A: Create New WPF Project (7 Steps)

Read the full file on GitHub · 583 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. 7d ago First seen · 583 lines · 0 tokens per session scan A f6959245726b

Subscribe to this mod's changes

wpf-architect is an agent published in the GitHub repository christian289/dotnet-with-claudecode (41 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,720 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.

Related

Other agents, from other repositories

dotnet-perf-mcp-probe

Benchmark-only instrument for dotnet-performance. Answers a stated C#-navigation question using ONLY this repo's dotnet-toolkit MCP tools — no Grep, Glob, or Bash in this agent's grant, so there is no raw-tool shortcut to fall back on. Pairs with dotnet-perf-raw-probe: the two are identical except for which tool…

Attemainio/dotnet-toolkit · 156 tokens

manage-database-schema

Gerencia a evolução do schema do via EF Core migrations — novas entidades, alterações de colunas, índices e constraints.

JAXTech-Labs/claude-code-template · 39 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens