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 managedcode/dotnet-skills --skill microsoft-agent-frameworkgit clone --depth 1 https://github.com/managedcode/dotnet-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/managedcode/dotnet-skills/microsoft-agent-framework)<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/microsoft-agent-framework"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/microsoft-agent-framework/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/managedcode/dotnet-skills/microsoft-agent-framework"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/microsoft-agent-framework.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Excessive Agency · line 106 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00138 | $0.03400 |
| Opus 5.5 | $0.00055 | $0.01360 |
| Sonnet 5.5 | $0.00028 | $0.00680 |
| Haiku 4.5 | $0.00014 | $0.00340 |
Grade A, and why
microsoft-agent-framework 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 2mo 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 — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Microsoft Agent Framework
Trigger On
- building or reviewing
.NETcode that usesMicrosoft.Agents.*,Microsoft.Extensions.AI,AIAgent,HarnessAgent,AgentSession, or Agent Framework hosting packages - choosing between
ChatClientAgent, Responses agents, hosted agents, custom agents, Anthropic agents, workflows, or durable agents - adding the batteries-included
Microsoft.Agents.AI.Harnesssurface for planning, todos, compaction, file memory/access, tool approvals, skills, shell execution, or background agents - authoring preview-era
Microsoft.Agents.AI.Workflows.Declarative*packages or wrapping a workflow withworkflow.AsAIAgent() - adding tools, MCP, A2A, OpenAI-compatible hosting, AG-UI, DevUI, background responses, or OpenTelemetry
- migrating from Semantic Kernel agent APIs or aligning AutoGen-style multi-agent patterns to Agent Framework
- using Anthropic Claude models (haiku, sonnet, opus) via
AnthropicClientor through Azure Foundry withAnthropicFoundryClient
Workflow
- Decide whether the problem should stay deterministic. If plain code or a typed workflow without LLM autonomy is enough, do that instead of adding an agent.
- Choose the execution shape first: single
AIAgent, batteries-includedHarnessAgent, explicit programmaticWorkflow, workflow-as-agent wrapper, declarative workflow when YAML portability is explicitly required, Azure Functions durable agent, ASP.NET Core hosted agent, AG-UI remote UI, or DevUI local debugging. - Choose the agent type and provider intentionally. Prefer the simplest agent that satisfies the threading, tooling, and hosting requirements.
- Keep agents stateless and keep conversation or long-lived state in
AgentSession. Treat the session as opaque provider-owned state, serialize it through the owning agent, and never accept a raw service conversation ID as an end-user authorization boundary. - Add only the tools and middleware that the scenario needs. Narrow the tool surface, require approval for side effects, and treat MCP, A2A, and third-party services as trust boundaries.
- For workflows, model executors, edges, typed
RequestPortboundaries, checkpoints, shared state, and human-in-the-loop explicitly rather than hiding control flow in prompts. - Prefer Responses-based protocols for new remote/OpenAI-compatible integrations unless you specifically need Chat Completions compatibility.
- Use durable agents only when you truly need Azure Functions serverless hosting, durable thread storage, or deterministic long-running orchestrations.
- Verify preview status, package maturity, docs recency, and provider-specific limitations before locking a production architecture.
What ships with it
60 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.
- manifest.json 86 B
- references/devui.md 2.0 KB
- references/examples.md 5.7 KB
- references/harness.md 3.8 KB
- references/hosting.md 7.4 KB
- references/mcp.md 4.0 KB
- references/middleware.md 6.3 KB
- references/migration.md 4.1 KB
- references/official-docs-index.md 28 KB
- references/official-docs/agents/background-agents.md 9.1 KB
- references/official-docs/agents/background-responses.md 12 KB
- references/official-docs/agents/code_act.md 7.5 KB
- references/official-docs/agents/declarative.md 7.3 KB
- references/official-docs/agents/evaluation.md 22 KB
- references/official-docs/agents/index.md 2.9 KB
- references/official-docs/agents/looping.md 10 KB
- references/official-docs/agents/multimodal.md 7.1 KB
- references/official-docs/agents/observability.md 31 KB
- references/official-docs/agents/planning-and-todos.md 10 KB
- references/official-docs/agents/rag.md 15 KB
- references/official-docs/agents/security.md 27 KB
- references/official-docs/agents/skills.md 89 KB
- references/official-docs/agents/structured-outputs.md 18 KB
- references/official-docs/agents/tools/code-interpreter.md 5.4 KB
- references/official-docs/agents/tools/controlling-tool-availability.md 11 KB
- references/official-docs/agents/tools/file-search.md 5.3 KB
- references/official-docs/agents/tools/function-tools.md 16 KB
- references/official-docs/agents/tools/hosted-mcp-tools.md 15 KB
- references/official-docs/agents/tools/index.md 20 KB
- references/official-docs/agents/tools/local-mcp-tools.md 19 KB
- references/official-docs/agents/tools/tool-approval.md 21 KB
- references/official-docs/agents/tools/web-search.md 7.0 KB
- references/official-docs/concepts/agents/agent-pipeline.md 16 KB
- references/official-docs/concepts/agents/conversations/chat-history-memory-provider.md 10 KB
- references/official-docs/concepts/agents/conversations/compaction.md 30 KB
- references/official-docs/concepts/agents/conversations/context-providers.md 22 KB
- references/official-docs/concepts/agents/conversations/index.md 4.1 KB
- references/official-docs/concepts/agents/conversations/session.md 8.7 KB
- references/official-docs/concepts/agents/conversations/storage.md 23 KB
- references/official-docs/concepts/agents/custom-agents.md 18 KB
- references/official-docs/concepts/agents/index.md 4.4 KB
- references/official-docs/concepts/agents/middleware/agent-vs-run-scope.md 28 KB
- references/official-docs/concepts/agents/middleware/chat-middleware.md 22 KB
- references/official-docs/concepts/agents/middleware/defining-middleware.md 27 KB
- references/official-docs/concepts/agents/middleware/exception-handling.md 9.9 KB
- references/official-docs/concepts/agents/middleware/index.md 36 KB
- references/official-docs/concepts/agents/middleware/result-overrides.md 20 KB
- references/official-docs/concepts/agents/middleware/runtime-context.md 17 KB
- references/official-docs/concepts/agents/middleware/shared-state.md 8.9 KB
- references/official-docs/concepts/agents/middleware/termination.md 19 KB
- references/official-docs/concepts/agents/running-agents.md 17 KB
- references/official-docs/concepts/agents/safety.md 7.9 KB
- references/official-docs/concepts/harness.md 11 KB
- references/official-docs/concepts/index.md 1.1 KB
- references/official-docs/concepts/workflows/advanced/agent-executor.md 29 KB
- references/official-docs/concepts/workflows/advanced/execution-modes.md 10 KB
- references/official-docs/concepts/workflows/advanced/resettable-executors.md 6.0 KB
- references/official-docs/concepts/workflows/advanced/sub-workflows.md 38 KB
- references/official-docs/concepts/workflows/builder-and-execution.md 9.3 KB
- references/official-docs/concepts/workflows/edges.md 86 KB
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.
- 2mo ago Changed · +3 lines f8ba9dbd10bc
- 3mo ago First seen · 146 lines · 138 tokens per session scan A 4159b1270021
microsoft-agent-framework is a skill published in the GitHub repository managedcode/dotnet-skills (527 stars, last pushed 16d ago), licensed MIT. It adds 138 tokens to every session and 3,400 once invoked, about $0.0006 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-08-30.
microsoft-agent-framework compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| microsoft-agent-frameworkmanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 138 | Claude Code, Codex |
| windbg-kernel-lock-deadlock-triagemicrosoft/win-dev-skills | Skill | 521 | today | MIT | A | 56 | Claude Code |
| fuzzy-selectingSebastienDegodez/copilot-instructions | Skill | 199 | 24d ago | Apache-2.0 | A | 25 | Claude Code, Codex |
| rust-developmentnavikt/copilot | Skill | 65 | yesterday | MIT | A | 27 | Claude Code, Codex |
| spring-boot-scaffoldnavikt/copilot | Skill | 65 | yesterday | MIT | A | 32 | Claude Code, Codex |
| tlc-discovertech-leads-club/agent-skills | Skill | 7.2k | 3d ago | none | A | 76 | Claude Code, Codex |
| repo-baseline-auditnavikt/copilot | Skill | 65 | yesterday | MIT | A | 122 | Claude Code, Codex |