Back to skills

Agent Skill

Orca Cli

orca-cli

Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, worktree comments, and Orca's embedded browser through the orca CLI. Use when the user says "$orca-cli", "Orca worktree", "child worktree", "spawn codex/claude in a worktree", "read/wait/send Orca terminal", "handoff" / "handover" / "give this to another agent", "ask/tell/message another agent" (including an agent on a paired Orca server), or "Orca browser". Also use for opening, testing, screenshotting, or checking how a local or external web page renders while working in Orca, unless the user or project names another browser tool; plain HTTP or API calls (curl, fetch) do not need it. Prefer it over raw git worktree, ad hoc PTYs, or Computer Use when Orca state is involved. Use Computer Use only when a visible window needs GUI control that a CLI, filesystem, or API cannot do.

StablyaiToolsTypeScriptAgent-ideAi-agentsAutomationBotClaude-codeCodexGhosttyGrok-botHermes-agentMobile-appMuseOpenclawOpencodeOrchestrationPiRuntimeSwarmTerminalWorktreesYc-backed

369K installs

•

stablyai/orca

•

by Stablyai

Score

9.2

/ 10

Installs

369K

Repo Stars

156.9K

Last Updated

0d ago

Fresh

Quality Ratio

99%

Description

Verified

Language

TypeScript

First Published

Apr 2026

Summary

The Orca Cli agent skill enables programmatic control over Orca-managed worktrees, terminals, repositories, automations, and its embedded browser, treating the Orca IDE as the source of truth for development state. This is essential for developers and agents operating within the Orca integrated development environment who need to manage complex, stateful coding workflows. This agent skill is adopted by a significant user base, marked as a skill with 3K installs in the registry. It enables agents to manage `orca worktree` lifecycles, interact with `orca terminal` sessions using `read` and `send` commands, and control the built-in `orca browser` with a `snapshot-interact-re-snapshot` pattern. This skill explicitly guides agents to prefer `orca` commands, often using `--json` output, for operations touching Orca-managed state, rather than generic `git` or external browser tools. Agents should note the distinction between Orca's embedded browser, controlled by this skill, and external browser windows or desktop UI, which require the Computer Use skill.

Skill Definition

This discovery stub loads the version-matched guide from the Orca executable used for this session.

Resolve the CLI for this session

Choose the executable once and reuse it for every later command:

  • If the ORCA_CLI_COMMAND environment variable is set, use its value. Orca exports it in sessions it starts when it knows their executable, such as WSL terminals and agent chats.
  • Otherwise, in a dev checkout whose session exposes ORCA_DEV_REPO_ROOT, use orca-dev.
  • Otherwise, on Linux outside an Orca-managed terminal, use orca-ide. Never run bare orca there — outside Orca's terminals it normally resolves to the GNOME Orca screen reader (/usr/bin/orca) and starts speech on the user's machine.
  • Otherwise, use orca.

Below, ORCA is a placeholder for the executable you resolved. Substitute it before running anything; do not create a shell variable or run ORCA literally. This works the same way in POSIX shells, PowerShell, and cmd.exe.

If the selected executable cannot run, report its exact error and stop. Do not fall through to another executable, which could silently target a different Orca build. Exception: on Windows, when ORCA_CLI_COMMAND or ORCA_TERMINAL_HANDLE is set (Orca supplied the executable), a sandboxed shell that reports it as not recognized or access denied before Orca itself runs cannot read Orca's install. Re-run that command, and later Orca commands, with escalated permissions before giving up.

Load the version-matched guide before running Orca commands

ORCA skills get orca-cli

Run skills get as shown, without --json: --json packs the guide into one escaped line. If your tool cuts the middle out of the guide, read only the missing line range rather than loading the whole guide again. Prefer --json for other commands. Use the selected executable's --help for commands or flags the guide does not cover. A runtime_unavailable error is usually transient while Orca is busy or restarting: wait a few seconds and retry the command. Before retrying a command that changes something, check whether it already took effect, and reuse any request ID the error names. ORCA open can bring Orca's window to the front over the user's work, so never run it to retry a failed command. Run it only when the user asks, or when Orca is really not running: ORCA status --json reports result.app.running: false and no result.app.restarting, or every command, ORCA status included, still cannot connect after about 30 seconds of retries. If a command fails with runtime_access_denied, your sandbox blocked the connection: re-run it with escalated permissions, and do not run ORCA open or restart Orca. If skills get is unknown, explain that updating Orca restores the guide; use --help for read-only discovery and do not guess unsupported commands.

How to Use

Build this company

Claude Code

npx skills add stablyai/orca orca-cli