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 instructions/realworld-apps/aspnetcore-realworld-example-app/agents-mdgit clone --depth 1 https://github.com/realworld-apps/aspnetcore-realworld-example-appWrote 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/realworld-apps/aspnetcore-realworld-example-app/agents-md)<a href="https://agentmods.dev/instructions/realworld-apps/aspnetcore-realworld-example-app/agents-md"><img src="https://agentmods.dev/badge/instructions/realworld-apps/aspnetcore-realworld-example-app/agents-md.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 | $0.00553 | $0.00553 |
| Opus 5 | $0.00277 | $0.00277 |
| Sonnet 5 | $0.00111 | $0.00111 |
| Haiku 4.5 | $0.00055 | $0.00055 |
Grade A, and why
aspnetcore-realworld-example-app 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 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.
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository Guidance
Overview
- The application is an ASP.NET Core 10 API implementing the RealWorld specification.
src/Conduitcontains the web application and its feature-oriented vertical slices.tests/Conduit.IntegrationTestscontains xUnit integration tests using an EF Core InMemory database.buildcontains the Bullseye build targets used by CI.realworldis a vendored git submodule containing the upstream API specification tests. Do not edit it unless the task explicitly targets the submodule.
Toolchain
- Use the .NET SDK version pinned in
global.json(10.0.302) and targetnet10.0. - Package versions are managed centrally in
Directory.Packages.props. - Restore packages with lock files enabled. Restore updates to
packages.lock.jsonfiles should be included when dependencies change. - Nullable reference types, recommended analyzers, code-style checks, and warnings-as-errors are enabled in
Directory.Build.props. - CSharpier
1.3.0is the repository formatter. The repository uses four-space indentation, file-scoped namespaces,var, explicit accessibility modifiers, and sortedSystemusings.
Validation
Run the standard validation target after code changes:
dotnet run --project build/build.csproj -- test
The target formats the repository, builds the solution in Release mode, and runs all test projects. To format without building, run:
dotnet run --project build/build.csproj -- format
The CI-equivalent build, test, and publish pipeline is:
dotnet run --project build/build.csproj
Run the application locally with make run-local. The API is available at http://localhost:5000, and Swagger is available at /swagger.
The optional RealWorld API suites require the realworld submodule plus Hurl or Bun/Bruno:
make submodule
make test-hurl-with-managed-server
make test-bruno-with-managed-server
Development Practices
- Keep commands, queries, validators, handlers, and related models together under the relevant feature folder.
- Keep controllers thin and pass the request cancellation token through to handlers and database operations.
- Use FluentValidation for request validation and preserve the existing error response behavior.
- Use EF Core through
ConduitContext; do not introduce a second persistence abstraction without a concrete requirement. - Add or update integration tests for behavior changes, especially changes to the RealWorld API contract.
- Do not commit generated build output, local SQLite databases, secrets, or changes inside the
realworldsubmodule unless required.
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.
- 5d ago First seen · 57 lines · 553 tokens per session scan A ec1ae8a69a3f
aspnetcore-realworld-example-app AGENTS.md is an instructions file published in the GitHub repository realworld-apps/aspnetcore-realworld-example-app (2,087 stars, last pushed 2d ago), licensed MIT. It adds 553 tokens to every session, about $0.0028 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 instructions, from other repositories
SSW.VerticalSliceArchitecture CLAUDE.md
Instructions for SSWConsulting/SSW.VerticalSliceArchitecture, covering ssw vertical slice architecture — agent instructions, project overview, technology stack, rules and skills.
Perigon.CLI copilot-instructions.md
Copilot instructions for AterDev/Perigon.CLI, covering github copilot instructions, general guidelines, 技术栈, 项目结构与分层 and 代码风格约定.
generative-ui-foundry-hosted-agents AGENTS.md
Instructions for leestott/generative-ui-foundry-hosted-agents, covering agents.md, 1. architecture (the mental model), 2. golden rules (do not regress these), 3. component contracts and 3.1 agent (agent/).
generative-ui-foundry-hosted-agents copilot-instructions.md
Instructions for leestott/generative-ui-foundry-hosted-agents, covering what this repo is, non-negotiable conventions, when editing code, deploy & verify and testing commands.
mostlylucidweb CLAUDE.md
Claude Code instructions for scottgal/mostlylucidweb, covering claude.md, working preferences, project overview, build & development commands and .net backend.
mostlylucidweb AGENTS.md
AGENTS.md instructions for scottgal/mostlylucidweb, covering repository guidelines for agentic coding, build & test commands, coding style, testing and commit guidelines.