orca-per-workspace-env
GitHub用于配置、审查和调试 Orca 的 per-workspace 环境配方,包括搭建沙箱、修复配置文件及解决工具故障。
Trigger Scenarios
Install
npx skills add stablyai/orca --skill orca-per-workspace-env -g -y
SKILL.md
Frontmatter
{
"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 this for managed WSL sessions. - 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.
Load the version-matched guide before running Orca commands
ORCA skills get orca-per-workspace-env
Prefer --json. Use the selected executable's --help for commands or flags the guide does
not cover. If a command reports that Orca is not running, start it with ORCA open --json
and retry. If skills get is unknown, explain that updating Orca restores the guide; use
--help for read-only discovery and do not guess unsupported commands.
Version History
-
6108ce6
Current 2026-09-09 02:31
重写并精简指南,优化 CLI 解析逻辑与安全防护,修复多项文档缺陷。
- eab721e 2026-07-24 11:46


