Codex CLI bindings for the 7-phase software development workflow - agents, skills, hooks, config
- JavaScript 41.5%
- HTML 28.1%
- PowerShell 13.6%
- Shell 11.8%
- TypeScript 5%
- planner: create issues per task after approval, store IDs in task_plan.md - shipper: create PR via API, close all task issues on merge - references opencode-workflow-core/reference/forgejo-api.md |
||
|---|---|---|
| .codex | ||
| .gitignore | ||
| AGENTS.md | ||
| bootstrap.ps1 | ||
| bootstrap.sh | ||
| device-config.json.example | ||
| README.md | ||
Codex Workflow Bindings
Codex CLI bindings for the opencode-workflow-core 7-phase software development workflow.
Contains Codex CLI-specific agent definitions (.codex/agents/*.toml), skills, hooks config, and bootstrap scripts. Core phase docs live in opencode-workflow-core — this repo only has the Codex-specific binding layer.
Contents
| Path | Purpose |
|---|---|
.codex/agents/*.toml |
11 agent definitions (conductor, orchestrator, architect, planner, etc.) |
.codex/skills/ |
10 skills (tdd-runner, interviewer, shipper, debugger, etc.) |
.codex/templates/ |
PR body, task plan, SPEC templates |
.codex/hooks.json |
Codex lifecycle hooks configuration |
.codex/config.toml |
Codex project configuration with profiles |
AGENTS.md |
Hierarchical workflow instructions for Codex |
bootstrap.ps1 |
Windows setup script |
bootstrap.sh |
macOS/Linux setup script |
Install
Windows (PowerShell 5.1+)
iex ((New-Object Net.WebClient).DownloadString('https://{forgejo.url}/{forgejo.user}/codex-workflow-bindings/raw/branch/main/bootstrap.ps1'))
macOS/Linux
curl -fsSL https://{forgejo.url}/{forgejo.user}/codex-workflow-bindings/raw/branch/main/bootstrap.sh | bash
What the bootstrap does
- Clones
opencode-workflow-core+codex-workflow-bindings - Replaces
{forgejo.url},{forgejo.user},{model.conductor},{model.worker}placeholders using device config - Copies skills →
~/.codex/skills/ - Copies templates →
~/.codex/templates/ - Installs hooks →
~/.codex/hooks.json - Links workflow docs →
~/.codex/workflow-docs/
Usage
Start a Codex session in any project. Codex auto-loads AGENTS.md from the root (see AGENTS.md loading order). The workflow instructions guide each phase.
Quick reference
| Intent | Action |
|---|---|
| New feature | Let the conductor guide Phase 1→7 |
| Debug bug | /debugger |
| Add tests | Spawn @tdd-runner or /tdd-runner |
| Map codebase | Spawn @codebase-explorer |
| Review code | Spawn @spec-reviewer + @quality-reviewer |
| Ship feature | /shipper |
Placeholder Parameterization
On first bootstrap, device-config.json is created at ~/.codex/device-config.json:
{
"forgejoUrl": "git.firmanserver.com",
"forgejoUser": "firman-admin",
"modelConductor": "o4-mini",
"modelWorker": "o4-mini"
}
Subsequent boots reuse this config. To re-parameterize: delete the file and re-run bootstrap.