hydra - Show available commands and explain the concept
Manages Git worktrees for parallel agent workflows with isolated directories.
/plugin marketplace add marcel-bich/marcel-bich-claude-marketplace/plugin install hydra@marcel-bich-claude-marketplaceYou are executing the /hydra:help command. Show the user available commands and explain the Git worktree concept.
Git worktrees allow having multiple branches checked out simultaneously in different directories. Each worktree has:
This means: Parallel work on different features without git stash or branch switching.
When multiple agents need to work in parallel, each needs its own directory. Otherwise:
With worktrees, each agent gets its own isolated working directory.
Show currently available commands:
grep -A2 "^ [a-z]" "${CLAUDE_PLUGIN_ROOT:-$(dirname $(dirname $0))}/plugin.yaml" 2>/dev/null || echo "Could not read plugin.yaml"
1. /hydra:create feature-x # Create worktree
2. /hydra:spawn feature-x "..." # Agent works there
3. /hydra:watch # Live monitor agents
4. /hydra:status # Check git status
5. /hydra:merge feature-x # Integrate changes
6. /hydra:cleanup # Clean up
1. /hydra:parallel feature-a:Task A | feature-b:Task B | feature-c:Task C
2. /hydra:watch # Monitor all agents live
3. /hydra:merge feature-a # Merge when done
4. /hydra:cleanup # Remove merged worktrees
git worktree --help