Spec-Flow
AGENTS.md94 starsChanged 7 months agoMITView on GitHub
Codex mirrors Claude’s skills by reading shared docs plus Codex-specific metadata. During execution: This pattern keeps Codex synchronized with Claude’s capabilities without writing inside .claude/.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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 repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- analysis-phaseSkill
- anti-duplicationSkill
- audit-claude-mdSkill
- breaking-change-detectorSkill
- caching-strategySkill
- clarification-phaseSkill
- create-agent-skillsSkill
- create-hooksSkill
- create-meta-promptsSkill
- create-slash-commandsSkill
- create-subagentsSkill
- debug-phaseSkill
- dependency-conflict-resolverSkill
- design-tokensSkill
- domain-memorySkill
- dry-runSkill
- epic-meta-promptingSkill
- epic-scopingSkill
- epic-sprintsSkill
- epic-walkthroughSkill
- error-recoverySkill
- finalize-phaseSkill
- git-workflow-enforcerSkill
- hallucination-detectorSkill
- implementation-phaseSkill
- mockup-extractionSkill
- multi-agent-votingSkill
- optimization-phaseSkill
- parallel-execution-optimizerSkill
- planning-phaseSkill
- production-deployment-phaseSkill
- project-initialization-phaseSkill
- regression-test-generatorSkill
- roadmap-integrationSkill
- session-boundarySkill
- shadcn-integrationSkill
- specification-phaseSkill
- staging-deployment-phaseSkill
- staging-validation-phaseSkill
- task-breakdown-phaseSkill
- task-status-syncSkill
- theme-consistencySkill
- ultrathinkSkill
- workflow-detectionSkill
- worktree-contextSkill
- x-announcementSkill
The file
We split this Agents.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Run node .codex/skills/export-skills.js after adding or editing any Codex skill (.codex/skills/*.md).
- Very specific: line 27
Read .codex/skills/skills-index.yaml to determine which SKILL.md files apply to the current phase.
- Very specific: line 29
Keep .claude/skills/ as the reference canon.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
Codex Agents
Codex mirrors Claude’s skills by reading shared docs plus Codex-specific metadata.
Loading skills dynamically
- Run
node .codex/skills/export-skills.jsafter adding or editing any Codex skill (.codex/skills/*.md). - The script parses each skill’s front‑matter and regenerates
.codex/skills/skills-index.yaml:
skills:
- file: planning-skill.md
name: Epic Planning
capability: plan
owner: codex- Codex prompts can now load this YAML file to discover available skills at runtime:
# Example prompt snippet
/prompts:spec-flow-epic --skills-from .codex/skills/skills-index.yamlDuring execution:
- Read
.codex/skills/skills-index.yamlto determine whichSKILL.mdfiles apply to the current phase. - Pull the referenced Markdown skill files (stored under
.codex/skills/) into context when needed. - Keep
.claude/skills/**as the reference canon; Codex copies the relevant sections into.codex/skills/when adaptations are required.
This pattern keeps Codex synchronized with Claude’s capabilities without writing inside .claude/.
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.

