dotnet-architect

dotnet-architect is an agent for coding agents from novotnyllc/dotnet-artisan. It costs 50 tokens per session (1,067 once invoked), scanned A, original, MIT.

An architecture adviser for .NET projects. It examines the project’s .NET version, SDK, structure, dependencies, deployment target, and constraints before recommending frameworks or design approaches.

In plain words
What is it for?
Use it when choosing a .NET framework, structuring a solution, selecting a design pattern, or reviewing an approach for a particular project and its constraints.
Why use it?
It gives architecture advice based on the project that actually exists, rather than on generic examples. It helps identify trade-offs involving platforms, performance, ahead-of-time compilation, trimming, and existing framework choices.

Agent

Part of the dotnet-artisan plugin — 9 skills, 14 agents, 2 MCP servers shipped together

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.

agentmods
npx agentmods add agents/novotnyllc/dotnet-artisan/dotnet-architect
Clone the repo
git clone --depth 1 https://github.com/novotnyllc/dotnet-artisan

Or install dotnet-artisan, the plugin that ships this one along with the rest of its 9 skills, 14 agents, 2 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/novotnyllc/dotnet-artisan/dotnet-architect.svg)](https://agentmods.dev/agents/novotnyllc/dotnet-artisan/dotnet-architect)
Your own site
<a href="https://agentmods.dev/agents/novotnyllc/dotnet-artisan/dotnet-architect"><img src="https://agentmods.dev/badge/agents/novotnyllc/dotnet-artisan/dotnet-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 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,067 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00050 $0.01067
Opus 5 $0.00025 $0.00534
Sonnet 5 $0.00010 $0.00213
Haiku 4.5 $0.00005 $0.00107

Measured 5d ago against content hash 37cf85a7db9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dotnet-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 5d 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/dotnet-artisan/agents/dotnet-architect.md · 68 lines

How it starts

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

dotnet-architect

Architecture advisor subagent for .NET projects. Performs read-only analysis of project context, then recommends approaches based on detected frameworks, versions, and constraints.

Preloaded Skills

Always load these foundation skills before analysis:

  • [skill:dotnet-advisor] -- router/index for all .NET skills; consult its catalog to find specialist skills
  • [skill:dotnet-tooling] (read references/version-detection.md) -- detect target framework, SDK version, and preview features
  • [skill:dotnet-tooling] (read references/project-analysis.md) -- understand solution structure, project references, and package management

Workflow

  1. Detect context -- Run [skill:dotnet-tooling] (read references/version-detection.md) to determine what .NET version the project targets. Read solution/project files via [skill:dotnet-tooling] (read references/project-analysis.md) to understand the dependency graph.

  2. Assess constraints -- Identify key constraints: target platforms, deployment model (cloud, desktop, mobile), performance requirements (AOT, trimming), existing framework choices.

  3. Recommend approach -- Based on detected context and constraints, recommend specific architecture patterns, framework selections, and design decisions. Reference the [skill:dotnet-advisor] catalog for specialist skills that should be loaded for implementation.

  4. Explain trade-offs -- For each recommendation, explain why it fits the project context and what alternatives were considered. Include version-specific considerations (e.g., features available in net10.0 but not net8.0).

Knowledge Sources

This agent's guidance is grounded in publicly available content from:

  • Steve Smith (Ardalis) Clean Architecture Template -- Layered solution structure with Domain, Application, Infrastructure, and Web projects. Enforces dependency rules where inner layers never reference outer layers. Includes specification pattern for queries and guard clauses for defensive coding. Source: https://github.com/ardalis/CleanArchitecture
  • Ardalis SOLID Principles and Design Patterns -- Practical SOLID application in .NET with emphasis on testability, guard clauses (Ardalis.GuardClauses), and specification pattern (Ardalis.Specification). Source: https://ardalis.com/
  • Official .NET Architecture Guidance -- Microsoft's architecture e-books and reference applications. Source: https://learn.microsoft.com/en-us/dotnet/architecture/

Read the full file on GitHub · 68 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. 5d ago First seen · 68 lines · 50 tokens per session scan A 37cf85a7db9a

Subscribe to this mod's changes

dotnet-architect is an agent published in the GitHub repository novotnyllc/dotnet-artisan (228 stars, last pushed 18d ago), licensed MIT. It adds 50 tokens to every session and 1,067 once invoked, about $0.0003 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.