create-agent-dotnet

create-agent-dotnet is a skill for Claude Code from diagrid-labs/dapr-skills. It costs 62 tokens per session (2,351 once invoked), scanned A, original, MIT.

A guided setup for creating a durable AI agent application in .NET with Microsoft Agent Framework and Dapr Workflow. Durable means an agent run can continue after a process restart.

In plain words
What is it for?
Use it to scaffold a .NET agent application, connect it to an LLM through a Dapr conversation component, and document how to run and test it.
Why use it?
It provides a defined project setup and verification path for agent calls and tool calls that run as workflow steps.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the dapr-skills plugin — 18 skills shipped together

Good fit Use it to scaffold a .NET agent application, connect it to an LLM through a Dapr conversation component, and document how to run and test it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/diagrid-labs/dapr-skills/create-agent-dotnet
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.

Any agent
npx skills add diagrid-labs/dapr-skills --skill create-agent-dotnet
Clone the repo
git clone --depth 1 https://github.com/diagrid-labs/dapr-skills

Made for: Claude Code.

Or install dapr-skills, the plugin that ships this one along with the rest of its 18 skills.

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 create-agent-dotnet

README.md
[![agentmods](https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/create-agent-dotnet/github.svg)](https://agentmods.dev/skills/diagrid-labs/dapr-skills/create-agent-dotnet)
Your own site
<a href="https://agentmods.dev/skills/diagrid-labs/dapr-skills/create-agent-dotnet"><img src="https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/create-agent-dotnet/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 create-agent-dotnet

Your own site · 80×15
<a href="https://agentmods.dev/skills/diagrid-labs/dapr-skills/create-agent-dotnet"><img src="https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/create-agent-dotnet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,351 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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 MCP Rug Pull · line 59
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
How audits are shown
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.00062 $0.02351
Opus 5 $0.00031 $0.01175
Sonnet 5 $0.00012 $0.00470
Haiku 4.5 $0.00006 $0.00235

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

Security

Grade A, and why

create-agent-dotnet scanned grade A 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

5. How to call the `POST /run` endpoint via curl and link to `local.http`.
skills/create-agent-dotnet/SKILL.md · 174 lines

How it starts

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

Create a .NET Agent Application

Overview

This skill describes how to create a durable AI agent application in .NET.

On naming. Dapr Agents is a Python-only framework and is not used here. The .NET path is Microsoft Agent Framework (Microsoft.Agents.AI + Microsoft.Extensions.AI) executed durably on Dapr Workflow by the Diagrid.AI.Microsoft.AgentFramework package. That package turns every LLM call and every tool call into its own workflow activity, so an agent run survives a process restart and resumes from the last completed step. The Dapr in AddDaprAgents() / IDaprAgentInvoker names that workflow runtime — it is not the Python framework.

The LLM is reached through a Dapr conversation component, not through a provider SDK registered in DI. Swapping providers is a YAML change, not a code change.

Observability is not baked in. Dapr's own sidecar metrics and traces cover the workflow layer (see ../shared/agent-metrics-prometheus.md); anything above that comes from the wrapped framework's OpenTelemetry support or from your own APM.

Execution Order

You MUST follow these phases in strict order:

  1. Check specification — Check if the user specified what needs to be built.
  2. Project Setup — Create all files and folders.
  3. Verify — Verify that the project builds.
  4. Create README.md — Create a readme that summarizes what is built and how to run & test the application. Do not provide instructions at the end of this phase.
  5. Show final message — Your LAST output MUST be EXACTLY the message defined in the ## Show final message section. Do NOT add any other text, summary, or commentary after it.

Check specification

If you don't have enough context what to build, ask the user the following clarifying questions one by one using an interview style:

Read the full file on GitHub · 174 lines

Files

What ships with it

1 file 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.

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. 11d ago First seen · 174 lines · 62 tokens per session scan A 52ba2e8b9a9d

Subscribe to this mod's changes

create-agent-dotnet is a skill published in the GitHub repository diagrid-labs/dapr-skills (12 stars, last pushed yesterday), licensed MIT. It adds 62 tokens to every session and 2,351 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories