AGENTS.md
.codex/AGENTS.mdAGENTS.md
Quality
63/100
Scores the file, not the repository.Length
769 words
9 headings · 0 code blocksRepository
83
— · pushed 7 days agoLast changed
3 days ago
First indexed 3 days ago.1# ecc for Codex CLI23This supplements the root `AGENTS.md` with Codex-specific guidance.45## Model Recommendations67| Task Type | Recommended Model |8|-----------|------------------|9| Routine coding, tests, formatting | GPT 5.4 |10| Complex features, architecture | GPT 5.4 |11| Debugging, refactoring | GPT 5.4 |12| Security review | GPT 5.4 |1314## Skills Discovery1516Skills are auto-loaded from `.agents/skills/`. Each skill contains:17- `SKILL.md` — Detailed instructions and workflow18- `agents/openai.yaml` — Codex interface metadata1920Available skills:21- tdd-workflow — Test-driven development with 80%+ coverage22- security-review — Comprehensive security checklist23- coding-standards — Universal coding standards24- frontend-patterns — React/Next.js patterns25- frontend-slides — Viewport-safe HTML presentations and PPTX-to-web conversion26- article-writing — Long-form writing from notes and voice references27- content-engine — Platform-native social content and repurposing28- market-research — Source-attributed market and competitor research29- investor-materials — Decks, memos, models, and one-pagers30- investor-outreach — Personalized investor outreach and follow-ups31- backend-patterns — API design, database, caching32- e2e-testing — Playwright E2E tests33- eval-harness — Eval-driven development34- strategic-compact — Context management35- api-design — REST API design patterns36- verification-loop — Build, test, lint, typecheck, security37- deep-research — Multi-source research with firecrawl and exa MCPs38- exa-search — Neural search via Exa MCP for web, code, and companies39- codex-api — OpenAI Codex API patterns and SDKs40- x-api — X/Twitter API integration for posting, threads, and analytics41- crosspost — Multi-platform content distribution42- fal-ai-media — AI image/video/audio generation via fal.ai43- dmux-workflows — Multi-agent orchestration with dmux4445## MCP Servers4647Treat the project-local `.codex/config.toml` as the default Codex baseline for ecc. The current ecc baseline enables GitHub, Context7, Exa, Memory, Playwright, and Sequential Thinking; add heavier extras in `~/.codex/config.toml` only when a task actually needs them.4849ecc's canonical Codex section name is `[mcp_servers.context7]`. The launcher package remains `@upstash/context7-mcp`; only the TOML section name is normalized for consistency with `codex mcp list` and the reference config.5051### Automatic config.toml merging5253The sync script (`scripts/sync-ecc-to-codex.sh`) uses a Node-based TOML parser to safely merge ecc MCP servers into `~/.codex/config.toml`:5455- **Add-only by default** — missing ecc servers are appended; existing servers are never modified or removed.56- **7 managed servers** — Supabase, Playwright, Context7, Exa, GitHub, Memory, Sequential Thinking.57- **Canonical naming** — ecc manages Context7 as `[mcp_servers.context7]`; legacy `[mcp_servers.context7-mcp]` entries are treated as aliases during updates.58- **Package-manager aware** — uses the project's configured package manager (npm/pnpm/yarn/bun) instead of hardcoding `pnpm`.59- **Drift warnings** — if an existing server's config differs from the ecc recommendation, the script logs a warning.60- **`--update-mcp`** — explicitly replaces all ecc-managed servers with the latest recommended config (safely removes subtables like `[mcp_servers.supabase.env]`).61- **User config is always preserved** — custom servers, args, env vars, and credentials outside ecc-managed sections are never touched.6263## External Action Boundaries6465Treat networked tools as read-only by default. Search, inspect, and draft freely within the user's requested scope, but require explicit user approval before posting, publishing, pushing, merging, opening paid jobs, dispatching remote agents, changing third-party resources, or modifying credentials.6667When approval is ambiguous, produce a local plan or draft artifact instead of taking the external action. Preserve user config and private state unless the user specifically asks for a scoped change.6869## Multi-Agent Support7071Codex now supports multi-agent workflows behind the experimental `features.multi_agent` flag.7273- Enable it in `.codex/config.toml` with `[features] multi_agent = true`74- Define project-local roles under `[agents.<name>]`75- Point each role at a TOML layer under `.codex/agents/`76- Use `/agent` inside Codex CLI to inspect and steer child agents7778Sample role configs in this repo:79- `.codex/agents/explorer.toml` — read-only evidence gathering80- `.codex/agents/reviewer.toml` — correctness/security review81- `.codex/agents/docs-researcher.toml` — API and release-note verification8283## Key Differences from OpenAI Codex8485| Feature | OpenAI Codex | Codex CLI |86|---------|------------|-----------|87| Hooks | 8+ event types | Supported via plugin hooks (v2.1+) |88| Context file | CODEX.md + AGENTS.md | AGENTS.md only |89| Skills | Skills loaded via plugin | `.agents/skills/` directory |90| Commands | `/slash` commands | Instruction-based |91| Agents | Subagent Task tool | Multi-agent via `/agent` and `[agents.<name>]` roles |92| Security | Hook-based enforcement | Instruction + sandbox |93| MCP | Full support | Supported via `config.toml` and `codex mcp add` |9495## Security With Hooks9697Codex supports hooks via plugin (v2.1+). Security enforcement combines hooks and instructions:981. Always validate inputs at system boundaries992. Never hardcode secrets — use environment variables1003. Run `npm audit` / `pip audit` before committing1014. Review `git diff` before every push1025. Use `sandbox_mode = "workspace-write"` in config103
Also in mturac/everything-openai-codex
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| mturac/everything-openai-codex.gemini/GEMINI.md · 83 | GEMINI.md | stylearchgitsecurity+1 | 52/100 | 3 days ago | |
| mturac/everything-openai-codex.github/copilot-instructions.md · 83 | Copilot instructions | teststylegitsecurity+1 | 70/100 | 3 days ago | |
| mturac/everything-openai-codexAGENTS.md · 83 | AGENTS.md | buildteststylearch+5 | 69/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago | |
| wpscanteam/wpscanAGENTS.md · 9.7k | AGENTS.md | setupbuildteststyle+6 | 100/100 | 2 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 67k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 2 days ago |
