agentleFS
aithinkersaithinkers/devloop/codex/AGENTS.md

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.

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
  1. Distinctive:

    When asked to define a feature, gather requirements, or create stories/tickets, follow this

    line 3
  2. Distinctive:

    No solutioning, no stories yet.

    line 22
  3. Very specific:

    If you have no MCP server, fall back to synced/exported files and ingest.py.

    line 52

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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.

  1. context-librarian skill — 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 under knowledge/ (concept articles with [[wikilinks]] + source-traceable frontmatter + an index.md routing layer). Run FIRST when source material exists. 0b. business-analyst skill (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 trace BR → FR → US.
  2. requirements-analyst skill — Read knowledge/wiki/index.md if present (and brd.md if it exists — tag each FR/NFR with the BR-n it 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. Produce requirements.md (numbered FR/NFR) with explicit sign-off. No solutioning, no stories yet.
  3. story-writer skill — Convert approved requirements.md into epics and INVEST user stories with Gherkin acceptance criteria and a traceability matrix. Produce stories.md.
  4. story-reviewer skill — Independently review against INVEST, Definition of Ready, acceptance-criteria quality, and requirement coverage. Produce story-review.md.
  5. jira-organizer skill — Turn stories.md into jira-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).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.