devloop / codex
AGENTS.md0 starsChanged 5 months agoMITView on GitHub
When asked to define a feature, gather requirements, or create stories/tickets, follow this gated chain. Each phase gates the next; do not skip ahead. Each phase has an Agent Skill (installed under .agents/skills/) that carries the full method — adopt it (Codex auto-selects by description, or invoke $<skill> / pick it from /skills). This file only sequences them. 0. context-librarian skill — Act as a Context Librarian. Ask, one category at a time, where company knowledge lives (local files/folders, wikis…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository6 other files it gives its agents.
- business-analystSkill
- context-librarianSkill
- jira-organizerSkill
- requirements-analystSkill
- story-reviewerSkill
- story-writerSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
When asked to define a feature, gather requirements, or create stories/tickets, follow this
- Distinctive: line 22
No solutioning, no stories yet.
- Very specific: line 52
If you have no MCP server, fall back to synced/exported files and ingest.py.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
DevLoop — business-analysis workflow for this repo
When asked to define a feature, gather requirements, or create stories/tickets, follow this
gated chain. Each phase gates the next; do not skip ahead. Each phase has an Agent Skill
(installed under .agents/skills/) that carries the full method — adopt it (Codex auto-selects
by description, or invoke $<skill> / pick it from /skills). This file only sequences them.
context-librarianskill — Act as a Context Librarian. Ask, one category at a time, where company knowledge lives (local files/folders, wikis & URLs, SharePoint, paste-in text). Compile sources into an interlinked LLM-Wiki underknowledge/(concept articles with [[wikilinks]] + source-traceable frontmatter + anindex.mdrouting layer). Run FIRST when source material exists. 0b.business-analystskill (optional — waterfall/regulated/SI teams) — produce a Business Requirements Document (brd.md): business objectives + metrics (OBJ-n), scope, stakeholders, current/future state, and numbered business requirements (BR-n) in business language (no "system shall"), with sign-off. Agile teams skip this and go straight to requirements. When a BRD exists, later phases traceBR → FR → US.requirements-analystskill — Readknowledge/wiki/index.mdif present (andbrd.mdif it exists — tag each FR/NFR with theBR-nit serves), open relevant concept articles, and only ask about gaps. Interview Socratically, ONE question at a time with A/B/C options, until the checklist is covered. Producerequirements.md(numbered FR/NFR) with explicit sign-off. No solutioning, no stories yet.story-writerskill — Convert approvedrequirements.mdinto epics and INVEST user stories with Gherkin acceptance criteria and a traceability matrix. Producestories.md.story-reviewerskill — Independently review against INVEST, Definition of Ready, acceptance-criteria quality, and requirement coverage. Producestory-review.md.jira-organizerskill — Turnstories.mdintojira-plan.md: Initiative→Epic→ Story/Task hierarchy, Components from the codebase/integration wikis, label taxonomy, field mappings. Guidance only; no import file.
Helpers
The installer places wikikit.py (registry/sync/scaffold/status/commit/lint) and ingest.py
(multi-format folder ingest) in $CODEX_HOME/tools (default ~/.codex/tools/); each skill
also bundles them under its scripts/. Run as python3 ~/.codex/tools/wikikit.py … and
python3 ~/.codex/tools/ingest.py <folder> --wiki <id>.
SharePoint / MCP sources
To let the Context Librarian read SharePoint (or other MCP sources), add an MCP server to your
Codex config.toml (~/.codex/config.toml, or .codex/config.toml for a trusted project) —
there is no single official SharePoint server, so point it at the Microsoft Graph / SharePoint
MCP server you use and pass secrets via env, never inline:
[mcp_servers.sharepoint]
command = "npx"
args = ["-y", "<your-sharepoint-or-microsoft-graph-mcp-server>"]
env = { SHAREPOINT_TOKEN = "${SHAREPOINT_TOKEN}" }If you have no MCP server, fall back to synced/exported files and ingest.py. DevLoop's
requirements.md is intentionally richer than a plain spec (personas, FR/NFR with source
traceability, scope, risks).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

