Security rules in the instructions
The instruction file has a section on security, or tells the agent never to commit or log a secret.
The instruction file at the root of the repo tells the agent how to handle security: a section headed Security, or a rule such as never commit secrets, never log tokens, never hardcode an API key. It takes a few lines in a file the team already keeps. An instruction guides the agent but enforces nothing; a deny rule or a hook is what stops an action. The site reads the text of the root instruction files and counts a repo when one of them has a heading about security, or a sentence that forbids committing, logging or exposing secrets.
- Pro scene today: 13%, 28 of 221 pro repos
- In three months: –
- Kept: –
Pro 13% · Ladder 3%
In the pro repos
The 6 most starred of the 28 pro repos that have it today.
- n8n-io/n8n/AGENTS.md
- langgenius/dify/AGENTS.md
- langchain-ai/langchain/AGENTS.md
- Stirling-Tools/Stirling-PDF/AGENTS.md
- strapi/strapi/AGENTS.md
- coollabsio/coolify/AGENTS.md
By month
| Month | Pro scene |
|---|---|
| June 2025 | 1% |
| July 2025 | 3% |
| August 2025 | 4% |
| September 2025 | 6% |
| October 2025 | 6% |
| November 2025 | 6% |
| December 2025 | 7% |
| January 2026 | 8% |
| February 2026 | 8% |
| March 2026 | 9% |
| April 2026 | 9% |
| May 2026 | 10% |
| June 2026 | 10% |
| July 2026 | 11% |
| August 2026 | 11% |
| September 2026 | 12% |
| October 2026 | 12% |
| November 2026 | 12% |
| today | 13% |
Inside the practice
What the instruction file names
Of the repos with an instruction file at the root. Read from its text.
- A command to run the tests: 77%, 124 of 162
- A lint or format command: 64%, 104 of 162
- A type check: 43%, 69 of 162
- All three: 36%, 58 of 162
Evidence
- Observed. Published study, August 2026: In 481 public CLAUDE.md files, only about 4-16% of the security rules found had a matching built-in control. Source: When "Do Not" Is Not Deny, arXiv 2608.23550
- Observed. Published study, November 2025: In 2,303 agent context files from 1,925 repos, security is specified in 14.8%. Source: Agent READMEs, arXiv 2511.12884
How it is detected
Looks for a root instruction file with a heading about security, or a rule against committing or logging secrets. Read in instruction files. How the method counts
Related practices
More in Secure, the most adopted first.