orca-per-workspace-env
GitHub用于配置、审查和调试 Orca 工作区环境配方,涵盖首次设置、修复配置文件及解决运行故障。
Trigger Scenarios
Install
npx skills add Edwardvi/guiying --skill orca-per-workspace-env -g -y
SKILL.md
Frontmatter
{
"name": "orca-per-workspace-env",
"description": "Set up, review, debug, or validate Orca per-workspace environment recipes — on-demand, disposable runtimes (cloud sandboxes, VMs, or local) created fresh for each workspace. Covers first-time setup (provider prerequisites, the reusable base snapshot, the coding-agent auth snapshot, credentials, and state), not just the per-workspace lifecycle scripts. Use to stand up per-workspace environments, fix an `environmentRecipes` entry in `orca.yaml`, scaffold provider lifecycle scripts, or resolve an `orca vm recipe doctor` failure."
}
Per-Workspace Environments
This file is a discovery stub, not the usage guide. The full, version-matched per-workspace
environment reference is served by the orca binary itself — kept out of this file on
purpose so it can never drift from the binary that will actually run your commands.
Engage Orca whenever you set up, review, debug, or validate a per-workspace environment
recipe — the on-demand, disposable runtimes (cloud sandboxes, VMs, or local) created fresh
for each workspace. This covers first-time setup (provider prerequisites, the reusable base
snapshot, the coding-agent auth snapshot, credentials, and state), not just the
per-workspace lifecycle scripts. Use it to stand up per-workspace environments, fix an
environmentRecipes entry in orca.yaml, scaffold provider lifecycle scripts, or resolve
an orca vm recipe doctor failure. Orca is a thin wrapper: you guide, detect, and scaffold;
you never own the user's cloud account, billing, images, or credentials, and never spend
money without an explicit user OK.
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 full guide before running Orca commands
ORCA skills get orca-per-workspace-env
That prints the complete, version-matched guide for the exact binary that will handle your
next commands — provider setup, base and auth snapshots, environmentRecipes in
orca.yaml, lifecycle scripts, and orca vm recipe doctor. Read it first, then run the
specific command you need.
Don't guess subcommands or flags from memory or from a cached copy of this stub. They
change between Orca releases, and this file deliberately no longer lists them. Confirm the
app is up with ORCA status --json (start it with ORCA open --json if needed), and
prefer --json for agent-driven calls.
If an older Orca does not recognize skills get
Use this fallback only when the selected binary explicitly reports that skills get is an
unknown command. Another failure is not proof of an older binary; report it rather than
guessing or changing executables. For a confirmed pre-guide binary, use only this bounded,
read-only bootstrap to orient. Do not dead-end and do not invent commands:
ORCA status --json
ORCA vm recipe doctor <recipe-id> --repo-path <repo> --json
The doctor command above is the free static check. Never add --provision without the
user's explicit approval because it creates provider resources and may spend money.
Then tell the user that updating Orca restores the full, version-matched guide via
ORCA skills get orca-per-workspace-env. Beyond these commands, ask the user rather than
guessing a command surface this older binary may not support.
Version History
- 52aca76 Current 2026-07-30 20:25


