PrompterOne: Skill for Codex

.codex/skills/dotnet-aspnet-core/SKILL.md

dotnet-aspnet-core is a skill for Codex from managedcode/PrompterOne. It costs 40 tokens per session (1,632 once invoked), scanned A, a copy of aspnet-core, MIT.

A guide for building and reviewing ASP.NET Core applications, the modern .NET framework for web apps, APIs, and request-processing services.

In plain words
What is it for?
Creating or modernizing ASP.NET Core apps, debugging request pipelines, choosing between web app styles, and reviewing security and hosting patterns.
Why use it?
It helps prevent mistakes in hosting, middleware order, authentication, routing, configuration, logging, and deployment.

Skill for Codex

Written for Codex: installed under .codex/.

This is managedcode/PrompterOne's own configuration. It tells Codex how to work on PrompterOne itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything PrompterOne configures →

Reuse

Borrowing it

Nothing to install: this file belongs to managedcode/PrompterOne. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/managedcode/PrompterOne/main/.codex/skills/dotnet-aspnet-core/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/managedcode/PrompterOne

Made for: Codex.

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 dotnet-aspnet-core

README.md
[![agentmods](https://agentmods.dev/badge/skills/managedcode/prompterone/dotnet-aspnet-core/github.svg)](https://agentmods.dev/skills/managedcode/prompterone/dotnet-aspnet-core)
Your own site
<a href="https://agentmods.dev/skills/managedcode/prompterone/dotnet-aspnet-core"><img src="https://agentmods.dev/badge/skills/managedcode/prompterone/dotnet-aspnet-core/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 dotnet-aspnet-core

Your own site · 80×15
<a href="https://agentmods.dev/skills/managedcode/prompterone/dotnet-aspnet-core"><img src="https://agentmods.dev/badge/skills/managedcode/prompterone/dotnet-aspnet-core.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,632 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod 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.00040 $0.01632
Opus 5.5 $0.00016 $0.00653
Sonnet 5.5 $0.00008 $0.00326
Haiku 4.5 $0.00004 $0.00163

Measured 1mo ago against content hash 3ff1660e4ef6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dotnet-aspnet-core 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.

Origin

This is a copy

89% identical to aspnet-core — 19 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.

.codex/skills/dotnet-aspnet-core/SKILL.md · 201 lines

How it starts

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

ASP.NET Core

Trigger On

  • working on ASP.NET Core apps, services, or middleware
  • changing auth, routing, configuration, hosting, or deployment behavior
  • deciding between ASP.NET Core sub-stacks such as Blazor, Minimal APIs, or controller APIs
  • debugging request pipeline issues
  • modernizing legacy ASP.NET to ASP.NET Core

Documentation

References

  • patterns.md - Detailed middleware patterns, security patterns, configuration patterns, DI patterns, error handling patterns, and logging patterns
  • anti-patterns.md - Common ASP.NET Core mistakes including HttpClient misuse, async anti-patterns, configuration errors, DI issues, middleware ordering problems, and security vulnerabilities

Workflow

  1. Detect the real hosting shape first:

    • top-level Program.cs structure
    • middleware order and registration
    • auth model (Identity, JWT, OAuth, cookies)
    • endpoint registrations and routing
  2. Follow the correct middleware order:

    ExceptionHandler → HttpsRedirection → Static Files → Routing
    → CORS → Authentication → Authorization → Rate Limiting
    → Response Caching → Custom Middleware → Endpoints
    
  3. Use built-in patterns correctly:

    • Prefer IOptions<T> / IOptionsSnapshot<T> for configuration
    • Use ILogger<T> for structured logging
    • Use IHttpClientFactory for HTTP clients (never new HttpClient())
    • Use IHostedService / BackgroundService for background work

Read the full file on GitHub · 201 lines

Files

What ships with it

3 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.

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. 1mo ago First seen · 201 lines · 40 tokens per session scan A 3ff1660e4ef6

Subscribe to this mod's changes

dotnet-aspnet-core is a skill published in the GitHub repository managedcode/PrompterOne (45 stars, last pushed 5mo ago), licensed MIT. It adds 40 tokens to every session and 1,632 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to aspnet-core, differing in 19 lines, and is treated as a copy.

Related

Other skills, from other repositories

code-janitor

Periodic codebase hygiene agent. Tracks health metrics, reports risky patterns, makes only zero-risk changes, files tickets for anything that needs judgment.

Ekioo/KittyClaw · 33 tokens

cratis-engineering-effect-boundaries

Apply the Cratis effect-boundary contract when writing or reviewing code that publishes, persists, generates, propagates, or releases. On those boundaries partial success is failure - no catch-and-continue, no defaulting to success on an unknown outcome. Use when a degraded run could still report success; defer style…

Cratis/AI · 80 tokens

safeguarding-ai-generated-code

Gate AI-touched changes against Code Health regressions. Use when reviewing a staged diff or branch before commit, handoff or pull request with precommitcodehealthsafeguard or analyzechangeset. Requires an opted-in cratis/codescene profile and available CodeScene MCP tools; otherwise skip. Do not use for a structural…

Cratis/AI · 101 tokens

dotnet-techne-refactor-pipeline

Use when the user asks for a phase-gated refactoring or redesign loop - session-blind workers map and trace the area, empirical probes precede the design, an approval gate guards implementation, and a conformance audit re-checks the branch after any design change. State persists in .episteme/DESIGN- .md. Requires the…

Metalnib/dotnet-episteme-skills · 113 tokens

refactor

Point at a file or folder — get it broken down into focused, testable pieces following enterprise patterns.

vikisingh23/neuraforge-ai · 23 tokens

debug

Paste an error, stack trace, or describe a bug — get a diagnosis and fix across any stack.

vikisingh23/neuraforge-ai · 22 tokens