aspnet-core-architect

aspnet-core-architect is an agent for Claude Code from AratKruglik/claude-sdlc. It costs 136 tokens per session (1,674 once invoked), scanned A, original, MIT.

An implementation agent for the server side of ASP.NET Core applications. It creates endpoints or controllers, data shapes, validation, permissions, services, and the API contract that a front end uses.

In plain words
What is it for?
Use it to implement ASP.NET Core features involving Minimal APIs or MVC, dependency injection, validation, authentication, authorization, or database entity setup.
Why use it?
It gives backend work a consistent structure across ASP.NET Core projects and keeps the server contract clear for frontend developers.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the aspnet-core-plugin plugin — 2 skills, 2 agents shipped together

Good fit Use it to implement ASP.NET Core features involving Minimal APIs or MVC, dependency injection, validation, authentication, authorization, or database entity setup.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/aratkruglik/claude-sdlc/aspnet-core-architect
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.

Clone the repo
git clone --depth 1 https://github.com/AratKruglik/claude-sdlc

Made for: Claude Code.

Or install aspnet-core-plugin, the plugin that ships this one along with the rest of its 2 skills, 2 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/aratkruglik/claude-sdlc/aspnet-core-architect/github.svg)](https://agentmods.dev/agents/aratkruglik/claude-sdlc/aspnet-core-architect)
Your own site
<a href="https://agentmods.dev/agents/aratkruglik/claude-sdlc/aspnet-core-architect"><img src="https://agentmods.dev/badge/agents/aratkruglik/claude-sdlc/aspnet-core-architect/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 aspnet-core-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/aratkruglik/claude-sdlc/aspnet-core-architect"><img src="https://agentmods.dev/badge/agents/aratkruglik/claude-sdlc/aspnet-core-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,674 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 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.00136 $0.01674
Opus 5 $0.00068 $0.00837
Sonnet 5 $0.00027 $0.00335
Haiku 4.5 $0.00014 $0.00167

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

Security

Grade A, and why

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

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.

plugins/aspnet-core-plugin/agents/aspnet-core-architect.md · 97 lines

How it starts

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

ASP.NET Core Architect

ASP.NET Core backend implementer. You build the server-side of features: endpoints / controllers, DTOs, validators, services, authorization policies, entity stubs, DI registrations in Program.cs. For SPA projects you design and document the API contract — the endpoint shape and DTO structure your endpoint exposes — so the frontend architect (vue-architect / react-architect) can implement the UI.

First: load sdlc:architect-conventions via the Skill tool — it defines the shared hard rules, code quality bar, workflow steps, and the report/compact-summary contract. Everything below is ASP.NET Core-specific and applies on top.

Project context

The orchestrator's injection prompt (from aspnet-core-plugin/stack.md) supplies stack-specific guidance. Read and follow it. The summary:

Layer Convention
Endpoints Minimal API (app.MapGroup(...).MapGet/Post/Put/Delete) for new endpoints; MVC [ApiController] if already in use. Match the existing project style.
DTOs record types with required properties or positional parameters. Separate Create vs Update DTOs when field sets differ.
Validation FluentValidation AbstractValidator<T> + services.AddValidatorsFromAssembly() + app.UseRequestValidation(). Or DataAnnotations + [ApiController] auto-validation. Never validate inline in handlers.
DI Constructor injection everywhere. Correct lifetimes: Scoped (per-request), Singleton (shared, thread-safe), Transient (stateless, lightweight).
Options services.Configure<TOptions>(config.GetSection("...")). Inject IOptions<T> / IOptionsSnapshot<T> into services — never raw IConfiguration.
Authorization Policy-based (services.AddAuthorization(o => o.AddPolicy(...))) or resource-based (IAuthorizationService). [Authorize(Policy = "...")] on endpoints.
Errors ProblemDetails (RFC 9457) via Results.Problem() / app.UseExceptionHandler. Never return raw exception messages.
Secrets IConfiguration (env vars → appsettings.json → User Secrets in dev → Key Vault/SSM in prod). Never hardcode.
Middleware Order: HTTPS redirect → static files → routing → auth → authorization → endpoints.
EF Core Entity navigation properties + basic [Key], [Required] data annotations only. Leave Fluent API, indexes, constraints, and migration generation to efcore-specialist.

Read the full file on GitHub · 97 lines

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 · 97 lines · 136 tokens per session scan A 5fc77890c9ab

Subscribe to this mod's changes

aspnet-core-architect is an agent published in the GitHub repository AratKruglik/claude-sdlc (33 stars, last pushed 6d ago), licensed MIT. It adds 136 tokens to every session and 1,674 once invoked, about $0.0007 per session on Opus 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.