firstmate-orca
Skill2 starsChanged 32 days agoMITView on GitHub
Agent-only operator checklist for Firstmate's Orca runtime backend. Use 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.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- kunchenguid/firstmateedited, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- kunchenguid/firstmate★ 8.7k99% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- afkSkill
- agent-skill-trigger-indexSkill
- ahoySkill
- ask-user-authoritySkill
- away-quiet-supervisionSkill
- bearingsSkill
- bootstrap-diagnosticsSkill
- captain-hold-lifecycleSkill
- control-firstmateSkill
- decision-hold-lifecycleSkill
- diagnostic-reasoningSkill
- firstmate-codexappSkill
- firstmate-coding-guidelinesSkill
- fmx-respondSkill
- harness-adaptersSkill
- operational-home-layoutSkill
- process-event-sourcesSkill
- project-managementSkill
- quietSkill
- quota-array-dispatchSkill
- scout-completionSkill
- secondmate-provisioningSkill
- session-start-recoverySkill
- ship-landingSkill
- stowSkill
- stuck-crewmate-recoverySkill
- updatefirstmateSkill
- validation-supervisionSkill
- verify-firstmateSkill
- stowSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 11 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Use this as the operator checklist for Firstmate's experimental Orca runtime backend.
- Very specific: line 21
Prefer the bin/fm-* helpers over raw orca commands.
- Very specific: line 22
Use raw orca only when the helper surface cannot answer the inspection question, and keep the recorded firstmate metadata as the task …
- Very specific: line 27
If FM_HOME is set, remember that operational state lives under $FM_HOME while the helper scripts still run from this repo's bin/.
- Distinctive: line 29
Before switching or spawning against Orca:
- Distinctive: line 34
Treat a backend switch as affecting future spawns only.
- Very specific: line 39
Use bin/fm-spawn.sh so firstmate creates the brief, worktree, terminal, metadata, status file, and watcher surface together.
- Distinctive: line 42
After spawn, check the task with firstmate helpers:
- Distinctive: line 49
Do not manually create the Orca worktree or terminal for a normal firstmate task.
- Distinctive: line 50
Do not manually patch metadata to make an externally-created Orca terminal look like a firstmate task.
- Very specific: line 54
Use bin/fm-peek.sh, bin/fm-send.sh, bin/fm-crew-state.sh, and bin/fm-teardown.sh for routine operation.
- Distinctive: line 56
Keep initial scope in the task brief.
- Very specific: line 58
When supervising, treat state/<id>.meta as the routing record and Orca's own ids as backend implementation details.
- Very specific: line 62
If an ordinary steer fails to enqueue, or a typed-plane fm-send fails to submit, do not immediately repeat the instruction.
- Very specific: line 63
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 …
- Very specific: line 70
Read state/<id>.meta and the relevant status tail first.
- Very specific: line 72
Use the recorded terminal=, orca_worktree_id=, and worktree= as the task identity.
- Distinctive: line 73
Prefer firstmate helpers for peek, send, state, and teardown.
- Distinctive: line 74
Avoid raw deletion of Orca worktrees or manual branch cleanup.
- Distinctive: line 75
Stop and inspect if the recorded worktree path, Orca worktree id, or project checkout no longer matches expectations.
- Distinctive: line 83
Keep Orca smoke tests focused on lifecycle plumbing:
- Very specific: line 88
Verify bin/fm-peek.sh, a short bin/fm-send.sh steer, watcher wake behavior, and bin/fm-crew-state.sh.
- Distinctive: line 92
Do not mix a backend smoke test with unrelated feature work.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 intentionally for a disposable task or scout.
- Spawn through
bin/fm-spawn.sh. - Confirm metadata records the Orca backend, terminal, Orca worktree id, and isolated worktree path.
- Verify
bin/fm-peek.sh, a shortbin/fm-send.shsteer, watcher wake behavior, andbin/fm-crew-state.sh. - Tear down through
bin/fm-teardown.shafter the task is safely disposable or landed. - Restore the previous backend selection if Orca was selected only for the smoke test.
Do not mix a backend smoke test with unrelated feature work.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

