MAF Auditor Agent

MAF Auditor Agent is an agent for Claude Code from joslat/maf-doctor. It costs 69 tokens per session (1,942 once invoked), scanned A, original, MIT.

An auditing agent for .NET repositories preparing to migrate to Microsoft Agent Framework, a framework for building software agents. It scans code and packages and creates a migration plan.

In plain words
What is it for?
Use it to inspect APIs, package changes, workflow topology, and code risks, then produce src/docs/migration-plan.md with a tracking table.
Why use it?
It identifies migration work and records it in an executable plan before developers start changing the code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to inspect APIs, package changes, workflow topology, and code risks, then produce src/docs/migration-plan.md with a tracking table.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/joslat/maf-doctor/maf-auditor
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/joslat/maf-doctor

Made for: Claude Code.

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 MAF Auditor Agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/joslat/maf-doctor/maf-auditor/github.svg)](https://agentmods.dev/agents/joslat/maf-doctor/maf-auditor)
Your own site
<a href="https://agentmods.dev/agents/joslat/maf-doctor/maf-auditor"><img src="https://agentmods.dev/badge/agents/joslat/maf-doctor/maf-auditor/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.

agentmods 80×15 button for MAF Auditor Agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/joslat/maf-doctor/maf-auditor"><img src="https://agentmods.dev/badge/agents/joslat/maf-doctor/maf-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,942 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.00069 $0.01942
Opus 5 $0.00034 $0.00971
Sonnet 5 $0.00014 $0.00388
Haiku 4.5 $0.00007 $0.00194

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

Security

Grade A, and why

MAF Auditor Agent 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 9d 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/agents/maf-auditor.agent.md · 136 lines

How it starts

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

You are a pre-migration auditor for Microsoft Agent Framework (MAF). Your only job is to analyze a .NET codebase and produce a complete, ready-to-execute src/docs/migration-plan.md that the MAF Migration Agent can run without any manual editing.

MCP Tools (prefer these for the heavy lifting)

The maf-autopilot MCP server provides executable tools for nearly every step below. Tool names are PascalCase.

When you need to… Call MCP tool Phase
Diff two NuGet versions for a MAF package MafDiffPackage(packageId, oldVersion, newVersion) B
Check if a specific API name is safe / obsolete MafApiSafety(apiName) D
Look up a known CS0618 registry entry by ID MafRegistryLookup(entryId) D
Validate fan-out / fan-in topology (Roslyn) MafValidateFanOut(repoPath) E
Sweep the repo for security/concurrency/observability bad code MafScanAntiPatterns(repoPath) E.5
Simulate workflow topology (Mermaid + completion forecast) MafSimulateWorkflow(repoPath) E.6
Explain a specific MAF snippet inline MafExplain(snippet) (any)

Skills to load for narrative context

.github/skills/maf-migration-guide/SKILL.md       — expected patterns and breaking changes
.github/skills/maf-migration-plan-creator/SKILL.md    — plan template and task ID conventions
.github/skills/maf-obsolete-api-registry/SKILL.md     — schema of registry.yaml (for context only — use MafRegistryLookup for entries)
.github/skills/maf-anti-pattern-scanner/SKILL.md  — canonical rule list for steady-state best-practice review (out-of-scope for migration audit, but read once)

Read the full file on GitHub · 136 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. 9d ago First seen · 136 lines · 69 tokens per session scan A fabb4e3039e5

Subscribe to this mod's changes

MAF Auditor Agent is an agent published in the GitHub repository joslat/maf-doctor (14 stars, last pushed 22d ago), licensed MIT. It adds 69 tokens to every session and 1,942 once invoked, about $0.0003 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.

Related

Other agents, from other repositories

winui-dev

Builds WinUI 3 desktop applications using Windows App SDK, XAML, and C#. Use for creating new apps, adding features, converting from WPF/Electron/web, fixing bugs, or any WinUI 3 / WinAppSDK / XAML task.

microsoft/win-dev-skills · 58 tokens

cli

Use as the primary implementation agent for this .NET repository. It defines project structure, engineering conventions, ownership boundaries, localization, testing policy, and when to use the cli, blazor, dotnet, codegen, docs, and test skills.

AterDev/Perigon.CLI · 52 tokens

dotnet-explore

Locates the C# symbols, references, and files a task touches, and reports the blast radius — before any code is written. Use when about to modify code, when assessing how a new feature lands in the existing codebase, or when navigating dependencies to find what a change would break. Returns symbolIds and file:line…

Attemainio/dotnet-toolkit · 105 tokens

dotnet-perf-full-probe

Benchmark-only instrument for dotnet-performance. Answers a stated C#-navigation question with BOTH tool families available at once — this repo's dotnet-toolkit MCP tools AND Read/Grep/Glob/Bash — under the plugin's shipped default guard state (advisory, not suspended, not forced-block). Plays a real, unrestricted…

Attemainio/dotnet-toolkit · 232 tokens

fluent-validation

Cria validators FluentValidation consistentes para DTOs do — regras, mensagens em português e integração com ASP.NET Core.

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

razor-frontend

Constrói Views Razor, ViewModels, layouts e partial views para o .Web — consumindo a API REST sem lógica de negócio.

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