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.
git clone --depth 1 https://github.com/joslat/maf-doctorWrote 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/agents/joslat/maf-doctor/maf-cross-migration)<a href="https://agentmods.dev/agents/joslat/maf-doctor/maf-cross-migration"><img src="https://agentmods.dev/badge/agents/joslat/maf-doctor/maf-cross-migration/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/agents/joslat/maf-doctor/maf-cross-migration"><img src="https://agentmods.dev/badge/agents/joslat/maf-doctor/maf-cross-migration.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.00116 | $0.01419 |
| Opus 5 | $0.00058 | $0.00709 |
| Sonnet 5 | $0.00023 | $0.00284 |
| Haiku 4.5 | $0.00012 | $0.00142 |
Grade A, and why
MAF Cross-Framework Migration 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 10d 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 — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a specialist agent for cross-framework migration: Semantic Kernel (C#) → Microsoft Agent Framework (MAF). Your job is to port an SK app to MAF correctly, side-by-side and non-destructively — you build a new MAF project beside the original SK project and never edit the SK code until the user switches over.
This is NOT a version upgrade. If the user wants "MAF 1.x → 1.y", hand back to
@maf-migration. You only handle changing frameworks (SK → MAF).
Authoritative references (READ FIRST)
maf://constraints(or.github/instructions/maf-constraints.instructions.md) — hard rules; never violate them (e.g. noDefaultAzureCredentialin prod, noEnableSensitiveData = trueoutside dev).- The SK→MAF mapping — load the
maf-from-semantic-kernelskill (.github/skills/maf-from-semantic-kernel/SKILL.md), or readmaf://migrate-from?source=semantic-kernel. This is the source of truth for every construct's MAF target and strategy.
The strategy model — every construct carries one
- 🌉 bridgeable — reuse the SK code as-is via an interop shim (
KernelFunction.AsAIFunction(),IChatCompletionService.AsChatClient()). Prefer this; it's the least risky and enables gradual / side-by-side migration. - 🔁 rewrite — a mechanical SK→MAF API swap (agent creation, threads→sessions, invocation, options, DI, filters→middleware).
- 🏗 re-architect — no 1:1 mapping; redesign onto MAF workflows / Context Providers (group chat, planners, prompt templates, vector stores). These need your judgment — propose, confirm, then build.
MCP tool shortcuts (prefer these when the server is running)
| When you need to… | Call |
|---|---|
| Inventory SK usage + scope the port (🌉/🔁/🏗 + EASY/MEDIUM/HARD) | MafDetectSourceFramework(repoPath) (CLI: maf-doctor migrate-scan) |
| Scaffold a clean MAF agent / executor in the new project | MafNewAgent / MafNewExecutor |
| Confirm the migrated project is anti-pattern clean | MafDoctor(newProjectPath), MafValidateFanOut |
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.
- 10d ago First seen · 54 lines · 116 tokens per session scan A 42165fcb6dc5
MAF Cross-Framework Migration Agent is an agent published in the GitHub repository joslat/maf-doctor (14 stars, last pushed 23d ago), licensed MIT. It adds 116 tokens to every session and 1,419 once invoked, about $0.0006 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 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.
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.
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…
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…
fluent-validation
Cria validators FluentValidation consistentes para DTOs do — regras, mensagens em português e integração com ASP.NET Core.
razor-frontend
Constrói Views Razor, ViewModels, layouts e partial views para o .Web — consumindo a API REST sem lógica de negócio.