gwm

Installation
SKILL.md

Git Worktree Manager (gwm)

Manage git worktrees using the gwm.sh script located at skills/gwm/scripts/gwm.sh in the agent-resources repo.

Arguments

The user invokes this skill as /gwm <command> [args], or by saying something like "create git worktree for KKEP-1234". Parse the command and arguments from the user's input. If the user says "create worktree" or similar without specifying a command, treat it as add.

Supported commands:

  • add <branch-name> [sparse-path] — Create a new worktree (optionally with sparse checkout)
  • list — List all worktrees
  • remove <branch-name> — Remove a worktree and optionally delete the branch
  • status <branch-name> — Show dirty state, ahead/behind for a worktree
  • prune — Clean up stale worktree references
  • help — Show available commands

Flags:

  • --plain — Human-readable output (always use this when presenting results)
  • --no-restore — Skip dotnet restore and file copying after creating a worktree
Related skills
Installs
1
First Seen
Mar 16, 2026