Skip to content
Agent Friendly Code

Swift AGENTS.md examples from 7 open source repos

7 of 14 Swift leaderboard repos have an AGENTS.md or CLAUDE.md at the root, and 7 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 Swift AGENTS.md to start from

vapor/vapor (26.2k ★, scores 85): read AGENTS.md on GitHub (new tab), 3,122 characters, checked 22 Nov 2026. Copy it into your repo, then swap its commands and paths for yours:

curl -fsSL https://raw.githubusercontent.com/vapor/vapor/main/AGENTS.md -o AGENTS.md
  • About 3.0 KiB: inside the 16 KiB Devin reads and the 32 KiB Codex reads

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

Swift repos with an AGENTS.md or CLAUDE.md (7)

Swift repos on the leaderboard with an AGENTS.md or CLAUDE.md
RepoFileLengthStarsScore
vapor/vaporAGENTS.md 3,122 chars26.2k ★84.5
onevcat/KingfisherAGENTS.md 3,974 chars24.4k ★74.5
mozilla-mobile/firefox-iosAGENTS.md 1,694 chars13.1k ★78.2
farzaa/clickyAGENTS.md 13,014 chars8.1k ★56.6
wordpress-mobile/WordPress-iOSAGENTS.md 6,191 chars3.9k ★84.6
home-assistant/iOSAGENTS.md 8,078 chars2.4k ★76.5
gnachman/iterm2AGENTS.md 3,199 chars1.5k ★64.7

More examples