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 1mo 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.
- 1mo ago Changed · +3 lines f8ba9dbd10bc
- 1mo 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 (489 stars, last pushed today), 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.
Other skills, from other repositories
windbg-kernel-lock-deadlock-triage
Use when kernel threads block on driver synchronization or Verifier reports a lock-order violation; build an owner/waiter graph. Not for treating every watchdog stop as a deadlock or listing every lock type with !locks.
setup-husky-dotnet
Use when configuring Git hooks in .NET projects before team commits occur, to enforce commit message standards and code formatting automatically.
fuzzy-selecting
Use when choosing interactively from search results, files, processes, or any command output with preview capabilities.
opengis-skills
Use when AI coding assistant needs GIS/CAD/C#/AI/IoT/3D domain expertise. Index of 96 skills across 8 categories: gis (32), cad (21), csharp (9), ai (14), iot (2), 3d (6), demos (4), others (8). Tag-based search and on-demand loading for GDAL, GeoServer, MapServer, Leaflet, PROJ, PostGIS, JTS, CesiumJS, FreeCAD…
tlc-discover
Interviews an unshaped idea into a verdict and a design document - decisions, flows, schema, contracts - that anyone can plan from without having been in the room. Use when the user says "research this", "help me understand this problem", "should we build this", "discovery", "explore this problem", or "tlc-discover".…
rust-development
Idiomatisk Rust-utvikling med cargo, clippy, error handling, async/tokio, unsafe og testing.