Loading...
Loading...
Use the public `orca` CLI to operate Orca-managed worktrees, folder contexts, terminals, repos, automations, worktree comments, and the browser embedded inside the Orca app. Use when the user says "$orca-cli", "use orca cli", "Orca worktree", "child worktree", "cardStatus", "spawn codex/claude in a worktree", "read/wait/send Orca terminal", "terminal send", "Orca browser", or "control the browser inside Orca". Prefer this over raw `git worktree`, ad hoc PTYs, Playwright, or Computer Use when the task touches Orca-managed state. Use Computer Use for browser windows, webviews, or desktop UI outside Orca's embedded browser.
npx skill4agent add s546126/orca orca-cliorcaorca-ideorcapnpm devpnpm build:cliorca-devorca-dev emulator ..../config/scripts/orca-dev.mjs emulator ...orcaorca-devcommand -v orca || command -v orca-ide
orca status --json
orca worktree ps --json
orca terminal list --jsonorca open --json
orca status --json--jsonorca repo list --json
orca repo show --repo id:<repoId> --json
orca repo add --path /abs/repo --json
orca repo set-base-ref --repo id:<repoId> --ref origin/main --json
orca repo search-refs --repo id:<repoId> --query main --limit 10 --json
orca worktree list --repo id:<repoId> --json
orca worktree ps --json
orca worktree current --json
orca worktree show --worktree <selector> --json
orca worktree create --repo id:<repoId> --name related-task --json
orca worktree create --repo id:<repoId> --name related-task --parent-worktree active --json
orca worktree create --repo id:<repoId> --name folder-child --parent-worktree folder:<folderId> --json
orca worktree create --name child-task --agent codex --prompt "hi" --json
orca worktree create --name independent-task --no-parent --json
orca worktree set --worktree id:<worktreeId> --display-name "My Task" --json
orca worktree set --worktree active --comment "reproduced bug; testing fix" --json
orca worktree set --worktree active --workspace-status in-review --json
orca worktree rm --worktree id:<worktreeId> --force --jsonid:<worktreeId>name:<displayName>path:<absolutePath>branch:<branchName>issue:<number>activecurrentworktree create --parent-worktreefolder:<folderId>worktree:<worktreeId>id:folder:<folderId>id:worktree:<worktreeId>--parent-worktree active--parent-worktree folder:<folderId>--parent-worktree worktree:<worktreeId>--no-parent--no-parent--base-branch--repoorca worktree create --name task --agent codex --prompt "hi" --json
orca worktree create --name task --agent claude --setup run --json
orca worktree create --name task --setup skip --json
orca worktree create --name task --run-hooks --json--agent <id>--prompt <text>--setup run|skip|inheritinherit--run-hooks--setup run--agent--activate--run-hooks--agent--prompt--setuporca terminal create --worktree <selector> --command "codex"orca terminal sendworktree createorca terminal create --worktree active --command "codex" --jsonorca worktree set --worktree active --comment "fix implemented; running integration tests" --json--workspace-status <id>todoin-progressin-reviewcompletedorca terminal list --worktree id:<worktreeId> --json
orca terminal show --terminal <handle> --json
orca terminal read --terminal <handle> --json
orca terminal read --terminal <handle> --cursor <cursor> --limit 1000 --json
orca terminal read --json
orca terminal send --terminal <handle> --text "continue" --enter --json
orca terminal send --text "echo hello" --enter --json
orca terminal wait --terminal <handle> --for exit --timeout-ms 5000 --json
orca terminal wait --terminal <handle> --for tui-idle --timeout-ms 300000 --json
orca terminal stop --worktree id:<worktreeId> --json
orca terminal create --json
orca terminal create --title "Worker" --json
orca terminal create --worktree active --command "codex" --json
orca terminal split --terminal <handle> --direction vertical --json
orca terminal split --terminal <handle> --direction horizontal --command "npm test" --json
orca terminal rename --terminal <handle> --title "New Name" --json
orca terminal switch --terminal <handle> --json
orca terminal close --terminal <handle> --json--terminalterminal readterminal sendterminal sendorchestrationorca orchestration ...terminal create --worktree active --command "<agent>"worktree create --agent <agent>terminal wait --for tui-idle--timeout-msterminal_handle_staleterminal listoldestCursornextCursorlimitednextCursor !== latestCursor--direction horizontal--direction verticalorca automations list --json
orca automations show <automationId> --json
orca automations create --name "Daily review" --trigger daily --time 09:00 --prompt "Review open changes" --provider codex --repo id:<repoId> --json
orca automations create --name "Weekday triage" --trigger "0 9 * * 1-5" --prompt "Triage issues" --provider claude --repo path:/abs/repo --disabled --json
orca automations create --name "Inbox digest" --trigger hourly --prompt "Summarize unread mail" --provider codex --workspace active --reuse-session --json
orca automations edit <automationId> --trigger weekdays --time 09:30 --fresh-session --json
orca automations run <automationId> --json
orca automations runs --id <automationId> --json
orca automations remove <automationId> --jsonhourlydailyweekdaysweekly--time <HH:MM>dailyweekdaysweekly--day <0-6>weekly0--repo <selector>--workspace <selector>--workspace-mode existing--repo--workspace--reuse-session--disabledorca computer ...orca goto --url https://example.com --json
orca snapshot --json
orca click --element @e3 --json
orca snapshot --jsonorca goto --url <url> --json
orca back --json
orca reload --json
orca snapshot --json
orca screenshot --json
orca full-screenshot --json
orca pdf --json
orca click --element <ref> --json
orca fill --element <ref> --value <text> --json
orca type --input <text> --json
orca select --element <ref> --value <value> --json
orca check --element <ref> --json
orca scroll --direction down --amount 1000 --json
orca hover --element <ref> --json
orca focus --element <ref> --json
orca keypress --key Enter --json
orca upload --element <ref> --files <paths> --json
orca wait --text <text> --json
orca wait --url <substring> --json
orca wait --selector <css> --json
orca wait --load networkidle --json
orca eval --expression <js> --json
orca tab list --json
orca tab create --url <url> --json
orca tab switch --index <n> --json
orca tab close --index <n> --json
orca cookie get --json
orca capture start --json
orca console --limit 50 --json
orca network --limit 50 --json
orca exec --command "help" --jsonorca evalorca execbrowser_stale_ref@e1snapshot--worktree allorca tab list --jsontabs[].browserPageId--page <browserPageId>orca tab list/create/close/switchorca exec --command "tab ..."wait --text--url--selector--loadorca exec --command "<agent-browser command>"filltypeorca focus --element @e1 --jsonorca inserttext --text "text" --jsonbrowser_no_taborca tab create --url <url> --jsonbrowser_stale_reforca snapshot --jsonbrowser_tab_not_foundorca tab list --jsonorca status --jsonworktree ps/current/createterminal list/read/wait/sendautomations listsnapshotorca emulator ...npx serve-simorca-emulatororca emulator list --json
orca emulator attach "iPhone 17 Pro" --json
orca emulator tap 0.5 0.7 --json
orca emulator type "hello" --json
orca emulator gesture '[{"type":"begin","x":0.5,"y":0.8},{"type":"move","x":0.5,"y":0.4},{"type":"end","x":0.5,"y":0.2}]' --json
orca emulator button home --json
orca emulator exec --command "tap 0.5 0.7" --json # no "serve-sim" in the command string
orca emulator kill --json