What it is
A lightweight orchestration layer around Codex CLI that keeps team usage consistent per project scope.
simple-codex standardizes Codex CLI usage in this repository for predictable and reproducible AI-assisted development workflows.
It bundles shared configuration, role-based prompts, reusable agent skills, and environment validation into one practical flow.
A lightweight orchestration layer around Codex CLI that keeps team usage consistent per project scope.
It separates planning, implementation, and review responsibilities so outputs are easier to validate and reuse.
One command, fixed role order, and explicit handoff data reduce drift in collaborative coding sessions.
Copy and run one command below. The package name is simple-codex.
pnpm add -D simple-codex
npm install --save-dev simple-codex
yarn add -D simple-codex
bun add -d simple-codex
Use setup and doctor first, then run workflow with mode options. You can also add or list custom prompts with the prompt commands.
Creates the shared project directories, prompt templates, skill templates, and AGENTS.md for the selected scope.
scodex setup --scope project
Verifies that required folders, prompt files, skills, config, and AGENTS.md are present and ready to use.
scodex doctor --scope project
Use mode new/resume/replay to control execution. If run-id is omitted in resume/replay, it defaults to LATEST.
scodex workflow --scope project --mode new --task "<task>"
Resume continues a stopped run, replay creates a new run from a previous run's task.
scodex workflow --scope project --mode resume --run-id <run-id>
scodex workflow --scope project --mode replay
Run states are saved under .myx/workflow-runs with a per-run state.json and a LATEST pointer.
.myx/workflow-runs/
LATEST
<run-id>/state.json
Creates a new prompt markdown file in the project prompt directory so you can define an additional reusable role.
scodex prompt add demo --scope project
Shows the prompt files currently installed for the selected scope so you can inspect available roles.
scodex prompt list --scope project
Analyzes requirements and proposes an implementation-ready plan without editing files.
Implements changes from the architect output, validates results, and reports concise diffs.
Checks coverage and quality using both architect and executor outputs with severity-ranked issues.
Update README and index.html to document workflow mode and run-id.