Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By pchalasaniv0.2.3MITIn 1 marketplace
Write JavaScript workflows that fan out and pipeline headless Codex workers, with durable state, resume and cancel. Needs Node.js 20+ and an authenticated Codex CLI; workers default to read-only sandboxing.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
dynamic-workflow is a Codex plugin for deterministic, durable JavaScript
orchestration over headless Codex workers.
The model writes a small script. The local runtime owns loops, branches,
bounded concurrency, state, cache replay, pause, resume, and cancellation.
Workers run through codex exec --json; MCP and the OpenAI API are not required.
agent(), pipeline(), and argsNode.js 20 or newer and an authenticated Codex CLI are required.
Install via the Codex plugin marketplace (not npx skills add: the skill
runs this plugin's bundled bin/workflow.mjs, which the skills CLI does
not copy):
codex plugin marketplace add pchalasani/claude-code-tools
codex plugin add dynamic-workflow@cctools-codex-plugins
Restart Codex after installation, then invoke $dynamic-workflow or ask Codex
to create a durable multi-agent workflow.
After a plugin update, start codex-dynamic normally. It automatically uses a
fresh server generation containing the new plugin while existing sessions and
callbacks remain connected to their original generation. A forced restart is
needed only for explicit cleanup and disconnects every retained session.
For local development from the repository root:
codex plugin marketplace add "$PWD"
codex plugin add dynamic-workflow@cctools-codex-plugins
The skill resolves the installed runner automatically. From this directory:
node bin/workflow.mjs validate path/to/workflow.js
node bin/workflow.mjs run path/to/workflow.js --detach --json \
--max-agents 50 --max-runtime-ms 7200000 --agent-timeout-ms 900000
node bin/workflow.mjs status <run-id> --json
node bin/workflow.mjs wait <run-id>
Ordinary detached runs can be observed with wait, but a passive wait process
cannot wake an idle model turn. For a true callback, run the TUI through Codex's
shared app server. The optional Python CLI helper provides the simplest setup:
uv tool install claude-code-tools
codex-dynamic
If the package is already installed, refresh it with
uv tool install --force claude-code-tools. To continue the most recent
conversation, run codex-dynamic resume --last instead.
The plugin itself does not depend on that Python package. The equivalent manual setup is:
# Terminal 1
codex app-server --listen unix://
# Terminal 2
codex --remote unix://
Callbacks require Codex CLI 0.136.0 or newer. Version 0.136.0 is the first compatible CLI release combining the WebSocket HTTP Upgrade protocol with the echoed client message IDs used to confirm callback delivery. Codex still marks the app-server and remote TUI interfaces as experimental, so their CLI and protocol surfaces may evolve. Callback preflight validates the connected App Server too, so a stale external server fails before the workflow is created.
To move an existing conversation onto the server manually, exit its current TUI
and run codex resume --remote unix://, then select that session. An
already-running local TUI cannot reconnect in place.
From that TUI, ask $dynamic-workflow to run the workflow in the background and
notify the current thread. Every run or resume needs host execution for that
exact reviewed supervisor command. This lets the supervisor write durable state
and launch headless workers without inheriting the outer tool sandbox. For a
callback, the same authorization lets its notifier reach the host Unix socket.
Workflow JavaScript still runs in the restricted VM, and every Codex worker
keeps its declared sandbox. The runner uses this opt-in launch form:
node bin/workflow.mjs run workflow.js --detach --notify-current-thread
codex-dynamic also exports CCTOOLS_CODEX_CALLBACK_ENDPOINT to its TUI tool
shells, including through Codex's shell-environment policy when inherited
variables are restricted. In that environment, every detached run enables the
same callback by default, even when an agent omits
--notify-current-thread. Use
--no-notify-current-thread for an intentional opt-out. The launch response is
still the source of truth: only notification.status: "armed" permits the main
turn to stop monitoring.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub pchalasani/claude-code-tools --plugin dynamic-workflowPlugins from other owners that cover similar ground