Parallel Agent Worktree Skill banner
TheAhmadOsman TheAhmadOsman

Parallel Agent Worktree Skill

Git community

Description

Portable Agent Skill to plan, spawn, review, and merge parallel CLI agents in isolated git worktrees, with deterministic Python/Bash runners for condition-gated, backup-safe, log-heavy workflows. Includes a Kimi CLI example; easily adapted to Codex CLI, Claude Code, OpenCode, Droid Factory, Pi, or any CLI harness.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

parallel-agent-worktree-skill

**Experimental dangerous-workflow disclosure:** this skill can coordinate multiple autonomous CLI agents, git branches, git worktrees, merge operations, test commands, backup commands, and infrastructure commands that you configure. It is provided **as-is, without warranties** under Apache-2.0. Use it only in repositories and environments you are authorized to modify, keep verified backups, review every generated command and diff, and assume responsibility for any data loss, downtime, credential exposure, cost, or unwanted changes caused by using or modifying it.

Generic Agent Skill for orchestrating parallel agentic tasks with any agent harness that has a CLI. Workers run in isolated git worktrees with review-gated integration, changelog requirements, deterministic Python/Bash loop generation, and backup-aware maintenance support. The package is generic; the included JSON examples use Kimi CLI only as one concrete harness mapping. Other harnesses must be mapped from their current local help output and docs before use.

Philosophy

![Parallel Agent Tasks Worktree Orchestrator workflow screenshot](poster/screenshot.png)

This screenshot captures the workflow philosophy: plan, fan out, verify, integrate; changelog first, merge back last; use interactive workers when steering is needed and deterministic loops when backups, conditions, and logs need repeatable execution.

Quick Get Started

Clone the repo and copy the skill into the skill directory used by your agent harness. For a project-local install:

git clone https://github.com/TheAhmadOsman/parallel-agent-worktree-skill.git
mkdir -p .agents/skills
cp -R parallel-agent-worktree-skill .agents/skills/parallel-agent-worktree-skill

For a user-level install, copy it into your local skill root, for example:

mkdir -p ~/.codex/skills
cp -R parallel-agent-worktree-skill ~/.codex/skills/parallel-agent-worktree-skill
mkdir -p ~/.claude/skills
cp -R paral