aspnetcore-realworld-example-app: Instructions file for Codex

AGENTS.md

aspnetcore-realworld-example-app AGENTS.md is an instructions file for Codex, OpenCode from realworld-apps/aspnetcore-realworld-example-app. It costs 643 tokens per session, scanned A, original, MIT.

A development guide for an ASP.NET Core application that implements the RealWorld API specification. ASP.NET Core is a framework for building .NET web applications, and the guide covers its source, tests, build tools, and dependencies.

In plain words
What is it for?
Use it when changing the API, integration tests, build files, package versions, or the vendored API-specification tests.
Why use it?
It tells contributors which .NET version, package rules, formatting standards, and validation commands the project expects.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is realworld-apps/aspnetcore-realworld-example-app's own configuration. It tells Codex and OpenCode how to work on aspnetcore-realworld-example-app itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything aspnetcore-realworld-example-app configures →

About the project

aspnetcore-realworld-example-app is a backend implementation of the RealWorld application built with ASP.NET Core, a framework for developing web applications with C#. It provides the server-side part of a RealWorld example application.

realworld-apps/aspnetcore-realworld-example-app · 2,096 stars · on GitHub · realworld.io

Reuse

Borrowing it

Nothing to install: this file belongs to realworld-apps/aspnetcore-realworld-example-app. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/realworld-apps/aspnetcore-realworld-example-app/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/realworld-apps/aspnetcore-realworld-example-app

Made for: Codex, OpenCode.

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 aspnetcore-realworld-example-app AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/realworld-apps/aspnetcore-realworld-example-app/agents-md/github.svg)](https://agentmods.dev/instructions/realworld-apps/aspnetcore-realworld-example-app/agents-md)
Your own site
<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/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.

agentmods 80×15 button for aspnetcore-realworld-example-app AGENTS.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 643 This file is loaded in full into every session.
When invoked 643 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00643 $0.00643
Opus 5.5 $0.00257 $0.00257
Sonnet 5.5 $0.00129 $0.00129
Haiku 4.5 $0.00064 $0.00064

Measured 5d ago against content hash 842de5753ef6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

AGENTS.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 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/Conduit contains the web application and its feature-oriented vertical slices.
  • tests/Conduit.IntegrationTests contains xUnit integration tests using scoped SQLite contexts and HTTP tests using WebApplicationFactory. Focused authentication tests also use EF Core InMemory.
  • build contains the Bullseye build targets used by CI.
  • realworld is 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 specified in global.json (10.0.403, with latestFeature roll-forward) and target net10.0.
  • Package versions are managed centrally in Directory.Packages.props.
  • Restore packages with lock files enabled. Restore updates to packages.lock.json files should be included when dependencies change.
  • The build enforces locked restore. CI passes --check-format to the build runner to check formatting without rewriting files.
  • Nullable reference types, recommended analyzers, code-style checks, and warnings-as-errors are enabled in Directory.Build.props.
  • CSharpier 1.3.0 is the repository formatter. The repository uses four-space indentation, file-scoped namespaces, var, explicit accessibility modifiers, and sorted System usings.

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:5050, and Swagger is available at /swagger.

The optional RealWorld API suites require the realworld submodule plus Hurl or Bun/Bruno:

Read the full file on GitHub · 59 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 Changed 842de5753ef6
  2. 22d ago Changed 6b1cc989c6f1
  3. 1mo ago Changed · +2 lines · +90 tokens per session f89b95cae90d
  4. 2mo ago First seen · 57 lines · 553 tokens per session scan A ec1ae8a69a3f

Subscribe to this mod's changes

aspnetcore-realworld-example-app AGENTS.md is an instructions file published in the GitHub repository realworld-apps/aspnetcore-realworld-example-app (2,096 stars, last pushed 2d ago), licensed MIT. It adds 643 tokens to every session, about $0.0026 per session on Opus 5.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.

Related

aspnetcore-realworld-example-app AGENTS.md compared with instructions from other repositories

aspnetcore-realworld-example-app AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aspnetcore-realworld-example-app AGENTS.mdrealworld-apps/aspnetcore-realworld-example-appInstructions file2.1k2d agoMITA643Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode