Codex Dynamic Workflows (Claude Code skill)
Claude authors dynamic-workflow scripts; a fleet of local Codex/GPT agents runs them and streams back a live execution map.
- Source repo
- scasella/claude-dynamic-workflows-codex
- Stars
- ★ 331
- Last updated
- 4mo ago v0.2.0
- FARS reviewed
- Nov 08, 2026
- License
- MIT
- Primary language
- JavaScript
- FA score
- 70/100 · Some gaps
At a glance
- Works with
- Platform-specificCodex · Claude Code
- You'll need
- Typical use
- A developer auditing every route under src/ for missing authorization, who wants parallel scanning plus an independent skeptic that refutes each finding unless it can point to file:line evidence.
- Main limitation
- Execution depends on the local codex CLI app-server; it is built and verified against codex 0.144.0, and other versions may require regenerating bindings.
- Maintenance
- Commits in the last 6 monthslast commit 2026-07-11latest release v0.2.0 (2026-06-10)
- Source review
- 70/100 · Some gaps
What does this agent do, and when should you use it?
This is a Claude Code skill plus a standalone runner that re-hosts the Claude Code dynamic-workflow DSL (agent / parallel / pipeline / phase / budget) on a local Codex (GPT) backend. Claude compiles one or two rough sentences of intent into a workflow script, and the codex app-server executes the agents. It ships the runner (zero npm dependencies), a single-file HTML execution map, a terminal ASCII map, the summarize-run cost report, and a documented fleet supervision protocol. Beyond the native DSL it adds long-lived, steerable workers: agent.start, session.steer, agent.waitAny for races, session.cancel for losers, and --resume that re-attaches persisted threads warm. It is usable as the /codex-workflows skill in Claude Code, or entirely without Claude Code from the CLI.
After a manual /codex-workflows invocation, Claude preflights the Codex app-server, compiles the request into a concrete workflow script (agent / parallel / pipeline / phase / budget), writes it into your project, and runs it on Codex via thread/start plus turn/start, pinning every agent to the current frontier model (e.g. gpt-5.6-sol) and scaling thinking effort to layer width with --effort or --auto-effort. Progress is journaled to <project>/.workflow-journal/<name>.jsonl; view-run.js turns that journal into a self-contained HTML execution map (--watch patches the DOM live without reloading) and map-run.js renders the same run as a terminal ASCII map. summarize-run.js reads the journal plus sidecars to produce a token, timing, and reliability report broken down by phase, worker, and costliest agent. When a workflow reaches a human() gate, the run pauses and, under --gui, an answer card appears in the live page; unattended runs fall back to the gate's default on timeout. With --multi, Claude launches several concurrent variant workflows and supervises them itself using fleet status and fleet answer, killing dead ends and forking winners by copying the journal and resuming at zero tokens for already-completed turns.
- A developer auditing every route under src/ for missing authorization, who wants parallel scanning plus an independent skeptic that refutes each finding unless it can point to file:line evidence.
- An engineer who loads packages/core or a whole data room into one worker once, then asks a stream of follow-up questions without paying a cold agent to re-read the corpus each time.
- An on-call responder facing a 12x p99 latency spike who wants three hypotheses (N+1 query, pool exhaustion, cache stampede) raced in parallel, keeping only the first to land and steering it on its warm thread.
- A team migrating every call of legacyFetch() that still wants the plan shown and a human click before anything under payments/ is touched.
- Anyone who wants to GoalLint a vague /goal before an expensive run, or ClaimCheck a README/PR draft's claims against actual repo artifacts afterwards.
- A researcher attacking one stubborn problem from several angles at once while Claude supervises the fleet, answers gates, and keeps the total under a token ceiling.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx github:scasella/claude-dynamic-workflows-codex doctor # → state: ready
- Config files
~/.claude/skills/codex-workflows- Runtime
- Node.js 18+
How do you install or deploy this agent?
Install as a Claude Code plugin (recommended), or as a classic skills-dir clone:
/plugin marketplace add scasella/claude-dynamic-workflows-codex
/plugin install codex-workflows@codex-workflowsgit clone https://github.com/scasella/claude-dynamic-workflows-codex ~/.claude/skills/codex-workflowsPrerequisites: Node >= 18 (zero npm dependencies) and a logged-in codex CLI on your PATH:
codex loginVerify Codex is reachable at any time:
npx github:scasella/claude-dynamic-workflows-codex doctor # → state: readyHow do you use this agent?
In Claude Code, invoke the skill manually (it never auto-triggers) and describe the task in one or two rough sentences:
/codex-workflows Audit every route under src/ for missing auth checks
/codex-workflows Research the current state of on-device LLM inference and verify each claim, then watch it live
/codex-workflows --multi Find the cause of the checkout p99 regression — attack it from a few different angles at onceOr run a workflow directly without Claude Code:
node runner/bin/run-workflow.js examples/review.workflow.js --frontier --auto-effort \
--sandbox read-only --args '{"files":["runner/src/codexAgent.js"],"focus":"error handling"}'
node runner/bin/run-workflow.js examples/incident-demo/checkout-incident.workflow.js \
--frontier --auto-effort --sandbox read-only --guiInspect the bundled demo run offline, with no Codex and no tokens:
git clone https://github.com/scasella/claude-dynamic-workflows-codex
cd claude-dynamic-workflows-codex
node runner/bin/view-run.js examples/incident-demo --openView any past run, render a terminal map, or distill a cost report:
node runner/bin/view-run.js <project-dir> --open # add --watch for live
node runner/bin/map-run.js <project-dir> --watch
node runner/bin/summarize-run.js <project-dir> --markdown --out reports/summary.mdKey flags: --frontier, --auto-effort, --plan (dry run, no tokens), --budget N with --budget-meter total|output, --sandbox read-only|workspace-write, --tui / --gui / --monitor, --resume, --summary.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Adds sessionful workers the native one-shot DSL lacks: agent.start plus session.steer reuse one warm thread, and the repo's own benchmark measures ~69k tokens / ~6s per follow-up versus ~219k tokens / ~97s for a cold re-read.
- agent.waitAny wakes on the first worker to finish and session.cancel stops the losers, so you do not pay a parallel() barrier for the slowest strategy; losers are recorded as cancelled, not failed.
- Zero npm dependencies on Node >= 18, and the execution map is a self-contained offline HTML file you can share or open via file://, with Dark/Light themes, a Tree layout, and keyboard navigation.
- Every run is journaled to .workflow-journal as jsonl, and summarize-run reports tokens, time, cache hits, and risk flags by phase, worker, and costliest agent, while --resume replays completed turns for free.
- Fleet supervision is a documented file contract (references/fleet-protocol.md) with a supervise shim, so any long-running command can be wrapped in the same gates and status dashboard.
- Execution depends on the local codex CLI app-server; it is built and verified against codex 0.144.0, and other versions may require regenerating bindings.
- It is explicitly not the native Claude Code experience: no in-session background tasks, no /workflows progress UI, and no save-as-/command.
- Agents default to approvalPolicy "never" inside a workspace-write sandbox, meaning they read, write, and run shell commands without prompting unless you ask for read-only.
- Session resume depends on the persisted rollout; if it is gone or the codex version predates thread/resume, that worker re-runs live, and turn replay is positional, so editing session call order invalidates the replayed prefix.
- Budget accounting is per-process (--budget-meter selects total or the native output-token pool) and does not match native semantics 1:1, and the map models barrier/phase structure as an approximation for pipeline-shaped runs.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Codex Dynamic Workflows (Claude Code skill) This agent | 70 · Some gaps | — | ★ 331 | 4mo ago | JavaScript | Codex · Claude Code |
| Ordewell | 87 · Good | CLIFree + model costs | ★ 215 | today | TypeScript | Codex · Claude Code · OpenAI API · Claude API |
| Postbag | 78 · Good | — | ★ 10 | 1mo ago | Python | Codex · Claude Code |
| Agetor | 76 · Good | — | ★ 139 | 1d ago | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The skill is manual-invoke only, defaults toward read-only, sets budget guidance, and supports pausing at risky steps with human() gates; the README describes plan mode, budget recovery, and approval choices. The test excerpt shows App Server startup with approvalPolicy=never and the selected sandbox, plus defensive rejection of an unregistered tool request. Deductions: workspace-write is an optional default run setting, the execution source is not included, and sensitive-data handling, permission boundaries, external effects, and recovery cannot be fully checked. Data-flow details are also incomplete. Plugin metadata and repository fields identify an author, but publisher verification, maintenance responsibility, and update commitments are not established.
The README, package metadata, CI, and test excerpts broadly agree on Node ≥18, zero dependencies, and offline test coverage; CI lists session, protocol, viewer, fleet, and plan-mode suites. Deduction: the main runtime source is absent, and the supplied tests do not establish correctness in a real run; failure messaging and recovery are only partially evidenced.
The skill and README cover audits, migrations, research, brainstorming, incident diagnosis, and fleets, with options for read-only or writable runs, budgets, planning, and human approval. Manual invocation and prompt-only, write-only, and run-existing modes set clear boundaries. Deductions: compilation and execution behavior are described mainly in instructions, so adaptation across environments cannot be verified; the product requires Claude Code, Node, and a local Codex App Server, which limits its environment fit.
The README gives substantial installation, prerequisite, usage, example, cost-control, and limitation guidance; package metadata and LICENSE specify MIT, and names are consistent across the supplied files. Deductions: the README excerpt is truncated, so full information architecture cannot be assessed; package version 0.2.0 is present but no changelog is supplied; an author is named, but no clear maintenance responsibility or support commitment appears.
The product combines workflow orchestration, sessionful agents, approval gates, run viewing, and cross-run summaries; maps, journals, and structured outputs support inspection, while plan and budget controls help manage work. Deductions: cost and performance benefits are largely repository claims, and the referenced examples or benchmarks are not fully present here; practical fit and cost-benefit are not independently established by this static packet.
Claims can be traced across the README, skill, package metadata, CI configuration, and specific test excerpts; CI and tests provide some corroboration for offline protocol handling, tool rejection, schema output, and plan mode. Deductions: runtime implementation is absent, several feature and performance claims lack complete implementation or validation evidence in the packet, and example output is not evidence of execution during this review.
- This assessment uses only the supplied static material; runtime source is not included, and no product run or test execution was performed.
- Before allowing writes or external jobs, inspect the generated workflow, sandbox settings, budget, human() approval gates, and where logs and journals are stored.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v0.2.0 v0.2.0 — sessionful workers, supervised fleets, and the fleet protocol
Release notes excerpt
The first tagged release. Since the original re-host (the one-shot agent()/parallel()/pipeline() DSL on a local Codex app-server, with the run viewer), this release adds the whole live-orchestration ladder: Sessionful workers - agent.start / agent.waitAny / session.steer — long-lived Codex workers you steer on warm context instead of re-prompting cold. Measured on this repo: ~3× cheaper, ~16× faster per follow-up after a one-time ingest ([benchmark](https://github.com/scasella/claude-dynamic-workflows-codex/tree/main/examples/benchmarks)). …View on GitHub ↗
FAQ
Is Codex Dynamic Workflows (Claude Code skill) open source?
Is Codex Dynamic Workflows (Claude Code skill) safe to use?
Is Codex Dynamic Workflows (Claude Code skill) still maintained?
Who makes Codex Dynamic Workflows (Claude Code skill)?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.