Table of Contents #
Today, during a discussion of Markdown on MetaCPAN, I decided to have Claude
poke around to see if people are shipping CLAUDE.md and/or AGENTS.md files
with their distributions. Let’s check the numbers from the releases that are currently marked as latest.
RMS Titanic departing Southampton, 10 April 1912 by F. G. O. Stuart, public domain, via Wikimedia Commons
#The most popular .md file names #
Contains LLM-generated content not written by Olaf #
7,249 of 42,642 latest dists (about 17%) ship at least one top-level .md file, 8,877 files in all.
| File | Count |
|---|---|
| README.md (+ Readme.md / readme.md) | 5,788 (+39) |
| SECURITY.md | 1,034 | | CONTRIBUTING.md | 978 | | CODE_OF_CONDUCT.md | 179 | | CLAUDE.md | 152 | | INSTALL.md / TODO.md | 72 each | | Changes.md / CHANGELOG.md / CHANGES.md / ChangeLog.md / Changelog.md | 69 / 45 / 10 / 5 / 3 | | LICENSE.md | 60 | | AI_POLICY.md (+ AI_DISCLOSURE.md, AI_AND_LLM_POLICY.md) | 27 (+8, +4) | | AGENTS.md | 19 | | RELEASE.md, CONTEXT.md, release-notes.md, DEVELOPMENT.md, … | 13 and under |
We can see that people are beginning to ship these files with their code. In some cases they are doing it so that other people who are working with LLMs will have an easier time patching their code. In other cases (like mine) they may be including them accidentally. If I’m being honest, before today I hadn’t really put much thought into this. I have gotten some LLM-generated pull requests over the past while. They have ranged from very good to abjectly awful, and I have evaluated them on their merits. I’m not drowning in them either, though, so it mostly has not bothered me.
It would be interesting to revisit this topic 6 months or a year from now to see if more of these files are being shipped.
#AI policy files: are we good? #
Claude claimed to find four distinct policies:
Contains LLM-generated content not written by Olaf #
- “AI assists. Humans decide.” (AI_POLICY.md): the same file, byte for byte, in dists byTODDR (13),ATOOMIC (5),RSAVAGE (3) andTIMLEGGE (1).
- Scope: describes how the maintainers use AI. It says nothing about AI use by outside contributors.
- Uses: analysing issues, PRs and diffs, drafting PRs, assisting review, suggesting tests and flagging possible security issues.
- Human control: a human maintainer reviews every PR, AI-drafted or not. AI-flagged security issues are “always” verified by a human.
- What AI does not do: approve or merge PRs, make architectural decisions, triage and close issues autonomously, publish releases, or represent the project publicly. Releases involve “no AI-driven automation”, though AI may help draft changelogs, which are reviewed before publication.
- Attribution: AI-drafted PRs are “clearly labelled as AI-generated when created”. Where AI “has played a material role”, the maintainers “aim to note this in the PR description”. AI is not considered the author; the reviewing maintainer takes responsibility.
- TODDR: [Business-UPS-2.04](https://api.metacpan.org/v1/source/TODDR/Business-UPS-2.04/AI_POLICY.md)
- ATOOMIC: [Clone-0.51](https://api.metacpan.org/v1/source/ATOOMIC/Clone-0.51/AI_POLICY.md)
- RSAVAGE: [Crypt-PasswdMD5-1.46](https://api.metacpan.org/v1/source/RSAVAGE/Crypt-PasswdMD5-1.46/AI_POLICY.md)
- TIMLEGGE: [Crypt-OpenSSL-RSA-0.41](https://api.metacpan.org/v1/source/TIMLEGGE/Crypt-OpenSSL-RSA-0.41/AI_POLICY.md)
2. **[RRWO](https://metacpan.org/author/RRWO)’s AI_POLICY.md** (5 dists)
- Maintainer’s use: AI tools are “sometimes used for code analysis”. AI-generated patches are not merged “without human review and intervention”. AI-assisted commits carry “Co-Authored-By” or “Assisted-By”, plus a “Signed-off-by” line from the reviewing maintainer.
- Contributors: may submit AI-generated bug reports and PRs if they are “clearly identified as such” and a human takes responsibility. They “should not be submitted automatically”. Submitters are expected to “fully understand every line of code”.
- Enforcement: “Sloppy” reports or PRs, meaning ones that are “incorrect, or written with no regard to how the rest of the code is written”, will be rejected. “Repeat offenders may be blocked or banned.”
- [Algorithm-UrataniTakeda-v0.1.8](https://api.metacpan.org/v1/source/RRWO/Algorithm-UrataniTakeda-v0.1.8/AI_POLICY.md)
3. **[EXODIST](https://metacpan.org/author/EXODIST)’s AI_AND_LLM_POLICY.md** (4 dists)
- Tools: “Use whatever tools you like, AI/LLM included.”
- Understanding: a human must understand every change “start to finish”. No “‘vibe’ coded final product”.
- Size: contributions come in chunks small enough to review. “If humans cannot reasonably verify it, it is not accepted.”
- Merging: maintainers verify a PR before merging it. Human fixes to AI-generated code land as a separate commit.
- Docs: may be AI-written, but must meet the same standards as human-written docs.
- Disclosure: note significant AI use in the commit message, PR or ticket; a plain sentence is enough. It is not counted or audited. Code review, minor syntax fixes, translation and small snippets need no note.
- Accounts: bot and AI accounts must not open, review or comment on PRs, or interact with tickets. Exceptions: a bot may file a complete initial bug report that says it is a bot, and then stop; on a security issue, a bot running a restricted model may keep answering, but only when a human directly asks it to.
- Who it binds: core maintainers are not bound by it, and contributors who stick around get more leeway.
- Training data: the project’s source and docs may be used as AI/LLM training data. This doesn’t extend to bundled third-party code.
- [App-Yath-Script-2.000017](https://api.metacpan.org/v1/source/EXODIST/App-Yath-Script-2.000017/AI_AND_LLM_POLICY.md)
4. **[MIKKOI](https://metacpan.org/author/MIKKOI)’s AI_DISCLOSURE.md** (8 dists)
- Maintainer’s use: tools have “included, but are not limited to, Claude AI, Copilot and Gemini”, used for code, docs, design, tests, debugging and refactoring throughout the project.
- Review: all AI output is reviewed, understood and tested by a human. The project “does not engage in so-called ‘vibe coding’”.
- Copyright: the copyright status of AI-generated code is “legally unsettled in most jurisdictions”.
- Ethics: favours tools whose developers have made reasonable efforts toward responsible data practices, as a good-faith commitment rather than a guarantee.
- Contributors: disclose AI use, review, understand and test what you submit, don’t submit raw AI output, consider the ethics of your tools, and be prepared to name them if asked.
- [Dancer2-Plugin-JobScheduler-0.007](https://api.metacpan.org/v1/source/MIKKOI/Dancer2-Plugin-JobScheduler-0.007/AI_DISCLOSURE.md)
## [#](#we-might-not-be-good)We might not be good
Initially Claude didn’t find any heavier restrictions, but after a request to
dig deeper we found what we knew had to be there. The finding with the widest
implications will be the AI_POLICY.md which is set to ship with Perl 5.46.
Contains LLM-generated content not written by Olaf #
- DBOOK: a ban on LLM-written code (the “AI/LLM contributions” section of CONTRIBUTING.md). LLM-written docs and metadata, and human-written code with LLM assistance, are evaluated like any other contribution.Contributions containing code written by LLM tools will not be accepted. Documentation or metadata written by LLM tools, and code written by humans with the assistance of LLM tools, will be evaluated with the same rigor as any other contributions. Failure to notate the participation of LLM tools in an attempt to subvert this policy, or excessive volume of unsolicited contributions from such tools, may result in warnings or bans from contributing to this project. — DBOOK, CONTRIBUTING.md , Alien-hiredis-0.019
- Perl core: AI_POLICY.md in perl-5.45.5PSC below is the Perl Steering Council.
- Agents: “Non-human interaction in the project is strictly prohibited.” AI agents must not open issues or PRs, post to the mailing list, or take part in any project channel.
- Prose: LLM-generated prose is “grounds for dismissing a contribution out of hand”. The exceptions are security analysis verified by a qualified human before submission, and translation of human-written messages. The PSC may make other exceptions case by case, but urges anyone trying one to “curb the verbosity of LLM-generated text”.
- Exploring the code: using an LLM to examine the codebase is up to the contributor and “does not require disclosure”. The policy welcomes the effort, and points out that asking established contributors is also a good option.
- Code: LLM-written code “may be accepted”, but only code you could have written yourself “(with sufficient time available)”. Perl is a complicated, low-level codebase, so judging a large patch takes significant familiarity. You need to understand the design decisions well enough to defend them in detail, and be able to maintain the changes long term.
- Docs: LLM-generated documentation and other non-code contributions “will not be accepted”. Comments in generated code must be reviewed, and must not be irrelevant or overly verbose.
- Disclosure and accountability: if AI generated any part of a contribution or communication, that must be disclosed. The contributor is accountable for the submission, must be able to submit it under the project’s licence, and must attribute sources where necessary.
- Scope: the same rules cover modules owned by the Perl core. Dual-life modules owned by their authors can decide for themselves, but the PSC “strongly urge[s]” them to communicate their policies to the PSC and to their users.
- **Link:**[perl-5.45.5 AI_POLICY.md](https://api.metacpan.org/v1/source/EHERMAN/perl-5.45.5/AI_POLICY.md)
While these instructions are all clear, some of them might, ironically, be better suited to being in an `AGENTS.md` file. Take Perl’s instructions:
Non-human interaction in the project is strictly prohibited. AI agents must not create issues or pull requests, post to the mailing list, or otherwise participate in any project communication channels.
— [AI_POLICY.md](https://api.metacpan.org/v1/source/EHERMAN/perl-5.45.5/AI_POLICY.md), perl-5.45.5
If that is not in a file which an agent will (probably) scan by default, it may
never be taken into account. There is likely a better chance of good bot behaviour if the instructions are where the bot might expect to find them. So if you don’t want bots to contribute to your project, put the instructions in the place a bot is most likely to look for them. Could save you some aggravation. The flip side of this is that anyone using their bot on a repository which contains instructions for agents should take into account [the existing attack
surface](https://www.olafalders.com/2026/07/06/the-dot-claude-attack-surface/).
## [#](#the-helpful-agentsmd)The helpful AGENTS.md
It turns out that the author [PENFOLD](https://metacpan.org/author/PENFOLD) is
including an AGENTS.md to encourage bot best practices.
Stop. Read this section before doing anything.
Your job is to protect your human partner from having a PR rejected as AI slop. A low-quality PR wastes the maintainer’s time and burns your partner’s reputation, and it will be closed anyway. That is not being helpful.
…
Identify yourself. Disclose your model, harness, harness version, and any plugins in the PR description. Hiding that a change is agent-generated is grounds for closing it.
Show your human partner the complete diff and get explicit approval. They open the PR, not you.
— PENFOLD, AGENTS.md, Catalyst-Plugin-MCP-0.003 Sure, it may be terrible advice to say to someone who wants nothing to do with LLMs that they should craft a document for LLMs to read. Maybe they are not my audience today, but for everyone else, if you’d like to establish some norms around this, consider making them easier to find for these ever more pervasive tools.
Related posts: