
worktree-setup
Automatically copies gitignored files and configures direnv/mise when agent worktree isolation creates a worktree
- version
- 1.42.0
- GitHub stars
- 20
Install
/plugin install worktree-setup@motlin-claude-code-pluginsRun it inside Claude Code after adding the marketplace with /plugin marketplace add motlin/claude-code-plugins.
Contents
Discovered from sourceAgents 1
worktree-setup
WorktreeCreate hook for agent worktree isolation. Creates the worktree at <cwd>/.claude/worktrees/<name> (reusing branch <name> if it exists, else branching from origin/HEAD, or HEAD when worktree.baseRef is head), copies gitignored files with rsync, and runs direnv allow and mise trust when their config exists. Requires git, jq, and rsync. Hook input is logged to /tmp/worktree-create-hook-input.json.
Hooks 1
Sponsors
Details
- Marketplace
- motlin/claude-code-plugins
- Source
- plugins/worktree-setup
- Author
- Craig Motlin
- Category
- Productivity
More from motlin/claude-code-plugins
All 30- bash-guardsv1.42.0
- buildv1.42.0
- builtin-tasksv1.14.0
- burnv1.42.0
- codev1.42.0
- code-walkthroughv1.42.0
- demov1.42.0
- ghostty-titlesv1.42.0
- gitv1.42.0
- git-guardsv1.42.0
- githubv1.42.0
- herdr-rebootv1.42.0
- herdr-titlesv1.42.0
- investigation-reportv1.42.0
- iterm2-titlesv1.14.0
- javav1.42.0
- justfilev1.42.0
- markdown-tasksv1.42.0
- narrationv1.42.0
- offline-claude-code-guidev1.14.0
- orchestrationv1.42.0
- plans-dashboardv1.42.0
- plugin-and-skill-devv1.42.0
- pushoverv1.14.0