captain
A gstack skill that lets one controller agent coordinate a crew of coding agents working in parallel on one repository.
What the skill teaches
A gstack skill that lets one controller agent coordinate a crew of coding agents working in parallel on one repository. Worker agents hand over a READY block for their pull request and never merge; the controller checks each block (exact head commit, passing required checks, test evidence, a ship receipt), builds merge trains in a scratch worktree, runs the full gate on the combined head, and merges slot by slot with gh while refusing heads that moved. Failing trains are bisected to the responsible pull request. It also keeps a digest of what needs the owner, relays approvals in the owner's exact words, and schedules a daily pass that fixes flaky tests without weakening them. It relies on gstack's own command-line helpers.
Capabilities
- Validate agents' pull requests against a ready checklist
- Build and test merge trains before merging
- Bisect a failing train to the responsible pull request
- Keep a digest of items that need the owner
About
- Publisher
- Garry Tan
- Tool
- GitHub
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
What's inside
- SKILL.md.tmpl
- sections/preamble.md
- templates/AGENTS.md
- templates/CREW.md
- templates/DIGEST.md
- templates/NOTES.md
- templates/READY.md
- templates/automation-flaky-pass.md
- templates/brief.md
- templates/flaky-ledger.md
- templates/merge-ask.md
- templates/merge-train-peer.md
- templates/plan-ask.md
- templates/postmortem.md
- templates/report.md
- templates/slot-call.md
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
This skill includes scripts that your agent may run.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | GitHub | |
| Publisher | Garry Tan | source |
| Official status | Community (not published by the tool's vendor) | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 2026141,174 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
Sources
- Skill file (SKILL.md)github.com/garrytan/gstack · Backs: Official statusNov 10, 2026
- GitHub repositorygithub.com/garrytan/gstack · Backs: Licence, Publisher, ActivityNov 11, 2026
- Folder in the repository (captain)github.com/garrytan/gstack · Backs: Includes scriptsNov 10, 2026