Skip to content
Kitbay
Skill

captain

MITUpdated on Nov 11, 2026141,174GitHub starsIncludes scripts

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