AGENTS.mdis the primary repository instruction file Codex reads automatically.RULES.md,SKILLS.md, and the files under.codex/and.agents/are companion assets that clarify structure, reusable workflows, and opt-in local setup.- Keep critical repository expectations in
AGENTS.md. Do not hide mandatory guidance only in companion files.
AGENTS.md- durable repository expectations
apps/web/AGENTS.md,apps/mobile/AGENTS.md,.github/workflows/AGENTS.md- subtree-specific overrides for specialized work
.agents/skills/- repository-scoped skills discoverable by Codex
.codex/agents/- project-scoped custom agents for subagent workflows
.codex/config.example.toml- example project-scoped configuration, intended to be copied or adapted rather than assumed
codex/rules/*.rules.example- example approval-policy rules, not auto-enforced by this repository alone
- Use
AGENTS.mdfor stable repo expectations that should apply to almost every task. - Use nested
AGENTS.mdfiles when a subtree has specialized constraints such as Compose Web UX, Android app wiring, or GitHub workflow behavior. - Use repo skills for repeated, focused workflows such as web polish, KMP feature passes, and release hygiene.
- Use custom agents when a task benefits from clearly scoped delegation such as exploration or release verification.
- Use MCP when external context or tools materially improve correctness, especially for current docs, product metadata, or remote systems.
- Check the matching mobile surface before pushing web design changes.
- Prefer shared derivation logic for date ranges, summaries, cadence, and other product-wide calculations.
- Keep release workflows and GitHub project state synchronized with implemented work.