This repo builds a Codex plugin, not a one-off demo. Treat generated artifacts, plugin metadata, and install docs as part of the product.
- Source packages live under
packages/. - Built-in workflow templates live under
workflows/. - The installed plugin bundle is generated under
plugins/codex-workflows/. - Codex skill instructions live under
skills/codex-workflows/SKILL.md. - The repo marketplace is
.agents/plugins/marketplace.json.
Do not edit plugins/codex-workflows/dist/* directly. Change source files,
then run pnpm validate:plugin.
Use these before handing work back:
pnpm typecheck
pnpm test
pnpm validate:pluginFor a fast workflow smoke:
node plugins/codex-workflows/dist/cli.js validate workflows/bug-sweep.workflow.js --cwd /tmp
node plugins/codex-workflows/dist/cli.js run workflows/bug-sweep.workflow.js --cwd /tmp --adapter simulate --no-watchFor MCP smoke testing, start the generated server from
plugins/codex-workflows and call workflow_validate.
- Keep install docs pointed at
robzilla1738/Codex-Workflows. - Keep plugin names stable: marketplace
codex-workflows, plugincodex-workflows. - Keep the plugin bundle self-contained. Users should not need to run
pnpmafter installing from GitHub. - Do not leave
/Users/...paths, local cache paths, or machine-specific binaries in the plugin bundle. - If package versions change, regenerate the plugin and commit the generated bundle.
- Workflow scripts are declarative. They define phases and worker prompts.
- Workflow scripts must not get direct filesystem, shell, network, process, or Node built-in access.
- Bug-finding workflows should default to read-only workers.
- Model overrides from the caller beat workflow defaults.
- Default durable run state belongs under Codex home so read-only runs do not
dirty target repos. Project-local
.codex-workflows/runs/<run-id>/is opt-in and legacy-readable.
Keep docs plain. Say what works, what does not, and how to verify it. Avoid marketing filler, vague claims, and "official" language unless OpenAI has actually accepted the plugin into a curated marketplace.