GitHub is Good to agents.
Discry independently scored how well an AI agent can discover and understand the GitHub API from what’s public — not whether it’s usable. Below: every signal we checked, what’s costing the score, and what to change.
SCORED UNDER RUBRIC 1.2 · A full re-launch under Discry Score 2.5 — a new behavioral instrument, not comparable to these scores — is in progress.
Discovery
45% of score · 81/100Comprehension
55% of score · 93/100What we found
- GitHub's comprehension quality is near-perfect (93/100): the Article API at /api/article/body returns clean markdown for any docs page, dedicated troubleshooting page provides error recovery guidance, and multi-step workflow guides cover core use cases
- The llms.txt is a best-in-class example — API-focused, right-sized (2.6KB), with structured sections explaining programmatic APIs for page listing, search, and article retrieval. Passes the new llmsTxtQuality check with full marks
- Discovery improved from v1.0 thanks to AGENTS.md at github/awesome-copilot providing useful coding agent context, but sitemap.xml and .well-known/mcp.json remain missing
- Error recovery guidance is strong: a dedicated troubleshooting page explains timeouts, 404s vs permission issues, and rate limiting with specific remediation steps
- The OpenAPI spec is comprehensive (26,000+ lines, 76 endpoints, 284 schemas) publicly hosted at github/rest-api-description
What to change
Prioritized by impact on discoverability. You (or your docs platform) deploy these — Discry never touches your API.
- 01Add .well-known/mcp.json to docs.github.com with tool declarations for the official GitHub MCP server — enables automated agent discovery
- 02Add llms-full.txt at docs.github.com containing the complete REST API reference in markdown — the Article API already serves this content
- 03Add sitemap.xml to docs.github.com listing API documentation pages — the Page List API already provides this data
- 04Upgrade code examples to use realistic values instead of OWNER/REPO placeholders — response examples are good (octocat/Hello-World) but request examples use generic placeholders
- 05Add AGENTS.md to github/rest-api-description repo (the awesome-copilot one is good but not in the primary API repo)
Execution coverage · INFORMATIONAL, UNSCORED
Whether an agent can actually complete a call and recover from errors is the deeper Audit layer — documented here, but not part of the Discry Score.
Multiple auth methods (PAT, GitHub Apps, OAuth, GITHUB_TOKEN, fine-grained PATs). JSON error responses with messages and documentation_url. Comprehensive rate limit docs (primary + secondary) with header names. Link-header pagination. No idempotency key support.