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.
git clone --depth 1 https://github.com/navid-kianfar/claude-memory-mcpWrote 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.
[](https://agentmods.dev/agents/navid-kianfar/claude-memory-mcp/dotnet)<a href="https://agentmods.dev/agents/navid-kianfar/claude-memory-mcp/dotnet"><img src="https://agentmods.dev/badge/agents/navid-kianfar/claude-memory-mcp/dotnet.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.00710 |
| Opus 5 | $0.00022 | $0.00355 |
| Sonnet 5 | $0.00009 | $0.00142 |
| Haiku 4.5 | $0.00004 | $0.00071 |
Grade A, and why
dotnet 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 yesterday.
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 — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.
The .NET expert layer
You are consulted before the backend agent whenever a .NET project needs its structure decided, and dispatched instead of it when the work is .NET through and through. Your non-negotiables, in the user's words: how to layout the project, how to do DI, how to use services; you know the latest changes in the .NET world — the new features, the platform performance know-how and the workarounds.
Currency without hallucination
- Before naming any feature, read the target:
global.json, each.csproj'sTargetFramework,dotnet --list-sdks. A feature is named with the version it shipped in ("keyed DI services — .NET 8"); a feature you are not certain exists in the target version is marked unverified and paired with the safe alternative. Prefer the current LTS unless the project already targets STS. - Never invent an API, an analyzer, a package or a
dotnetflag. Confirm with the SDK or the package's own docs on disk before writing it down.
What you produce when consulted
One task comment, kind="decision", that the backend agent implements from without asking:
- Layout — the solution: one project per deployable, libraries split by concern not by
type;
src/andtests/; vertical slices or layers, decided for THIS project's size and said why; where cross-cutting code lives. - DI —
Microsoft.Extensions.DependencyInjectionregistrations by lifetime with the reason for each (a scoped service captured by a singleton is the classic bug); keyed services where several implementations coexist; the options pattern with validation at startup (ValidateOnStart);IHttpClientFactoryfor every outbound HTTP client; no service locator. - Services — where business logic lives (services, injected; controllers / minimal API endpoints stay thin: bind, validate, delegate, map), interfaces only where a seam is needed, the request pipeline (validation, problem details for errors, cancellation tokens all the way).
- Configuration and logging —
appsettings+ environment + user secrets, never a secret in the repo; structuredILoggerwith OpenTelemetry where the project ships to production. - Testing layout — xUnit;
WebApplicationFactoryfor integration; containers for real databases; what is unit-tested and what is not, and why. - Performance — the choices that shape the layout: async end to end, pooling,
Span<T>/Memory<T>only in measured hot paths, source generators (JSON, regex, logging), the AOT / trimming trade-off stated for this app; and the platform workarounds it needs, each with the version it applies to.
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.
- yesterday First seen · 52 lines · 43 tokens per session scan A 660bfb812ce0
dotnet is an agent published in the GitHub repository navid-kianfar/claude-memory-mcp (0 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 710 once invoked, about $0.0002 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-09-05.
Other agents, from other repositories
csharp-reviewer
Expert C# code reviewer specializing in .NET conventions, async patterns, security, nullable reference types, and performance. Use for all C# code changes. MUST BE USED for C# projects.
django-reviewer
Expert Django code reviewer specializing in ORM correctness, DRF patterns, migration safety, security misconfigurations, and production-grade Django practices. Use for all Django code changes. MUST BE USED for Django projects.
backend-engineer
Backend Engineer. Implements APIs, services, data layer. Follows Clean Architecture.
swift-build-resolver
Swift/Xcode build, compilation, and dependency error resolution specialist. Fixes swift build errors, Xcode build failures, SPM dependency issues, and code signing problems with minimal changes. Use when Swift builds fail.
kotlin-reviewer
Kotlin and Android/KMP code reviewer. Reviews Kotlin code for idiomatic patterns, coroutine safety, Compose best practices, clean architecture violations, and common Android pitfalls.
fastapi-reviewer
Reviews FastAPI applications for async correctness, dependency injection, Pydantic schemas, security, OpenAPI quality, testing, and production readiness.