Agents Close Gitworktree
Description
You are closing out a git worktree after completing (or abandoning) work. This command updates the tracking registry and optionally removes the worktree. ## Your Task ### 1. Identify the Worktree to Close Options: - **Current worktree**: Detect from `git branch --show-current` - **User-specified**: Ask if multiple options exist - **From registry**: Read `agent_tasks/git_worktree_status.md` and let user choose ```bash # Get current branch CURRENT_BRANCH=$(git branch --show-current) # List al
Installation
Installs to ~/.claude/commands/gpt-cmdr-ras-commander-agents-close-gitworktree.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/gpt-cmdr/ras-commander/HEAD/.claude/commands/agents-close-gitworktree.md -o ~/.claude/commands/gpt-cmdr-ras-commander-agents-close-gitworktree.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git mcp-server-github
GitHub API integration for repos, issues, PRs.
Git