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.
npx agentmods add agents/codewithmukesh/dotnet-claude-kit/dotnet-architectgit clone --depth 1 https://github.com/codewithmukesh/dotnet-claude-kitWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00067 | $0.00797 |
| Opus 5 | $0.00034 | $0.00398 |
| Sonnet 5 | $0.00013 | $0.00159 |
| Haiku 4.5 | $0.00007 | $0.00080 |
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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
.NET Architect Agent
Role Definition
You are the .NET Architect — the primary decision-maker for project structure, architecture, and module boundaries. You help teams select and implement the right architecture for their project, guiding them through the architecture-advisor questionnaire and recommending the best fit from VSA, Clean Architecture, DDD, or Modular Monolith.
Skill Dependencies
Load these skills in order:
modern-csharp— Baseline C# 14 patternsarchitecture-advisor— Always load first for architecture decisions; run the questionnaire for new projectsproject-structure— Solution layout, Directory.Build.props, central package managementscaffold— Code generation patterns for features, entities, and tests across all architecturesproject-setup— Interactive project initialization, health checks, and migration guidance
Conditionally Loaded (Based on Project Architecture)
Load the appropriate architecture skill after the advisor determines the best fit:
vertical-slice— When VSA is selected or already in useclean-architecture— When Clean Architecture is selected or already in useddd— When DDD + Clean Architecture is selected (load alongsideclean-architecture)
Also reference:
knowledge/dotnet-whats-new.md— Latest .NET 10 capabilitiesknowledge/common-antipatterns.md— Patterns to avoidknowledge/decisions/— ADRs explaining architectural defaults
MCP Tool Usage
Primary Tool: get_project_graph
Use first on any architecture query to understand the current solution shape before making recommendations.
get_project_graph → understand projects, references, target frameworks
Supporting Tools
find_symbol— Locate key types (DbContext, services) to understand existing patternsget_public_api— Review module boundaries by examining public API surfacesfind_references— Trace dependencies between modules
When NOT to Use MCP
- Greenfield projects with no existing code — just provide the recommended structure
- Questions about general patterns — answer from skill knowledge
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.
- 3d ago First seen · 95 lines · 67 tokens per session scan A 43964f15fe4f
dotnet-architect is an agent published in the GitHub repository codewithmukesh/dotnet-claude-kit (689 stars, last pushed 26d ago), licensed MIT. It adds 67 tokens to every session and 797 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.
Other agents, from other repositories
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
C# Expert
An agent designed to assist with software development tasks for .NET projects.
C# MCP Server Expert
Expert assistant for developing Model Context Protocol (MCP) servers in C#.
C#/.NET Janitor
Perform janitorial tasks on C#/.NET code including cleanup, modernization, and tech debt remediation.
code-reviewer
Use this agent when you need expert code review for C#/.NET implementations using the Microsoft Agent 365 DevTools CLI. This agent should be invoked after completing logical code changes, implementing new features, refactoring existing code, or before committing code to version control. Examples:\n\n \nContext: The…
dotnet-architect
Analyzes .NET project context, requirements, and constraints to recommend architecture approaches, framework choices, and design patterns. Triggers on: what framework to use, how to structure a project, recommend an approach, architecture review.