gpt-cmdr

Agents Start Gitworktree — Git skill for Claude Code

Git community

You are starting a new git worktree for isolated agent work.

How to install Agents Start Gitworktree

Installs to ~/.claude/commands/gpt-cmdr-ras-commander-agents-start-gitworktree.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/gpt-cmdr/ras-commander/HEAD/.claude/commands/agents-start-gitworktree.md -o ~/.claude/commands/gpt-cmdr-ras-commander-agents-start-gitworktree.md

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

What Agents Start Gitworktree does

You are starting a new git worktree for isolated agent work. This command creates a worktree, registers it in the tracking system, and ensures you can identify your workspace even after context resets.

Your Task

1. Gather Information

First, determine the worktree purpose by asking the user OR inferring from context:

  • If user provided a purpose: Use it directly
  • If no purpose given: Ask "What is the purpose/feature for this worktree?"

Generate a branch name from the purpose:

Alternatives in Git

  • CCometixLine — A high-performance Claude Code statusline tool written in Rust with Git integration and real-time usage tracki 2.4k ★
  • Merge Command — Finalize worktree work: update docs, commit, merge to main, clean up 1.3k ★
  • Claude Code Statusline — by rz1989s - Enhanced 4-line statusline for Claude Code with themes, cost tracking, and MCP server monitoring 398 ★

Full documentation available on GitHub

View Source Repository