Skip to content

Latest commit

 

History

History
81 lines (50 loc) · 2.14 KB

File metadata and controls

81 lines (50 loc) · 2.14 KB

Examples

These examples show what codex-flow is meant to unlock for Codex users: maintainer workflows that are too broad for one linear agent turn.

All workflow examples are import-free and use plain JSON Schema, so you can copy them into any project without installing repo-local helpers.

Natural-language mode

After installing the bundled Codex skill:

codex-flow try
codex-flow install-codex
codex-flow doctor

Restart Codex, open any project, and say:

use a dynamic workflow to investigate this bug in parallel

Codex should generate a temporary .codex-flow/generated/*.workflow.ts, run it, and summarize the journaled results.

Maintainer workflow gallery

bug-investigation.workflow.ts

Parallel bug investigation over several hypotheses or repository areas, then one synthesized action plan.

codex-flow run examples/bug-investigation.workflow.ts --backend codex-sdk

pr-review.workflow.ts

Fan out PR review into correctness, regression risk, tests/docs, and API/sandbox passes, then merge the verdict.

codex-flow run examples/pr-review.workflow.ts --backend codex-sdk

issue-triage.workflow.ts

Fan out issue classification and priority calls, then merge them into one maintainer action.

codex-flow run examples/issue-triage.workflow.ts --backend codex-sdk

release-smoke.workflow.ts

Run read-only release checks over package metadata, README, CLI examples, and release docs.

codex-flow run examples/release-smoke.workflow.ts --backend codex-sdk

Small smoke examples

hello.workflow.ts

A minimal real Codex structured-output call.

codex-flow run examples/hello.workflow.ts --backend codex-sdk

pong.workflow.ts

A tiny fake-backend workflow for local smoke testing without network or Codex login.

codex-flow run examples/pong.workflow.ts --backend fake

triage.workflow.ts

A larger workflow shape for maintainer-style investigation: split a problem, run parallel branches, collect structured findings, and resume from the journal if interrupted.

codex-flow run examples/triage.workflow.ts --backend codex-sdk