Borrowing it
Nothing to install: this file belongs to YuliiaKovalova/dotnet-template-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/YuliiaKovalova/dotnet-template-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/YuliiaKovalova/dotnet-template-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/instructions/yuliiakovalova/dotnet-template-mcp/agents-md)<a href="https://agentmods.dev/instructions/yuliiakovalova/dotnet-template-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/yuliiakovalova/dotnet-template-mcp/agents-md/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.
<a href="https://agentmods.dev/instructions/yuliiakovalova/dotnet-template-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/yuliiakovalova/dotnet-template-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.01240 | $0.01240 |
| Opus 5 | $0.00620 | $0.00620 |
| Sonnet 5 | $0.00248 | $0.00248 |
| Haiku 4.5 | $0.00124 | $0.00124 |
Grade A, and why
dotnet-template-mcp AGENTS.md 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 9d 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 — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — AI Agent Instructions for dotnet-template-mcp
Project Overview
MCP server wrapping the .NET Template Engine for AI-driven template discovery, inspection, and instantiation. Ships as a dotnet tool (DotnetTemplateMCP) on NuGet.
Build & Test
dotnet build
dotnet test
- Targets net8.0 and net10.0 (see
global.jsonfor SDK version). - Uses Central Package Management — all versions in
Directory.Packages.props. - CI runs on ubuntu-latest and windows-latest (see
.github/workflows/ci.yml). - When the MCP server is running locally (e.g., as a tool provider),
dotnet buildmay fail with a file lock onbin/Debug/net10.0/DotnetTemplateMcp.exe. Use-o <tempdir>to build to an alternate output path.
Architecture
Tool Registration Pattern
Each MCP tool is a static async method in a sealed class under src/DotnetTemplateMcp/Tools/:
[McpServerToolType]
internal sealed class MyTool
{
[McpServerTool(Name = "tool_name")]
[Description("Description shown to AI agents — lead with the pain point, not the feature name.")]
public static async Task<string> MyMethodAsync(
TemplateEngineService engineService, // DI-injected service
McpFeatureFlags featureFlags, // DI-injected feature flags
[Description("...")] string param1, // User-facing params with [Description]
CancellationToken cancellationToken = default)
{
// 1. Telemetry
using var activity = McpTelemetry.StartToolActivity("tool_name");
var sw = Stopwatch.StartNew();
try
{
// 2. Profile check (for non-lite tools)
if (!featureFlags.IsToolEnabled("tool_name"))
{
return ToolProfileResponse.DisabledMessage("tool_name", "Hint for the user.");
}
// 3. Tool logic
// ...
}
finally
{
McpTelemetry.RecordDuration("tool_name", sw.Elapsed.TotalMilliseconds);
}
}
}
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.
- 9d ago First seen · 102 lines · 1,240 tokens per session scan A c5b3d1725dda
dotnet-template-mcp AGENTS.md is an instructions file published in the GitHub repository YuliiaKovalova/dotnet-template-mcp (8 stars, last pushed 19d ago), licensed MIT. It adds 1,240 tokens to every session, about $0.0062 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-31.
Other instructions, from other repositories
plan-forge dapr.instructions.md
Dapr patterns for .NET — building blocks, component config, sidecar architecture, multi-tenant isolation, workflows, state management, secrets.
plan-forge auth.instructions.md
.NET authentication & authorization — JWT/OIDC, policy-based auth, multi-tenant isolation, API keys, testing.
plan-forge blazor-fluent-ui.instructions.md
Blazor Server + Microsoft Fluent UI patterns — component layering, state, lifecycle, accessibility. Auto-loads when editing .razor / .razor.cs files.
plan-forge landing-zone.instructions.md
Azure Landing Zone baselines — identity, network, policy, management, security, tagging, subscription organization.
plan-forge bicep.instructions.md
Bicep IaC patterns — file structure, naming, modules, parameters, outputs, linter, security.
plan-forge policy.instructions.md
Azure Policy and Initiative compliance — definitions, assignment, compliance state, exemptions, remediation tasks.