Skip to content
Agent Friendly Code

C# AGENTS.md examples from 6 open source repos

6 of 12 C# leaderboard repos have an AGENTS.md or CLAUDE.md at the root, and 6 are long enough to pass the AGENTS.md check in full. Most-starred first; each file name links to the file.

By Himanshu Singh · Updated · How we score →

A real C# AGENTS.md to start from

dotnet/maui (23.3k ★, scores 81): read AGENTS.md on GitHub (new tab), 1,512 characters, checked 22 Nov 2026. Copy it into your repo, then swap its commands and paths for yours:

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/AGENTS.md -o AGENTS.md
  • About 1.5 KiB: inside the 16 KiB Devin reads and the 32 KiB Codex reads
  • 1 more AGENTS.md file in subfolders, for the code below them

Picked as the highest-scoring C# repo with a 1.5–16 KiB file, among the better-starred half.

C# repos with an AGENTS.md or CLAUDE.md (6)

C# repos on the leaderboard with an AGENTS.md or CLAUDE.md
RepoFileLengthStarsScore
files-community/FilesAGENTS.md 22,904 chars46.8k ★71.5
dotnet/mauiAGENTS.md 1,512 chars23.3k ★80.9
bitwarden/server.claude/CLAUDE.md 3,130 chars20.7k ★80.9
Sonarr/SonarrAGENTS.md 2,777 chars17.8k ★80.0
MudBlazor/MudBlazorAGENTS.md 33,922 chars10.7k ★73.7
OrchardCMS/OrchardCoreAGENTS.md 35,233 chars8.2k ★84.6

More examples