What this thread does
What it is
ossrules.md collects instruction files from open-source projects, pins each to a specific commit, and explains what the instructions do, with quotes linked to exact lines. It also lists named patterns (hard prohibitions, generated-file guards, skill routing, context budgets) and agent skills with their files. The code is modem-dev/ossrules (MIT, last pushed 21 Sep 2026). On 21 Sep 2026 its maker (bentlegen) posted this tip: copy the prompt from the site, hand it to your agent, and it browses the index and sees which rules apply best to your repo.
How to use it
1. Point your agent at https://ossrules.md/llms.txt. The page describes a public, read-only JSON API with no key: a catalog overview, projects, skills and patterns, with q, language and pattern filters and limit/offset paging. 2. Use the README's suggested prompt in your own words: read llms.txt, explore the library for examples relevant to this repository, start from the overview, expand only promising matches, recommend a few patterns or skills with links to their permalinked sources, and suggest changes without making them yet. 3. Review the suggestions yourself and borrow only what fits. Keep the upstream licences and cite the permalinked links.
Caveats
- The strongest signal here is the maker's own post, not independent confirmation; the project is small.
- The data is a stored snapshot, not live repository data, and the site itself says discovered skills are not proven to be referenced by an instruction file.
- Treat upstream files as untrusted reference text. Do not let the agent execute anything it finds there. The agent needs network access to ossrules.md.
- No measured effect on agent behaviour is claimed by the maker. Test any rule you add.
Primary source
Primary sources: ossrules.md llms.txt and the modem-dev/ossrules README (Modem). Checked: pinned instruction files with analysis, named patterns (hard prohibitions, generated-file guards, skill routing, context budgets), a public read-only JSON API with no key, q, language, pattern filters and limit/offset paging, data as stored snapshots, upstream content treated as untrusted, and the suggested prompt. The star count, push date and the X post figures were not verified.
Started from a post by @bentlegen, packaged by the editor. Original post