codex-promax
v0.2.10
Published
Scaffold and validate ExecPlan workflows for AI coding assistants
Readme
codex-promax
codex-promax scaffolds an agent-ready repo structure for ExecPlans, shared prompts, native coding-assistant config, and optional local observability.
Install
Use the latest version without installing globally:
npx -y codex-promax@latest initOr install it globally:
npm i -g codex-promax
codex-promax initInstall With Your Coding Agent
If you want your coding agent to install and initialize Codex-Promax for you, generate the install prompt and copy it straight to your clipboard.
macOS:
npx -y codex-promax@latest prompt install | pbcopyLinux (Wayland):
npx -y codex-promax@latest prompt install | wl-copyLinux (X11):
npx -y codex-promax@latest prompt install | xclip -selection clipboardWindows PowerShell:
npx -y codex-promax@latest prompt install | Set-ClipboardThen paste that prompt into your coding agent in the target repo and let it handle install, init, doctor, and the telemetry prompt handoff.
If you prefer to copy manually:
npx -y codex-promax@latest prompt installQuick Start
Run this from the root of the repository you want to set up:
npx -y codex-promax@latest initBy default this creates the codex-max scaffold, which includes:
.agent/for plans, shared context, prompts, and local harness scriptsAGENTS.mdandCLAUDE.mdmanaged guidance blocks- native config for Codex, Claude Code, and OpenCode
- optional local observability and worktree runtime helpers
After the first run, the usual next steps are:
npx -y codex-promax@latest prompt telemetryCopy that output, paste it into your coding agent in the same repo, and let the agent wire the local telemetry setup around your real dev or cluster start path. On supported systems, init also prints a ready-to-run clipboard command against the saved prompt file. When the agent finishes, you can confirm the scaffold with:
npx -y codex-promax@latest doctorCommon Commands
If you installed codex-promax globally, you can drop the npx -y codex-promax@latest prefix in the commands below.
Initialize or refresh the scaffold:
npx -y codex-promax@latest initCheck scaffold health:
npx -y codex-promax@latest doctorPrint a prompt for creating an ExecPlan:
npx -y codex-promax@latest prompt plan "Add feature X"Print a prompt that tells a coding agent to install and initialize Codex-Promax in the current repo:
npx -y codex-promax@latest prompt installPrint a prompt for executing an ExecPlan:
npx -y codex-promax@latest prompt exec .agent/execplans/my-plan.mdPrint the telemetry onboarding prompt again later:
npx -y codex-promax@latest prompt telemetryPresets And Assistant Targets
Use the full scaffold, which is the default:
npx -y codex-promax@latest init --preset codex-maxUse the lighter scaffold:
npx -y codex-promax@latest init --preset standardTarget specific assistants:
npx -y codex-promax@latest init --assistants opencode
npx -y codex-promax@latest init --assistants agents
npx -y codex-promax@latest init --assistants allNotes:
opencodescaffoldsAGENTS.mdplus shared.agents/skillsentries for OpenCode.agentsscaffoldsAGENTS.mdonly for otherAGENTS.md-compatible coding apps.commonis an alias foragents.allincludescodex,claude,augment,opencode, and genericAGENTS.mdsupport.
Useful flags:
npx -y codex-promax@latest init --dry-run
npx -y codex-promax@latest init --verbose
npx -y codex-promax@latest init --force--dry-runshows what would change without writing files.--verboseshows the file-by-file scaffold actions during a realinitrun.--forcerefreshes managed templates and scaffold files.
Optional Local Telemetry
If you want the scaffolded observability stack, the generated repo includes:
docs/LOCAL_TELEMETRY_SETUP.md.agent/prompts/integrate-local-telemetry.mddocs/OBSERVABILITY_RUNBOOK.mddocs/generated/observability-validation.md
Basic smoke check flow:
docker compose -f .agent/harness/observability/docker-compose.yml up -d
bash .agent/harness/observability/smoke.sh
docker compose -f .agent/harness/observability/docker-compose.yml down -vThe smoke check validates the local ingestion path for logs, metrics, and traces. To connect your real services, copy the saved telemetry prompt into your coding agent and let it wire the repo around the real local start path. The quickest flow is:
npx -y codex-promax@latest prompt telemetryThen copy the output, paste it into your coding agent in the repo, and wait for it to finish.
Update
If you use npx, just keep calling the latest version:
npx -y codex-promax@latest initIf you installed globally, update with:
npm i -g codex-promax@latestTo refresh an existing repository scaffold after updating the package:
npx -y codex-promax@latest initIf you want to overwrite managed scaffold files with the latest version:
npx -y codex-promax@latest init --forceHelp
See CLI help at any time:
npx -y codex-promax@latest --help
npx -y codex-promax@latest init --help
npx -y codex-promax@latest prompt --help
npx -y codex-promax@latest doctor --help