TheAhmadOsman

Parallel Agent Worktree Skill — Git skill for Claude Code

Git community

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.

How to install Parallel Agent Worktree Skill

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

What Parallel Agent Worktree Skill does

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.

Alternatives in Git

  • Gh Fix CI — Debug and fix failing GitHub Actions PR checks using log inspection 14.6k ★
  • Bulletproof Quick Start Guide — Target Audience: Complete beginners Never used Python/git before 11.1k ★
  • Loki Verify — Run Loki's deterministic PR verification on the current change and summarize the evidence verdict 1.1k ★

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