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 Postpartum-genushyacinthus29/dotnet-skills --skill dotnet-microsoft-extensions-aigit clone --depth 1 https://github.com/Postpartum-genushyacinthus29/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/postpartum-genushyacinthus29/dotnet-skills/dotnet-microsoft-extensions-ai)<a href="https://agentmods.dev/skills/postpartum-genushyacinthus29/dotnet-skills/dotnet-microsoft-extensions-ai"><img src="https://agentmods.dev/badge/skills/postpartum-genushyacinthus29/dotnet-skills/dotnet-microsoft-extensions-ai/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/postpartum-genushyacinthus29/dotnet-skills/dotnet-microsoft-extensions-ai"><img src="https://agentmods.dev/badge/skills/postpartum-genushyacinthus29/dotnet-skills/dotnet-microsoft-extensions-ai.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.00042 | $0.02326 |
| Opus 5 | $0.00021 | $0.01163 |
| Sonnet 5 | $0.00008 | $0.00465 |
| Haiku 4.5 | $0.00004 | $0.00233 |
Grade A, and why
dotnet-microsoft-extensions-ai 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 8d 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.
This is a copy
88% identical to microsoft-extensions-ai — 24 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Microsoft.Extensions.AI
Trigger On
- building or reviewing
.NETcode that usesMicrosoft.Extensions.AI,Microsoft.Extensions.AI.Abstractions,IChatClient,IEmbeddingGenerator,ChatOptions, orAIFunction - adding
IImageGenerator, local-model chat via Ollama, AI app templates, or the.NET AIquickstarts for assistants and MCP - choosing between low-level AI abstractions, provider SDKs, vector-search composition, evaluation libraries, and a fuller agent framework
- adding streaming chat, structured output, embeddings, tool calling, telemetry, caching, or DI-based AI middleware
- wiring
Microsoft.Extensions.VectorData,Microsoft.Extensions.DataIngestion, MCP tooling, or evaluation packages around a provider-agnostic AI app
Workflow
- Classify the request first: plain model access, tool calling, embeddings/vector search, evaluation, image generation, local-model prototyping, MCP bootstrap, or true agent orchestration.
- Default to
Microsoft.Extensions.AIfor application and service code that needs provider-agnostic chat, embeddings, middleware, structured output, and testability. - Reference
Microsoft.Extensions.AI.Abstractionsdirectly only when authoring provider libraries or lower-level reusable integration packages. - Model
IChatClientandIEmbeddingGeneratorcomposition explicitly in DI. Keep options, caching, telemetry, logging, and tool invocation inspectable in the pipeline. - Treat chat state deliberately. For stateless providers, resend history. For stateful providers, propagate
ConversationIdrather than assuming all providers behave the same way. - Use
Microsoft.Extensions.VectorDataandMicrosoft.Extensions.DataIngestionas adjacent building blocks for RAG instead of hand-rolling store abstractions prematurely. Model ingestion as an explicit reader -> processor -> chunker -> writer pipeline when the document-preparation path matters. - Treat the
.NET AIquickstarts as bootstrap paths, not finished architecture. They now cover minimal assistants, MCP client/server flows, local models, app templates, and image generation. Start there for a vertical slice, then harden the DI, telemetry, and evaluation story here. - Escalate to
dotnet-microsoft-agent-frameworkwhen the requirement becomes agent threads, multi-agent orchestration, higher-order workflows, durable execution, or remote agent hosting. - Validate with real providers, realistic prompts, and evaluation gates so the abstraction layer actually buys portability and reliability.
What ships with it
52 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.
- references/evaluation.md 3.7 KB
- references/examples.md 4.6 KB
- references/official-docs-index.md 8.3 KB
- references/official-docs/azure-ai-services-authentication.md 8.9 KB
- references/official-docs/conceptual/agents.md 3.1 KB
- references/official-docs/conceptual/ai-tools.md 5.5 KB
- references/official-docs/conceptual/chain-of-thought-prompting.md 2.7 KB
- references/official-docs/conceptual/data-ingestion.md 13 KB
- references/official-docs/conceptual/embeddings.md 5.1 KB
- references/official-docs/conceptual/how-genai-and-llms-work.md 8.2 KB
- references/official-docs/conceptual/prompt-engineering-dotnet.md 4.7 KB
- references/official-docs/conceptual/rag.md 2.6 KB
- references/official-docs/conceptual/understanding-tokens.md 6.7 KB
- references/official-docs/conceptual/vector-databases.md 3.5 KB
- references/official-docs/conceptual/zero-shot-learning.md 4.8 KB
- references/official-docs/dotnet-ai-ecosystem.md 9.6 KB
- references/official-docs/evaluation/evaluate-ai-response.md 6.5 KB
- references/official-docs/evaluation/evaluate-safety.md 12 KB
- references/official-docs/evaluation/evaluate-with-reporting.md 14 KB
- references/official-docs/evaluation/libraries.md 12 KB
- references/official-docs/evaluation/responsible-ai.md 2.3 KB
- references/official-docs/get-started-app-chat-scaling-with-azure-container-apps.md 2.4 KB
- references/official-docs/get-started-app-chat-template.md 17 KB
- references/official-docs/get-started-mcp.md 7.0 KB
- references/official-docs/how-to/access-data-in-functions.md 5.7 KB
- references/official-docs/how-to/app-service-aoai-auth.md 7.9 KB
- references/official-docs/how-to/content-filtering.md 2.6 KB
- references/official-docs/how-to/handle-invalid-tool-input.md 3.9 KB
- references/official-docs/how-to/use-tokenizers.md 4.9 KB
- references/official-docs/ichatclient.md 16 KB
- references/official-docs/iembeddinggenerator.md 4.2 KB
- references/official-docs/microsoft-extensions-ai.md 6.4 KB
- references/official-docs/overview.md 3.9 KB
- references/official-docs/quickstarts/ai-templates.md 1.8 KB
- references/official-docs/quickstarts/build-chat-app.md 4.4 KB
- references/official-docs/quickstarts/build-mcp-client.md 3.0 KB
- references/official-docs/quickstarts/build-mcp-server.md 21 KB
- references/official-docs/quickstarts/build-vector-search-app.md 9.5 KB
- references/official-docs/quickstarts/chat-local-model.md 6.3 KB
- references/official-docs/quickstarts/create-assistant.md 5.2 KB
- references/official-docs/quickstarts/generate-images.md 4.0 KB
- references/official-docs/quickstarts/process-data.md 7.1 KB
- references/official-docs/quickstarts/prompt-model.md 4.7 KB
- references/official-docs/quickstarts/publish-mcp-registry.md 12 KB
- references/official-docs/quickstarts/structured-output.md 5.5 KB
- references/official-docs/quickstarts/text-to-image.md 10 KB
- references/official-docs/quickstarts/use-function-calling.md 4.6 KB
- references/official-docs/resources/azure-ai.md 625 B
- references/official-docs/resources/get-started.md 845 B
- references/official-docs/resources/mcp-servers.md 3.7 KB
- references/official-docs/tutorials/tutorial-ai-vector-search.md 12 KB
- references/patterns.md 5.2 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.
- 8d ago First seen · 116 lines · 42 tokens per session scan A 1730cc03bd48
dotnet-microsoft-extensions-ai is a skill published in the GitHub repository Postpartum-genushyacinthus29/dotnet-skills (10 stars, last pushed 2d ago), licensed MIT. It adds 42 tokens to every session and 2,326 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to microsoft-extensions-ai, differing in 24 lines, and is treated as a copy.
Other skills, from other repositories
fetch-llm-papers
Workflow for updating the LLM landscape paper pool (section/xllmpapers.md) using fetchllmpapers.py. Covers full re-fetch, resume from checkpoint, and adding new topics. USE FOR: Refreshing citation counts, expanding topic coverage. DO NOT USE FOR: Adding hand-curated entries to section files (use…
fetch-llm-apps
Workflow for updating the popular LLM applications pool (section/xllmapps.md) using fetchllmapps.py. Covers full refresh, alternate exports, topic tuning, and common pitfalls. USE FOR: Refreshing the ranked GitHub applications list linked from applications.md. DO NOT USE FOR: Hand-curating application entries inside…
agent-platform-model-registry
Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.
foundry-config-setup
Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.
training-check
Interactively monitor training metrics from the current Codex session, periodically checking WandB or fallback logs for NaN, divergence, plateaus, and broken runs.
nemo-automodel-launcher-config
Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.