Getting Started¶
Requirements¶
- Python
>=3.10 uvrecommended, orpip
Install¶
Standard Workflow¶
Run CodexOpt in the repository that contains your Codex instruction assets.
codexopt init
codexopt scan
codexopt benchmark
codexopt optimize agents --file AGENTS.md
codexopt optimize skills --glob ".codex/skills/**/SKILL.md"
codexopt apply --kind agents --dry-run
codexopt report --output codexopt-report.md
What Developers Usually Provide¶
At minimum:
AGENTS.md- one or more
SKILL.mdfiles
Optional evidence:
tasks.mdissues.md- JSON exports of tasks, reviews, or issue summaries
Output Location¶
By default CodexOpt writes all artifacts under:
Important files:
runs/<run_id>/scan.jsonruns/<run_id>/benchmark.jsonruns/<run_id>/optimize.jsonruns/<run_id>/apply.jsonstate.json