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 instructions/faze79/wpfvisualtreemcp/claude-mdgit clone --depth 1 https://github.com/faze79/WPFVisualTreeMcpWrote 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/instructions/faze79/wpfvisualtreemcp/claude-md)<a href="https://agentmods.dev/instructions/faze79/wpfvisualtreemcp/claude-md"><img src="https://agentmods.dev/badge/instructions/faze79/wpfvisualtreemcp/claude-md.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.03141 | $0.03141 |
| Opus 5 | $0.01571 | $0.01571 |
| Sonnet 5 | $0.00628 | $0.00628 |
| Haiku 4.5 | $0.00314 | $0.00314 |
Grade A, and why
WPFVisualTreeMcp CLAUDE.md 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.
How it starts
The opening of the file, as written. The whole thing — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
WpfVisualTreeMcp is an MCP (Model Context Protocol) server that enables AI agents to inspect running WPF applications in real-time. It exposes WPF visual tree inspection capabilities similar to Snoop WPF or Visual Studio's Live Visual Tree through the MCP protocol.
Build Commands
# Build solution
dotnet build WpfVisualTreeMcp.sln
# Build for Release
dotnet build -c Release WpfVisualTreeMcp.sln
# Run tests
dotnet test WpfVisualTreeMcp.sln
# Run sample WPF app for testing
dotnet run --project samples/SampleWpfApp
# Publish MCP Server executable (same exe also runs as the CLI)
dotnet publish src/WpfVisualTreeMcp.Server/WpfVisualTreeMcp.Server.csproj -c Release -o ./publish
# Run as CLI (any subcommand switches from MCP server mode to CLI mode)
dotnet run --project src/WpfVisualTreeMcp.Server -- list
./publish/WpfVisualTreeMcp.Server.exe help
Architecture
AI Agent (Claude Code)
↓ [MCP Protocol - JSON-RPC over stdio]
MCP Server (.NET 8.0)
├─ WpfTools (28 tools)
├─ ProcessManager (discovers WPF processes)
└─ NamedPipeBridge (IPC)
↓ [Named Pipes: wpf_inspector_{pid}]
Target WPF Application (.NET Framework)
└─ Inspector DLL (.NET 4.8)
├─ TreeWalker (visual tree navigation + adorner/popup traversal)
├─ ScreenshotCapture (RenderTargetBitmap element capture)
├─ PropertyReader (dependency properties)
├─ BindingAnalyzer (binding inspection)
├─ ControlInteractor (UI Automation / physical click)
└─ IpcServer (named pipe communication)
Key Design: Multi-process architecture for safety. The server runs separately and communicates via named pipes. All operations are read-only except wpf_click_element, wpf_select_item, wpf_set_text, wpf_send_keys, wpf_set_property, and wpf_revert_property, which drive controls or edit property values and change application state. wpf_set_property is reversible via wpf_revert_property (per-session undo stack that restores the prior binding, local value, or default).
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.
- 3d ago First seen · 240 lines · 3,141 tokens per session scan A 7fe0a984e3c5
WPFVisualTreeMcp CLAUDE.md is an instructions file published in the GitHub repository faze79/WPFVisualTreeMcp (12 stars, last pushed 1mo ago), licensed MIT. It adds 3,141 tokens to every session, about $0.0157 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-30.
Other instructions, from other repositories
fieldcure-mcp-rag CLAUDE.md
Claude Code instructions for fieldcure/fieldcure-mcp-rag, covering claude.md, what this is, build & test commands, build and run all tests (185 tests, mstest).
fieldcure-mcp-essentials CLAUDE.md
Claude Code instructions for fieldcure/fieldcure-mcp-essentials, covering fieldcure.mcp.essentials, tool authoring conventions, runcommandtool subtleties, tests and release process.
maui public-api.instructions.md
Instructions for dotnet/maui, covering public api surface design, api addition rules, publicapi.unshipped.txt, obsolescence and removal and visibility decisions.
maui performance-hotpaths.instructions.md
Instructions for dotnet/maui, covering performance-critical path rules, hot paths in maui, allocation avoidance, caching and invalidation and collection iteration.
moorestech AGENTS.md
AGENTS.md instructions for moorestech/moorestech, covering コーディングの指針, qa(必須), 互換性とパフォーマンス, 既知の制約(設計上の割り切り) and regionの活用.
bitfinex-net
Use Bitfinex.Net when generating C#/.NET code that interacts with Bitfinex, including Spot, margin, derivatives symbols, funding, REST endpoints, WebSocket subscriptions, account management, market data, or order placement. Triggers on Bitfinex integration requests in C#, .NET, dotnet, F#, or VB.NET context.