Orca Per Workspace Env orca-per-workspace-env
Set up, review, debug, or validate an Orca per-workspace environment recipe: the on-demand, disposable runtime (cloud sandbox, VM, SSH host, or local container) Orca creates fresh for each workspace. Use to stand up a new recipe end to end, fix an `environmentRecipes` entry in `orca.yaml`, scaffold provider lifecycle scripts, or resolve an `orca vm recipe doctor` failure. Use `orca-cli` for ordinary worktree and workspace creation with no recipe involved.
- Our test
- 6/10
- tested Dec 6, 2026
- GitHub stars
- 160k
- stablyai/orca
- Added by
- 0
- members
- Updated
- Dec 6
- commit 1c9b2e2
- Content
- 1 file
- no scripts · 3 KB
- License
- MIT
- free to use
What our test found
The stub gives useful safeguards for selecting the right CLI and loading authoritative, version-matched instructions, but it delegates the actual recipe troubleshooting to another guide.
Limits spotted
- Does not include the substantive recipe setup or troubleshooting steps itself.
- The response cannot diagnose a specific failure without the separate guide and the user's error output.
name: orca-per-workspace-env description: >- Set up, review, debug, or validate an Orca per-workspace environment recipe: the on-demand, disposable runtime (cloud sandbox, VM, SSH host, or local container) Orca creates fresh for each workspace. Use to stand up a new recipe end to end, fix an `environmentRecipes` entry in `orca.yaml`, scaffold provider lifecycle scripts, or resolve an `orca vm recipe doctor` failure. Use `orca-cli` for ordinary worktree and workspace creation with no recipe involved.
Per-Workspace Environments
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_COMMANDenvironment 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, useorca-dev. - Otherwise, on Linux outside an Orca-managed terminal, use
orca-ide. Never run bareorcathere — 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-per-workspace-envRun 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.