creating-codex-environments
Installation
SKILL.md
NEVER use .claude/ paths for Codex. Codex uses .codex/ for agents/hooks/config and .agents/ for skills.
CRITICAL PATH RULES:
- Skills →
.agents/skills/<name>/SKILL.md - Agents →
.codex/agents/<name>.toml - Hooks →
.codex/hooks.json+.codex/hooks/ - Config →
.codex/config.toml
STOP: Read existing .codex/ and .agents/ files before writing. Do not overwrite without asking.