DEDUPED Hot AI repos, turned into use cases Get 5 a day

How to generate a workflow with Claude Code or Pi instead of Codex with Deer Workflow

Switch the Agent runtime used to generate a workflow without changing the rest of the process.

Credentials. Generation uses the Agent CLI account you sign in with, and the README does not describe how those credentials are stored or shared.

Who it is forA developer on a team that already uses Claude Code or Pi and does not want to add Codex just to generate workflows.

The problemA tool tied to one Agent vendor forces extra setup for teams that use a different coding agent.

The outcomeA workflow.ts file generated by the Agent runtime the team already has installed.

What you need first

  • Bun installed (https://bun.sh)
  • Codex CLI installed and signed in, since Codex is the default Agent runtime
  • A terminal on macOS, Linux, or Windows with Bun support
  • Git, if you plan to clone the repository for examples or development

Steps

  1. Install the released CLI with bun install --global @deerwork-ai/deer-workflow.
  2. Make sure the Agent CLI you want to use is installed and signed in.
  3. Generate the module with deer-workflow create "<your workflow description>" --agent claude > workflow.ts, or use --agent pi for Pi. (inferred, check the README)
  4. Run the file with deer-workflow run ./workflow.ts --input '<your JSON input>'. (inferred, check the README)
  5. Compare the generated phases with your goal and edit workflow.ts if needed.

Prompt for your agent

Using the deer-workflow repository (deerwork-ai/deer-workflow), generate a Workflow for <target job description> with the --agent claude option and save it to workflow.ts. Expected output: a runnable TypeScript module. Verify that the file runs with a sample input and that the phases match the job.

Caveat. The README names Claude Code and Pi as built-in Harnesses, but it does not say how well each one performs on the same workflow description, so test the output before you rely on it.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page