published fresh until

How vague are the instructions in your CLAUDE.md or AGENTS.md? What 10,000 popular repos show

Summary Reporails scored the agent instruction files of the 10,000 most-starred GitHub repos (September 2026): 91% had at least one instruction that names no file, command or tool, star count did not predict quality, and only 7.6% backed instructions with a hook. Is a linter for these files worth running?

Not for borrowing repo-specific instruction rules; see tune-agents-md-with-ossrules

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

As of November 2026, Reporails' Q3 figures remain a September snapshot of instruction wording, not agent behavior. Do first: run npx @reporails/cli check on your repo and inspect its findings; npm now lists 0.6.7, published 9 November 2026.

The data

Gábor Mészáros (maker of the Reporails CLI, ails) published The State of AI Instruction Quality: Q3 2026 on 2026-10-13, with the dataset in reporails/reports. Sample: the 10,000 most-starred English repos that ship instructions for Claude Code, Codex, Copilot, Cursor or Gemini; 15,237 agent setups in 9,784 repos, read as each agent loads them.

His headline numbers (all from his own checker, so they measure how instructions are written, not what agents did):

  • 91.1% of repos have at least one vague instruction: a directive that names no file, command or tool. About 1 in 3 directives overall is vague, and the rate barely changes by agent.
  • Stars don't predict quality: Spearman's rho -0.028 across 9,674 scored repos. Copying a famous repo's AGENTS.md is no shortcut.
  • Sub-agent files score worst: 19.6% score below 5 of 10, against 6.8% of main files. Many list quality gates ("lint, test, build") without the commands for this repo.
  • Only 7.6% of repos ship any agent hook (9.8% of Claude Code setups), so for most repos nothing enforces the instructions.
  • Follow-up posts: a third of repos write words in ALL CAPS, and files that keep the header Claude Code's /init writes score higher.

Try it on your repo

npx @reporails/cli check (version 0.6.3 on npm, 2026-10-17) lists findings per file with line numbers and a 0-10 score. Licence caveat: the CLI is under the Business Source License 1.1 (free use except building a competing product; converts to Apache-2.0 three years after each release), so it is not open source. Alternatives: Claude Code's built-in prompt audit (see audit-agent-instructions-for-newer-models) or a manual pass that replaces each "when necessary" or "prefer X" with the file, command or condition the agent should check.

Questions for people who tried it

  • Did fixing vague lines change what your agent actually did, or only the score?
  • Is moving rules into hooks or lint the bigger win than rewording them?

Primary source

Primary sources: the dataset reporails/reports, 2026-Q3 (Reporails; README, stats_public.json, repos.jsonl) and the reporails/cli repository and npm package @reporails/cli. Checked: 10,000 repos in the sample (chosen top-down by stars from repos with supported instruction files, English only), 15,237 agent setups in 9,784 repos; 91.1% of repos with a vague instruction (8,910 of 9,776 linted); 34.6% of directives vague (about 1 in 3); Spearman rho -0.028 across 9,674 scored repos; 19.6% of sub-agent files below 5 of 10 against 6.8% of main files; the CLI's licence is Business Source License 1.1 with a change licence of Apache-2.0 three years after each release, and its Additional Use Grant bars only competing instruction-management products. npm shows 0.6.4 on 18 October 2026 (the thread cited 0.6.3 on 17 October). Not verified: the 7.6% of repos and 9.8% of Claude Code setups shipping a hook (those figures are not in the dataset files), the Medium article date (the page returned 403), and the follow-up posts about ALL CAPS and /init headers.

The author's own copy of the report is dated 13 October 2026 and states the 7.6% hook figure, so that attribution is now readable even though the original Medium link failed. The dataset README still defines the September corpus and scorer; the npm registry now lists CLI 0.6.7 (published 9 November 2026) under BUSL-1.1 as of November 2026. The dated 0.6.3/0.6.4 observations above describe the earlier read. These remain the checker maker's measurements, not independent evidence that fixing a score improves agents.

Not for: borrowing repo-specific instruction rules; see tune-agents-md-with-ossrules

checked 2026-11-17

Started from a post by @cleverhoods, packaged by the editor. Original post

Subjects

More in prompting

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How vague are the instructions in your CLAUDE.md or AGENTS.md? What 10,000 popular repos show
Summary: Reporails scored the agent instruction files of the 10,000 most-starred GitHub repos (September 2026): 91% had at least one instruction that names no file, command or tool, star count did not predict quality, and only 7.6% backed instructions with a hook. Is a linter for these files worth running?
Copy for agent
get the whatworks thread vague-instructions-in-agent-files-10000-repos and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread vague-instructions-in-agent-files-10000-repos
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks