360 Secure SkillHub
360 安全技能中心

orca-cli

这是一个发现型入口技能,本身不含命令参考:需先确定本会话使用的 orca 可执行文件,再运行 skills get 取得与版本匹配的完整指南,之后才能操作 Orca Lab 管理的工作树、终端、仓库、自动化、工件与内嵌浏览器。缺少二进制时只能报告错误或执行有限只读探测。

分类:开发
ab2webco
热度 0.00
最近更新 2026-10-24 23:08:04

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add ab2webco/orca-oss/orca-cli
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据出网未确认
Metadata
name
orca-cli
description
Use the public `orca` CLI to operate Orca Lab-managed worktrees, folder contexts, terminals, repos, automations, artifacts, worktree comments, and the browser embedded inside the Orca Lab app. Use when the user says "$orca-cli", "use orca cli", "Orca Lab worktree", "child worktree", "cardStatus", "spawn codex/claude in a worktree", "read/wait/send Orca Lab terminal", "terminal send", "full handoff", "handover", "give this to another agent", "another worktree", "Orca Lab browser", "orca artifacts", "share HTML/Markdown", "public artifact link", or "control the browser inside Orca Lab". Prefer this over raw `git worktree`, ad hoc PTYs, Playwright, or Computer Use when the task touches Orca Lab-managed state. Use Computer Use for browser windows, webviews, or desktop UI outside Orca Lab's embedded browser.

Orca Lab CLI

This file is a discovery stub, not the usage guide. The full, version-matched Orca Lab CLI 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 Lab whenever its running editor/runtime is the source of truth: Orca Lab-managed worktrees, folder contexts, terminals, repos, automations, worktree comments, and the browser embedded inside the Orca Lab app. Triggers include "$orca-cli", "Orca Lab worktree", "child worktree", "spawn codex/claude in a worktree", "read/wait/send Orca Lab terminal", "full handoff" / "handover" / "give this to another agent", and "control the browser inside Orca Lab". Use plain shell tools when Orca Lab state does not matter.

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 Lab exports this for managed WSL sessions.
  • Otherwise, in a dev checkout whose session exposes ORCA_DEV_REPO_ROOT, use orca-dev.
  • Otherwise, on Linux outside an Orca Lab-managed terminal, use orca-ide. Never run bare orca there — outside Orca Lab'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 Lab build.

Load the full guide before running Orca Lab commands

ORCA skills get orca-cli

That prints the complete, version-matched guide for the exact binary that will handle your next commands — worktrees, handoffs, terminals, automations, and the built-in browser. 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 Lab 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 Lab 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 worktree ps --json
ORCA terminal list --json

Then tell the user that updating Orca Lab restores the full, version-matched guide via ORCA skills get orca-cli. Beyond these commands, ask the user rather than guessing a command surface this older binary may not support.