360 Secure SkillHub
360 安全技能中心

orca

Orca 会话管理技能:先在 Orca IDE 中按标题/预览/工作树定位运行中的终端并投递提示,多候选时先反问消歧、禁止指向自身窗格;也可在新建或已有工作树中启动 agent 会话,并把 Orca skill 包安装到其他框架。使用前需按环境变量解析 Orca CLI 并确认应用可达,命令参数以 Orca 自带指南为准。

drumrobot
drumrobot
热度 63.38
最近更新 2026-10-13 22:41:33
分类:自动化依赖:代码执行 / 读写文件应用场景:工作流 / 自动化脚本 / 任务管理 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add orca
Metadata
name
orca
description
Launch and coordinate agent sessions inside the Orca IDE runtime (stablyai/orca). Topics: send - find a running Orca terminal by title/preview/worktree and deliver a prompt to it, always disambiguating with a question when more than one candidate matches and never targeting the caller's own pane [send.md]. launch - start a new agent session (claude, antigravity, openclaw, codex, and 30+ other supported agents) in a fresh or existing worktree [launch.md]. install - install the stablyai/orca skill bundle into Claude Code, OpenClaw, or Antigravity, asking whether to ghq-clone + symlink or use a plain marketplace install [install.md]. Use when: "send this to the claude session working on X", "hand this off to another agent in Orca", "spawn a new codex/antigravity worktree", "which Orca terminal is running Y", "install the orca skills into openclaw/antigravity", "Orca worktree", "Orca terminal send".
metadata
{"author":"es6kr","version":"0.3.0"}

Orca Session Management

Coordinates agent sessions running inside the Orca IDE (stablyai/orca) — finding a specific running session and delivering work to it, launching new sessions, and installing Orca's own bundled skills into other harnesses.

Topic Dispatch

When this skill is invoked with a topic specifier (e.g., /orca send or Skill("orca", "send")), load and follow only the matching topic file (send.md). Do not echo the Topics table or summarize other topics in the response. The Topics table below is an index for invocations without a topic specifier — it is not user-facing output when a topic is named.

Topics

Topic Description Guide
send Deliver work to a running Orca terminal, disambiguating candidates send.md
launch Start a new agent session in a worktree launch.md
install Install the Orca skill bundle into another harness install.md

Resolve the CLI (all topics)

Every topic in this skill needs the Orca CLI executable. Resolve it once per session and reuse it:

  1. If ORCA_CLI_COMMAND is set, use its value (Orca exports this for managed WSL sessions).
  2. Otherwise, in a dev checkout exposing ORCA_DEV_REPO_ROOT, use orca-dev.
  3. Otherwise, on Linux outside an Orca-managed terminal, use orca-ide. Never run bare orca there — it normally resolves to the GNOME Orca screen reader and starts speech on the user's machine.
  4. Otherwise, use orca.

Below, ORCA is a placeholder for the resolved executable. Substitute it before running anything — do not create a shell variable or run ORCA literally.

If the resolved executable fails, report the exact error and stop. Do not fall through to another executable — that could silently target a different Orca build.

Confirm the app is reachable before anything else:

ORCA status --json

If result.app.running is false, start it with ORCA open --json first. Prefer --json for every agent-driven call.

Command source of truth

Do not hardcode Orca CLI flags in this skill or memorize them from a prior session. Orca releases change subcommands and flags; a cached copy drifts from the binary that will actually run the command. Before running an unfamiliar command, confirm its current shape with:

ORCA skills get orca-cli
ORCA skills get orchestration

These print the complete, version-matched guide for the exact binary in this session. This skill's topic files hold the parts that don't change across releases (the disambiguation policy, the self-targeting guard, the harness install matrix) — not a copy of Orca's flag reference.

Self-identification

Every command in this skill that talks to another terminal must first know which terminal it is itself, to avoid ever targeting its own pane. Orca exports ORCA_PANE_KEY as <tabId>:<leafId> inside every managed terminal. If it is unset, this session is not running inside an Orca-managed terminal and send must refuse to run (see send.md).

Core Terminal Lifecycle & Layout Operations

While send.md and launch.md detail higher-level handoff workflows, Orca CLI provides direct pane and tab manipulation commands:

Command Purpose Example
split Split active pane into paired panes ORCA terminal split --terminal <handle> --direction vertical --command "<cmd>" --json
rename Update the UI tab title ORCA terminal rename --terminal <handle> --title "<title>" --json
switch Focus/switch UI view to terminal ORCA terminal switch --terminal <handle> --json
close Gracefully terminate a terminal/tab ORCA terminal close --terminal <handle> --json
wait Await condition (e.g. idle prompt) ORCA terminal wait --terminal <handle> --for tui-idle --timeout-ms 60000 --json

Topic Dependencies

orca
  ├─→ send: uses the CLI-resolution + self-identification rules above
  ├─→ launch: uses the CLI-resolution rules above
  └─→ install: independent — only needs the CLI resolved when verifying a Claude/OpenClaw install
  • send and launch both call into the running Orca app; install mostly edits files on disk and only touches the CLI to confirm an install landed.
  • For task DAGs, ask/reply flows, or coordinator loops between agents, use Orca's own orchestration skill directly (ORCA skills get orchestration) — this skill does not reimplement it. send covers the simpler case: "deliver this prompt to that terminal."