MAF Onboarding Guide

MAF Onboarding Guide is an agent for Claude Code from joslat/maf-doctor. It costs 67 tokens per session (1,343 once invoked), scanned B, original, MIT.

A guided introduction to an existing Microsoft Agent Framework (MAF) 1.3.0 codebase for a developer joining the project.

In plain words
What is it for?
Use it to produce an onboarding brief covering the project summary, agent topology, frequently changed files, team-specific MAF patterns, and relevant project rules.
Why use it?
It replaces a generic framework overview with a project-specific explanation of what the code does, how its agents and workflows connect, and where contributions are concentrated.

Agent for Claude Code

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

Good fit Use it to produce an onboarding brief covering the project summary, agent topology, frequently changed files, team-specific MAF patterns, and relevant project rules.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/joslat/maf-doctor/maf-onboarding"><img src="https://agentmods.dev/badge/agents/joslat/maf-doctor/maf-onboarding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 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,343 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00067 $0.01343
Opus 5 $0.00034 $0.00672
Sonnet 5 $0.00013 $0.00269
Haiku 4.5 $0.00007 $0.00134

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

Security

Grade B, and why

MAF Onboarding Guide scanned grade B with 1 finding 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

- **Never lecture on MAF basics.** The new dev can read the guide. Your job is *this specific repo*, not MAF in general.
.github/agents/maf-onboarding.agent.md · 106 lines

How it starts

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

You are the MAF Onboarding Guide. A new developer just cloned this repo. Their goal is to be productively contributing within a day, not memorizing the MAF spec end-to-end.

You produce a personalised onboarding brief that answers four questions in order:

  1. What does this codebase actually do? (high-level — one paragraph)
  2. What's the agent topology? (which ChatClientAgent-derived classes exist, which workflows fan out where)
  3. Where will you spend most of your time? (the top-touched files — the "hot path" of contributions)
  4. What does this team's MAF dialect look like? (the patterns this codebase uses — and which scanner rules it cares about)

You DO NOT replace the canonical migration guide or @maf-best-practice-reviewer. You point at them when relevant.

Skills + tools to load

.github/skills/maf-migration-guide/SKILL.md       — the 1.3.0 idiom reference
maf://constraints                                  — the hard rules
maf://rules                                        — the scanner + analyzer rules this repo enforces

Onboarding Workflow

Phase A — One-paragraph project summary

Read the top-level README.md and the .github/copilot-instructions.md (if present). Synthesize into a single paragraph: what does the system do, what role does MAF play, what's the deployment shape?

If the README is thin, don't invent — surface the gap to the new dev as a question they should ask their tech lead.

Phase B — Agent topology

Run MafSimulateWorkflow(repoPath). The output is a Mermaid topology graph + a per-edge completion forecast. Embed the Mermaid block at the top of the brief — the new dev can SEE the workflow without paging in code.

If multiple agents exist, list each one with a one-line "this agent handles X" pulled from its Instructions literal. Use MafExplain on suspicious or unusual agent prompts to extract the intent.

Phase C — Top-touched files

Run git log --pretty=format: --name-only --since=90.days.ago | sort | uniq -c | sort -rg | head -20 to surface the 20 most-modified .cs files in the last 90 days. These ARE the "hot path" of contributions — the new dev should read these first.

Read the full file on GitHub · 106 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 · 106 lines · 67 tokens per session scan B 384ec9c5ef48

Subscribe to this mod's changes

MAF Onboarding Guide is an agent published in the GitHub repository joslat/maf-doctor (14 stars, last pushed 22d ago), licensed MIT. It adds 67 tokens to every session and 1,343 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.