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 skills add DevExpress/agent-skills --skill devexpress-wpf-ai-chat-controlgit clone --depth 1 https://github.com/DevExpress/agent-skillsWrote 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/devexpress/agent-skills/devexpress-wpf-ai-chat-control)<a href="https://agentmods.dev/skills/devexpress/agent-skills/devexpress-wpf-ai-chat-control"><img src="https://agentmods.dev/badge/skills/devexpress/agent-skills/devexpress-wpf-ai-chat-control/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.
<a href="https://agentmods.dev/skills/devexpress/agent-skills/devexpress-wpf-ai-chat-control"><img src="https://agentmods.dev/badge/skills/devexpress/agent-skills/devexpress-wpf-ai-chat-control.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00238 | $0.05634 |
| Opus 5.5 | $0.00095 | $0.02254 |
| Sonnet 5.5 | $0.00048 | $0.01127 |
| Haiku 4.5 | $0.00024 | $0.00563 |
Grade A, and why
devexpress-wpf-ai-chat-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 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 — 432 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DevExpress WPF AI Chat Control
AIChatControl embeds a ready-made, Copilot-style chat interface in your WPF app. The conversation flow (user messages, streaming assistant responses, Markdown rendering, file attachments, prompt suggestions, history) is built in — you supply an IChatClient (Azure OpenAI / OpenAI / Ollama / Semantic Kernel) and drop the control on a ThemedWindow. Under the hood it hosts the DevExpress Blazor DxAIChat component inside a BlazorWebView.
This skill covers project setup, installing the NuGet, registering an AI client, placing the control, and the basic features (streaming, Markdown, file upload, prompt suggestions, history, manual message handling).
When to Use This Skill
Use this skill when you need to:
- Embed an interactive AI chat (Copilot-style) in a WPF app
- Connect to Azure OpenAI / OpenAI / Ollama / Semantic Kernel via
IChatClient - Stream assistant responses as they're generated
- Render Markdown / code blocks in chat messages
- Let users attach files (PDF / images / text) to chat messages
- Persist and reload chat history (
SaveMessages/LoadMessages) - Manually intercept messages (
MessageSending) — for guard rails, side channels, custom AI calls - Display multiple chat surfaces with different AI services (
ChatClientServiceKey)
Critical Prerequisites
| Requirement | Notes |
|---|---|
| .NET 8.0 or newer | The control is not available on .NET Framework or .NET 6 / 7 |
Microsoft.NET.Sdk.Razor project SDK |
Must change <Project Sdk="Microsoft.NET.Sdk"> → <Project Sdk="Microsoft.NET.Sdk.Razor"> |
| WebView2 runtime | Bundled with Windows 11; ship the installer for older Windows / Server |
dx:ThemedWindow host |
All official samples use ThemedWindow; design-time rendering not supported |
A registered IChatClient |
AIExtensionsContainerDesktop.Default.RegisterChatClient(...) at startup |
No design-time rendering: the chat surface only renders at runtime. Don't expect to see it in the XAML designer.
What ships with it
4 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.
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 · 432 lines · 238 tokens per session scan A 1ac4002f5e4e
devexpress-wpf-ai-chat-control is a skill published in the GitHub repository DevExpress/agent-skills (66 stars, last pushed 4d ago), licensed MIT. It adds 238 tokens to every session and 5,634 once invoked, about $0.0010 per session on Opus 5.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-10-20.
Other skills, from other repositories
video-prompting
Use when crafting video or motion prompts for any generative model — dramaturgy, camera, physics-safe motion, frame anchors, and clip chaining.
audio-prompting
Use when crafting TTS, music, or bed prompts for any generative audio model — director style, song structure, and post-production layering.
generation-diversity
Use when writing any generative prompt — ritual seed, explicit structure, scenario axes, and quality gates before paid API calls.
image-prompting
Use when crafting still-image prompts for any generative model — composition, identity sheets, edits, try-on, and photoreal personas.
prompt-architect
Designs clear, testable prompts for agent workflows. Use when creating new prompts, refining weak prompts, or establishing reusable prompting patterns.
prompt-optimization
Improve a prompt on the evaluations workbench through a measured loop. Score the baseline first, then duplicate the target column, form a hypothesis from failing rows, edit the copy's prompt draft, run, compare pass rate and cost, and repeat until the numbers hold. Use when the user asks to optimize or improve a…