{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "stablyai-orca--script-agent-workflows-with-orca-cli",
 "repo": "stablyai/orca",
 "repo_url": "https://github.com/stablyai/orca",
 "repo_slug": "stablyai-orca",
 "title": "Script worktree and UI steps with the Orca CLI",
 "page_title": "How to script worktree and UI steps with the Orca CLI with Orca",
 "summary": "Let an agent create worktrees and drive the Orca UI through the CLI for repeatable workflows.",
 "who": "A developer or platform engineer who wants the same agent setup repeated across tasks or repos without clicking through the app each time.",
 "problem": "Setting up worktrees and interacting with the app by hand for every task is slow and easy to get wrong.",
 "outcome": "A script or agent creates worktrees, takes snapshots, and fills in UI fields through the Orca CLI, and the results are repeatable.",
 "steps": [
  "Install Orca with `brew install --cask stablyai/orca/orca` on macOS, or download a build from https://onorca.dev/download for your system.",
  "Read the CLI overview at https://www.onorca.dev/docs/cli/overview to confirm the commands available in your version.",
  "Create a worktree with `orca worktree create`.",
  "Use the `snapshot`, `click`, and `fill` commands named in the README to inspect and fill the UI in the new worktree. (inferred, check the README)",
  "Save the sequence as a script and rerun it for the next task."
 ],
 "agent_prompt": "Using the stablyai/orca CLI, create a worktree for the task <task-name> and take a snapshot of its UI. Output the snapshot summary and the worktree path. Verify that the worktree exists in git worktree list before reporting success.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The README names only a few CLI commands and links to the CLI docs for the full set, so check the docs before scripting anything beyond them.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "A desktop computer running macOS, Windows, or Linux",
  "A git repository to work in",
  "At least one CLI coding agent (such as Claude Code, Codex, or OpenCode) that you already have access to with your own subscription"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.6,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/stablyai-orca/script-agent-workflows-with-orca-cli/",
 "md": "https://dedupedai.com/use-cases/stablyai-orca/script-agent-workflows-with-orca-cli/index.md",
 "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 hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/stablyai-orca--script-agent-workflows-with-orca-cli.json",
 "api_version": "v1"
}
