mamba-mental

Prep Parallel — Git skill for Claude Code

Git community

Initialize parallel git worktree directories for parallel Claude Code agents.

How to install Prep Parallel

Installs to ~/.claude/skills/mamba-mental-agent-skill-manager-prep-parallel/SKILL.md

Terminal
mkdir -p ~/.claude/skills/mamba-mental-agent-skill-manager-prep-parallel && curl -fsSL https://raw.githubusercontent.com/mamba-mental/agent-skill-manager/HEAD/commands/prep-parallel.md -o ~/.claude/skills/mamba-mental-agent-skill-manager-prep-parallel/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Prep Parallel does

Initialize parallel git worktree directories for parallel Claude Code agents

Variables

FEATURE_NAME: $ARGUMENTS NUMBER_OF_PARALLEL_WORKTREES: $ARGUMENTS

Execute these commands

Execute the loop in parallel with the Batch and Task tool

  • create a new dir trees/
  • for i in NUMBER_OF_PARALLEL_WORKTREES
    • RUN git worktree add -b FEATURE_NAME-i ./trees/FEATURE_NAME-i
    • RUN cd trees/FEATURE_NAME-i, git ls-files to validate
  • RUN git worktree list to verify all trees were crea

Alternatives in Git

Full documentation available on GitHub

View Source Repository