ag-ui: Skill for Claude Code

.github/skills/agui-dotnet-agents-sync/SKILL.md

agui-dotnet-agents-sync is a skill for Claude Code, Codex from ag-ui-protocol/ag-ui. It costs 139 tokens per session (1,401 once invoked), scanned A, original, MIT.

A documentation-sync guide for the AG-UI .NET SDK. It compares `AGENTS.md` and the architecture document with the actual project and folder structure.

In plain words
What is it for?
Use it after a .NET SDK refactor or when checking project names, folders, sample steps, endpoint patterns, and architecture descriptions.
Why use it?
Documentation can become outdated after projects, packages, endpoints, or samples change, even when the build still passes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

This is ag-ui-protocol/ag-ui's own configuration. It tells Claude Code and Codex how to work on ag-ui itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ag-ui configures →

About the project

AG-UI is an event-based protocol that lets AI agent backends communicate with user-facing applications. It standardizes agent events and inputs while supporting transports such as server-sent events, WebSockets, and webhooks. The catalogue add-ons help developers build integrations and applications around the protocol.

ag-ui-protocol/ag-ui · 15,752 stars · on GitHub · ag-ui.com

Reuse

Borrowing it

Nothing to install: this file belongs to ag-ui-protocol/ag-ui. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ag-ui-protocol/ag-ui/main/.github/skills/agui-dotnet-agents-sync/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ag-ui-protocol/ag-ui

Made for: Claude Code, Codex.

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 agui-dotnet-agents-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/ag-ui-protocol/ag-ui/agui-dotnet-agents-sync.svg)](https://agentmods.dev/skills/ag-ui-protocol/ag-ui/agui-dotnet-agents-sync)
Your own site
<a href="https://agentmods.dev/skills/ag-ui-protocol/ag-ui/agui-dotnet-agents-sync"><img src="https://agentmods.dev/badge/skills/ag-ui-protocol/ag-ui/agui-dotnet-agents-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,401 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.00139 $0.01401
Opus 5 $0.00069 $0.00700
Sonnet 5 $0.00028 $0.00280
Haiku 4.5 $0.00014 $0.00140

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

Security

Grade A, and why

agui-dotnet-agents-sync 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.

.github/skills/agui-dotnet-agents-sync/SKILL.md · 98 lines

How it starts

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

AG-UI .NET SDK — Docs Sync

sdks/dotnet/AGENTS.md (coding instructions) and sdks/dotnet/docs/architecture.md (design overview) describe the SDK's structure, naming, and conventions. They drift silently after refactors because nothing fails the build when prose goes stale. This skill reconciles them against the live tree.

Typical drift this catches: a package rename, a moved/removed project, a changed endpoint pattern, or a new sample step that the prose never caught up with. An agent that edits these files from memory re-introduces the same kind of drift, so always derive the truth from the tree first.

Process

  1. Establish ground truth from the tree, not from the doc. The authoritative source is sdks/dotnet/AGUI.slnx plus the folder listing — never the prose you are about to edit.
    • Projects: read <Project Path=...> entries from AGUI.slnx.
    • Folders: Get-ChildItem src,tests,samples -Directory.
    • Samples/steps: list samples/GettingStarted/Step* to get the real range.
  2. Drift scan — diff each doc claim against the tree. For every concrete claim in AGENTS.md / docs/architecture.md, confirm it against ground truth:
    • Project & package names exist in AGUI.slnx (and in src/, tests/).
    • Symbols the docs name still exist: Select-String -Path src\*\*.cs,samples\*\*.cs -Pattern "<Symbol>".
    • Renamed/removed symbols are GONE everywhere: grep the repo for the old name (e.g. AGUI.Hosting.AspNetCore, TypedResults.ServerSentEvents); a hit in prose-only is the drift to fix.
  3. Fix surgically. Edit only the stale lines. Match existing tone, tables, and code-fence style. Do not restructure or invent conventions.
  4. Verify. Re-grep every symbol/name you wrote to confirm it exists in the tree. Optionally dotnet build from sdks/dotnet/ if you touched code-style or build claims.

Drift checklist (the claims that rot)

Doc claim Reconcile against
src package list / names AGUI.slnx /src/ folder + src/ dirs
Package dependency table & framework refs grep Microsoft.AspNetCore src\*\*.csproj (must be empty — no src project references ASP.NET)
Where ASP.NET glue lives samples/AGUI.Samples.Shared (the only FrameworkReference Microsoft.AspNetCore.App)
Test-project table & count AGUI.slnx /tests/ + tests/ dirs
Sample step range / count samples/GettingStarted/Step* listing
Endpoint pattern code actual sample Program.cs + samples/AGUI.Samples.Shared
Project layout bullet list src/, tests/, samples/ dirs
Code-style / naming / serialization rules Directory.Build.props/.targets, Directory.Packages.props, source
PublicAPI workflow presence of PublicAPI.*.txt in each src/ project

Read the full file on GitHub · 98 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 · 98 lines · 139 tokens per session scan A 582b86c94c1d

Subscribe to this mod's changes

agui-dotnet-agents-sync is a skill published in the GitHub repository ag-ui-protocol/ag-ui (15,752 stars, last pushed today), licensed MIT. It adds 139 tokens to every session and 1,401 once invoked, about $0.0007 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.