Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Git worktree workflows for parallel AI development.
This plugin provides actionable skills for managing git worktrees in AI-assisted development workflows. It supports both orchestrator patterns (where a main agent coordinates subagents) and peer patterns (where independent agents work autonomously).
Add this plugin to your Claude Code configuration:
{
"plugins": [
"aaronbassett/agent-foundry/plugins/worktrees"
]
}
/worktrees:new <name> [--base <branch>] [--lock]Create a new worktree with safety checks.
/worktrees:new feature-auth
/worktrees:new hotfix-login --base release/v2
/worktrees:new critical-work --lock
Features:
.worktrees/ is in .gitignore/worktrees:orchestrator <feature>Start multi-subagent parallel development.
/worktrees:orchestrator user-management
Features:
/worktrees:peer <feature>Start independent development with PR-based integration.
/worktrees:peer payment-integration
Features:
/worktrees:finish [--pr|--merge] [--force]Complete work and clean up.
/worktrees:finish --pr
/worktrees:finish --merge
/worktrees:finish --force
Features:
/worktrees:statusDisplay comprehensive worktree status.
/worktrees:status
Shows:
/worktrees:conceptsComprehensive reference documentation.
/worktrees:concepts
Covers:
# Create worktree
/worktrees:new feature-payments
# ... develop in worktree ...
# Finish and create PR
/worktrees:finish --pr
# Start orchestrated development
/worktrees:orchestrator user-management
# Follow prompts to:
# 1. Decompose into tasks
# 2. Create worktrees
# 3. Spawn subagents
# 4. Monitor and merge
# 5. Clean up
Worktrees are organized in .worktrees/ within your project:
my-project/
├── .git/
├── .gitignore # Contains .worktrees/
├── .worktrees/
│ ├── feature-auth/
│ ├── feature-api/
│ └── inst-alpha/
└── src/
Git worktrees allow checking out multiple branches simultaneously in separate directories. All worktrees share the same .git repository.
A main Claude instance coordinates multiple subagents:
Multiple independent Claude instances work autonomously:
This plugin includes safety hooks that provide reminders during worktree operations:
When running git checkout or git switch commands, reminds you to check for active worktrees that might conflict.
When running git worktree add, reminds you to ensure .worktrees/ is in .gitignore to prevent accidentally committing nested repositories.
MIT License - see LICENSE for details.
Aaron Bassett (@aaronbassett)
npx claudepluginhub aaronbassett/agent-foundry --plugin worktreesBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground