secondmate-provisioning
What it does
This skill covers creating and maintaining secondary helper homes in Firstmate, including their routing list. It is for people who run more than one helper and want work sent to the right one.
When to use it
- ✓When you want to create a new secondary helper for a particular area of work.
- ✓When the routing list needs an update for a helper's scope or projects.
- ✓When a secondary helper needs to be recovered, retired, or handed backlog work.
Skill link
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/secondmate-provisioning/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Set up a new secondary helper that handles our marketing projects and add it to the routing list.”
5 new skills a week. 1 minute to read.
How it works
The agent edits the routing table with one line per helper, each with its own scope and projects. It checks the setup before launching, and it keeps local-only projects with the main helper.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
secondmate-provisioning
Use this reference before creating, seeding, validating, launching, handing backlog to, recovering, pushing inherited local material into, or retiring a persistent secondmate, and before editing data/secondmates.md.
Keep the always-inline routing rules in AGENTS.md authoritative: route by natural-language scope:, local-only projects stay with the main firstmate, and secondmates are idle by default.
Routing table
data/secondmates.md has one parser-compatible line per persistent second mate.
A local route uses:
- <id> - <one-sentence charter summary> (home: <absolute-home-path>; scope: <natural-language responsibility>; projects: <project-a>, <project-b>; added <date>)
A whole-home remote route uses:
- <id> - <one-sentence charter summary> (host: <ssh-alias>; root: <absolute-remote-code-root>; home: <absolute-remote-home>; scope: <natural-language responsibility>; projects: <project-a>, <project-b>; added <date>)
Each registry entry stays concise and single-line: the summary is one sentence naming the durable charter, scope: is the natural-language intake responsibility, projects: is the non-exclusive clone list, and any extra prose is limited to genuinely domain-specific hard rules that change routing or safety for that secondmate.
Natural-language summary and scope: text may contain parentheses and semicolons; keep the generated (home: ...; scope: ...; projects: ...; added ...) suffix intact so operational consumers resolve its explicit field markers.
The home: path points to the seeded home containing data/charter.md; no extra registry pointer field is needed.
For a remote route, host: is an OpenSSH config alias and root: is that host's separate tracked Firstmate code root.
See remote launch and recovery for backend selection and readiness (Herdr remains the default; Rex requires explicit selection and a ready doctor verdict).
This release places whole secondmate homes remotely and never individual workers.
docs/remote-secondmates.md owns current operator setup and transport behavior.
The home-seeded data/charter.md is the sole owner of boilerplate idle-by-default behavior, the normal delegation lifecycle, and standard escalation contracts, so point to that charter rather than restating those contracts in the registry entry.
The scope: field is used during intake.
The projects: field is a non-exclusive clone list, not ownership.
Charter and seed
Scaffold a secondmate charter with:
bin/fm-brief.sh <id> --secondmate {<project>...|--no-projects}
The scaffold writes a charter brief instead of a task brief.
Set FM_SECONDMATE_CHARTER='<charter>' to fill the charter text and FM_SECONDMATE_SCOPE='<scope>' when the routing scope differs.
If you scaffold without FM_SECONDMATE_CHARTER, replace the {TASK} placeholder before seeding.
Pass --no-projects instead of a project list to scaffold a project-less charter for a domain whose subject is the firstmate repo itself, whose home is a firstmate worktree and whose crews take pooled worktrees of the same repo.
--no-projects is mutually exclusive with a project list, and omitting both still fails loudly, so an accidental omission is never mistaken for a deliberate project-less seed.
Re-seeding a populated home as project-less is refused non-destructively when the home contains project clones or data/projects.md entries.
Retire or clean that home first, and re-scaffold a stale project-bearing charter with --no-projects before seeding.
Keep custom charter text focused on the persistent responsibility, available project clones, and genuinely domain-specific hard rules.
The scaffolded charter, later copied to data/charter.md, owns the standard lifecycle and escalation wording.
Preserve the generated charter sections unless the domain genuinely needs a hard rule.
Provision a local persistent home and registry entry after the charter is filled:
bin/fm-home-seed.sh <id> <home|-> {<project>...|--no-projects}
Provision a whole remote home through its configured SSH host with:
bin/fm-remote-home-seed.sh <id> <ssh-alias> <remote-root> <remote-home> {<project>[=<origin-url>]...|--no-projects}
You resolve each project's origin yourself - from the captain, the project registry, a clone that exists elsewhere, gh-axi, or an explicit paste - and
FAQ
How does work get routed?
Work is routed by the plain-language scope written for each helper.
Are secondary helpers always running?
No. They are idle by default.
Can a secondary helper run on another computer?
Yes. The routing list can describe a remote host, and the skill explains how to set that up.
Details
Original description by the author
Load when creating, seeding, validating, launching, recovering, handing backlog to, pushing inherited local material into, or retiring a secondmate home, or when editing data/secondmates.md.
repo: kunchenguid/firstmate
Popularity
- GitHub stars
- 8.5k
- Ranking position
- #12444
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
afk
8.5kLets your agent keep working while you are away, holding decisions for your return and sending you a clear brief when you come back.
ahoy
8.5kLets your agent give you a short recap of what happened in the session and walk you through any decisions still waiting on you.
ask-user-authority
8.5kHelps your agent decide review questions on its own when they clearly fit the agreed plan, and ask you only when a question is unclear or risky.
away-quiet-supervision
8.5kSets safety rules for supervising work in away or quiet mode, so the agent keeps messages clear and holds decisions that need you.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.