engineering / agent
firstmate
Instructions, skills and scripts for dispatching and supervising parallel coding agents in Git worktrees.
At a glance
- Purpose
- Instructions, skills and scripts for dispatching and supervising parallel coding agents in Git worktrees.
- Runs in
- Local agent with shell
- Operating systems
- macOS, Linux
- Needs
- Runtime: Git, GitHub CLI and tmux (default backend); Needs internet: Yes; Needs accounts or API keys beyond your agent: Yes
- Files and data
- Reads files: Yes; Writes files: Yes; Sends data to other services: Yes
- Tool type
- Agent
- Delivery
- From GitHub
- Version
- Latest on the main branch
- Access
- Code on GitHub
- Compatibility
- According to the README, firstmate runs on macOS and Linux. It lists the primary harnesses Claude Code, Grok, Pi, pi-signed, Oh My Pi (omp), Codex, OpenCode and Cursor Agent CLI. The README lists tmux as the reference default, Herdr, and experimental Zellij, cmux and Orca session backends. The README requires Git and the GitHub CLI. The README mentions an optional Gerrit binding for publishing changes instead of pull requests, and an optional Relay that answers mentions on X and Discord.
- External costs
- According to the README, firstmate runs inside a supported agent harness, and it says to pick the primary harness that matches your subscription and workflow. It also needs the GitHub CLI signed in with gh auth login. The repository is MIT-licensed and states no pricing. Your coding agent or model provider may charge for usage.
- Permissions
- The README says crewmates work in separate Git worktrees and can deliver pull requests or local merges under the configured merge authority; project modes have an optional +yolo merge-autonomy flag. The README says the first mate has a read-only project boundary with narrow guarded, captain-approved exceptions, including branch pruning during fleet sync. The README describes a background watcher, harness hooks and extensions, and away or quiet supervision through a host, branch or daemon; the quiet daemon remains active until /quiet off. The README says missing-tool installation requires approval. The README describes persistent state writes, self-updates and mate restarts, optional SSH-reachable secondmate homes, and an opt-in Relay using a local pairing token to act on mention requests and post public replies on X and Discord.
- Usage terms
- MIT License, as stated in the repository. See its LICENSE file for the exact terms.
Code on GitHub
kunchenguid/firstmate
MITTalk to one agent. Ship with a crew.
Public GitHub data fetched · 0 days old
Skill folders in this repository (29)
Folders that contain a SKILL.md file, from GitHub's file list on .
.agents/skills/afk.agents/skills/agent-skill-trigger-index.agents/skills/ahoy.agents/skills/ask-user-authority.agents/skills/away-quiet-supervision.agents/skills/bearings.agents/skills/bootstrap-diagnostics.agents/skills/captain-hold-lifecycle.agents/skills/decision-hold-lifecycle.agents/skills/diagnostic-reasoning.agents/skills/firstmate-codexapp.agents/skills/firstmate-coding-guidelines.agents/skills/firstmate-orca.agents/skills/fmx-respond.agents/skills/harness-adapters.agents/skills/operational-home-layout.agents/skills/process-event-sources.agents/skills/project-management.agents/skills/quiet.agents/skills/quota-array-dispatch.agents/skills/scout-completion.agents/skills/secondmate-provisioning.agents/skills/session-start-recovery.agents/skills/ship-landing.agents/skills/stow.agents/skills/stuck-crewmate-recovery.agents/skills/updatefirstmate.agents/skills/validation-supervisionskills/stow
What it does
The README calls firstmate an agent distro: a directory of instructions, skills, tooling, policies and state conventions for a terminal coding agent. The README says you clone the repository and launch a supported harness inside it rather than install an app.The README says the first mate dispatches and supervises autonomous crewmates in separate Git worktrees and visible sessions, and reports pull requests, approved local merges or investigation reports. The README names no-mistakes, direct-PR and local-only project modes.
The README lists the user-invocable skills afk, quiet, ahoy, bearings, updatefirstmate and stow. The README also describes agent-only reference skills, standalone public skills, optional secondmates with isolated homes locally or on an SSH-reachable host, and an opt-in Relay for public mentions on X and Discord.
Who it is for
Developers who already use a supported terminal coding agent and want one agent to dispatch and supervise parallel tasks across their projects.Example tasks
Ask the first mate to fix a flaky test and add a feature in a GitHub project, then check the pull request it reports.Ask the first mate for an investigation that ends in a standalone report.
Use the bearings skill to get a four-section digest of the fleet in chat.
Use the afk skill to enter away-mode supervision while you step away.
Install the standalone stow skill into another project.