firstmate-orca
它能做什么
这项技能是针对 Firstmate 所用实验性 Orca 运行时的操作检查清单。适合希望切换到 Orca,或需要调试在其中运行的工作的人。
适用场景
- ✓当你想把 Firstmate 工作切换到 Orca 运行时的时候。
- ✓当一个基于 Orca 的任务看起来卡住,或其保存的细节不正确时。
- ✓当你想在依赖 Orca 的行为之前先测试它的时候。
技能链接
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/firstmate-orca/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把我的 Firstmate 工作切换到 Orca 运行时,并在开始任何事情之前检查它是否已就绪。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体确认 Orca 已被选中并正在运行,执行就绪检查,然后使用 Firstmate 的辅助命令。除非辅助命令无法回答问题,否则它会避免直接使用原始的 Orca 命令。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
firstmate-orca
Use this as the operator checklist for Firstmate's experimental Orca runtime backend.
It does not replace AGENTS.md, docs/orca-backend.md, or harness-adapters.
Orca is a runtime backend, not an agent harness.
The runtime backend owns the task endpoint and, for Orca, the task worktree.
The harness is the agent process launched inside that endpoint, such as claude, codex, opencode, pi, pi-signed, grok, or kimi.
Load harness-adapters for harness-specific launch, interrupt, resume, trust-dialog, and skill-invocation facts.
Implementation details, metadata fields, teardown guarantees, and limitations live in docs/orca-backend.md.
docs/verification/runtime-backends.md "Orca" owns active smoke evidence.
Prefer the bin/fm-* helpers over raw orca commands.
Use raw orca only when the helper surface cannot answer the inspection question, and keep the recorded firstmate metadata as the task identity.
Preflight
Work from the current firstmate home or repo root.
If FM_HOME is set, remember that operational state lives under $FM_HOME while the helper scripts still run from this repo's bin/.
Before switching or spawning against Orca:
- Confirm Orca is intentionally selected through
--backend orca,FM_BACKEND=orca, or localconfig/backend. - Confirm the Orca app is running and the backend readiness checks pass before expecting spawn to work.
- Inspect active
state/*.metarecords before changing backend selection. - Treat a backend switch as affecting future spawns only; existing tasks keep their recorded backend.
- Reconcile watcher wakes before unrelated work, especially if Orca tasks are already in flight.
Spawn
Use bin/fm-spawn.sh so firstmate creates the brief, worktree, terminal, metadata, status file, and watcher surface together.
Pass --backend orca for a one-off Orca task, or rely on the already-selected Orca backend when that selection is intentional.
After spawn, check the task with firstmate helpers:
bin/fm-peek.sh fm-<id>for launch failures, trust dialogs, or first output.state/<id>.metaforbackend=orca,terminal=,orca_worktree_id=, andworktree=.bin/fm-crew-state.sh <id>when the current run state matters.bin/fm-watch.shwhenever there are tasks in flight and this session owns supervision.
Do not manually create the Orca worktree or terminal for a normal firstmate task. Do not manually patch metadata to make an externally-created Orca terminal look like a firstmate task.
Supervision
Use bin/fm-peek.sh, bin/fm-send.sh, bin/fm-crew-state.sh, and bin/fm-teardown.sh for routine operation.
For steer messages, use bin/fm-send.sh <id> '...'; the stable fm-<id> alias also works, and ordinary local text steers may contain newlines because they ride the durable inbox.
Keep initial scope in the task brief; a temporary file remains useful when the instruction includes supporting material the worker should inspect separately.
When supervising, treat state/<id>.meta as the routing record and Orca's own ids as backend implementation details.
The stable firstmate alias is fm-<id>.
The recorded terminal= and orca_worktree_id= fields are what backend helpers use under the hood.
If an ordinary steer fails to enqueue, or a typed-plane fm-send fails to submit, do not immediately repeat the instruction.
Read the reported failure and peek first, then decide whether the record exists or the target is busy, waiting on a prompt, stuck behind a popup, or genuinely wedged.
For harness-specific interrupts or exits, load harness-adapters.
Recovery
For a messy Orca-backed task:
- Read
state/<id>.metaand the relevant status tail first. - Confirm the task is actually Orca-backed before using Orca-specific assumptions.
- Use the recorded
terminal=,orca_worktree_id=, andworktree=as the task identity. - Prefer firstmate helpers for peek, send, state, and teardown.
- Avoid raw deletion of Orca worktrees or manual branch cleanup.
- Stop and inspect if the recorded worktree path, Orca worktree id, or project checkout no longer matches expectations.
Teardown remains governed by the normal firstmate landing rules.
Scout work can be torn down after the report exists and the captain-hold-lifecycle completion gate passes.
Ship work can be torn down only after the work is landed by its project mode.
Smoke Test
Keep Orca smoke tests focused on lifecycle plumbing:
- Select Orca intentionall
常见问题
Orca 和 AI 工具是同一个东西吗?
不是。Orca 负责运行任务空间,而 Claude 或 Codex 等 AI 工具在其中运行。
Orca 可以日常使用吗?
这项技能称 Orca 为实验性功能,因此在依赖之前请查阅项目文档。
我需要了解 Orca 的内部机制吗?
不需要。这项技能会指引你使用辅助命令,以及解释细节的文档。
详情
作者的原始描述
Load when switching to Orca, spawning or supervising Orca-backed work, smoke-testing Orca backend behavior, debugging Orca task state, or reconciling Orca-backed task metadata.
repo: kunchenguid/firstmate
热度
- GitHub 星标
- 8.5k
- 排名
- #12435
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …