setup-codexlisted
Install: claude install-skill Firzus/agent-skills
# Set up the Codex Operating Policy
Create the policy at `<codex-home>/instructions/codex-operating-policy.md` and set
`model_instructions_file` in the user-level `config.toml` to that path. Update the
policy file when it already exists. Codex reads it as its model instructions. Offer
`model_verbosity = "low"` as an additional config change, subject to the user's
separate explicit approval.
## 1. Inspect the target and ask about language
Resolve `CODEX_HOME`, falling back to the user's `.codex` directory. Inspect the
policy destination and `config.toml`, especially an existing
`model_instructions_file`, `model_verbosity`, and `developer_instructions`. Read
referenced policy files as needed to identify actual instruction conflicts. Limit
inspection to relevant instruction sources.
Ask which language the user wants for conversation and reports, repository
writing, and code/comments/Git text. One answer may cover all three. Reuse explicit
answers supplied for this setup request.
Note the current verbosity setting before preparing the optional `low` proposal.
**Done:** exact targets, existing instruction sources, language choices, current
verbosity, and known conflicts are identified. Linked paths require
separate resolution before writes.
## 2. Preview the policy and configuration
Use the bundled PowerShell 7 installer with the user's language choices:
```powershell
pwsh -NoProfile -File "<skill-directory>/scripts/setup-codex.ps1" `
-CodexHome "<resolved-codex-home>" `