Agent Worktree Coordinator

0•

Coordinates multiple AI agents working on the same repository using a git worktree locking system to prevent code collisions.

This skill enables parallel development by multiple AI agents within a single local environment by managing a pool of git worktrees. It implements a rigorous protocol to 'acquire' a dedicated workspace and 'release' it once tasks are pushed, ensuring that agents never overwrite each other's work or corrupt the main working tree. This is essential for autonomous swarms, background planners, or any scenario where more than one AI process is interacting with a repository simultaneously.

主要功能

01Automated git worktree acquisition and slot management (main, beta, gamma, etc.)
020 GitHub stars
03Seamless integration with the 'ro' command-line utility for streamlined workflows
04Real-time status tracking to monitor workspace ownership across agents
05Locking mechanism to prevent concurrent agents from clobbering the same working tree
06TTL-based reaping to automatically clean up stale locks and abandoned worktrees

使用场景

01Running parallel AI agent swarms on a single large-scale software project
02Performing multi-tasking across different branches using separate isolated local directories
03Managing background planning and worker tasks simultaneously without manual intervention