codex-habits
Installation
SKILL.md
codex-habits
Codex instance of session-hygiene — read that skill first for the portable doctrine. This skill is only Codex mechanics.
Sources: developers.openai.com/codex/cli/slash-commands, developers.openai.com/codex/ide/slash-commands, developers.openai.com/codex/app/commands.
When
- Starting a Codex CLI, IDE, or app thread.
- After a bad run —
/compact,/new, or/resume. - Before changing what the agent may run —
/permissions.
Session checks
/status— thread ID, context usage, rate limits, model, approval mode.