create-pubsub-dotnet

create-pubsub-dotnet is a skill for Claude Code from diagrid-labs/dapr-skills. It costs 79 tokens per session (4,326 once invoked), scanned A, original, MIT.

A project setup procedure for building a Dapr pub/sub application in .NET. Dapr is a runtime that provides services such as messaging; pub/sub lets one program publish messages that another program receives, using Redis as the message broker.

In plain words
What is it for?
It creates a publisher, a subscriber, or both, with declarative, programmatic, or streaming subscriptions. It also supports running the application with the Dapr command-line tool or .NET Aspire.
Why use it?
It gives a .NET developer a defined way to create the publisher, subscriber, shared message format, and subscription configuration instead of wiring these pieces together manually.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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

Good fit It creates a publisher, a subscriber, or both, with declarative, programmatic, or streaming subscriptions. It also supports running the application with the Dapr command-line tool or .NET Aspire.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/diagrid-labs/dapr-skills/create-pubsub-dotnet"><img src="https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/create-pubsub-dotnet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,326 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.
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.00079 $0.04326
Opus 5.5 $0.00032 $0.01730
Sonnet 5.5 $0.00016 $0.00865
Haiku 4.5 $0.00008 $0.00433

Measured 18d ago against content hash fe4f2346dbe0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-pubsub-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 18d 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.

3. Run and try it: the start command, curl examples for the endpoints in the publisher `Program.cs`, and a link to `pubsub.http`.
skills/create-pubsub-dotnet/SKILL.md · 211 lines

How it starts

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

Create Dapr Pub/Sub .NET Application

Overview

This skill creates a new Dapr pub/sub application in .NET: a publisher, a subscriber or both, sharing the message contract the user described and one Redis-backed pubsub component. The subscriber uses a declarative (default), programmatic or streaming subscription, and the app runs with dapr run -f . or with .NET Aspire.

The application is built from the user's own domain. There is no built-in sample scenario: the event, its fields, its topic and what the subscriber does with it all come from the Check specification interview, and every template is filled in from the placeholder vocabulary in ../dapr-shared/pubsub-placeholders.md.

Execution Order

You MUST follow these phases in strict order:

  1. Check specification - Check if the user specified what needs to be built; infer first, then ask.
  2. Check optional tools — Check whether the Diagrid Dapr Dev Dashboard is installed and remember the result. Never stop, ask or install for this.
  3. Project Setup — Create all files and folders.
  4. Verify — Verify that the solution builds.
  5. 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.
  6. Show final message - Your LAST output MUST be EXACTLY the message defined in the ## Show final message section: the closing sentence followed by the Dev Dashboard recommendation. Do NOT add any other text, summary, or commentary.

Prerequisites

The following must be installed by the user before this skill can run. Do not run the check-prereq skills; assume the prerequisites are installed.

Read the full file on GitHub · 211 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. 18d ago Changed fe4f2346dbe0
  2. 24d ago Changed ee75562afad9
  3. 1mo ago Changed · -6 lines · -38 tokens per session cfce52b24eb8
  4. 1mo ago Changed · +41 lines f2ba48a68ec1
  5. 1mo ago First seen · 176 lines · 117 tokens per session scan A fa1ac36c1e75

Subscribe to this mod's changes

create-pubsub-dotnet is a skill published in the GitHub repository diagrid-labs/dapr-skills (13 stars, last pushed 6d ago), licensed MIT. It adds 79 tokens to every session and 4,326 once invoked, about $0.0003 per session on Opus 5.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-10-14.

Related

create-pubsub-dotnet compared with skills from other repositories

create-pubsub-dotnet next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-pubsub-dotnetdiagrid-labs/dapr-skillsSkill136d agoMITA79Claude Code
csharp-dotnetnimadorostkar/Claude-Skills-collectionSkill412d agoMITA100Claude Code
neo-dotnet-minimal-apisBenknightdark/neo-skillsSkill715d agoMITA53Claude Code, Codex
neo-dotnet-mvcBenknightdark/neo-skillsSkill715d agoMITA49Claude Code, Codex
neo-dotnet-webapiBenknightdark/neo-skillsSkill715d agoMITA54Claude Code, Codex
dotnet-core-expertJeffallan/claude-skillsSkill13kyesterdayMITA48Claude Code
csharp-developerJeffallan/claude-skillsSkill13kyesterdayMITA92Claude Code