Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    zeroae

    worktree

    zeroae/worktree
    DevOps
    1 installs

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    Use when user says "/worktree", asks to create a worktree, switch worktrees, list worktrees, check worktree status, or work on a GitHub issue in isolation.

    SKILL.md

    Git Worktree Manager

    Manage git worktrees with all worktrees stored in a sibling directory.

    Directory Convention

    Given a repository at /path/to/repo, worktrees are stored at:

    /path/to/repo.worktrees/<branch-name>/
    

    Modes

    Mode Triggers Description
    Add /worktree add <branch>, /worktree <branch>, /worktree #<issue> Create worktree
    Status /worktree status Show PR/CI status table
    List /worktree, /worktree list List and select worktrees
    Remove /worktree remove <branch>, /worktree rm <branch> Remove worktree
    Prune /worktree prune Clean stale references

    Mode Detection

    When this skill is invoked, arguments follow the skill name (e.g., /worktree status passes "status" as arguments).

    IMPORTANT: Before doing anything else, identify the mode from the invocation arguments:

    Arguments Mode Instructions
    (none) or list List Read list.md
    status Status Read status.md
    #<number> or just a number Add (from issue) Read add.md
    add <branch> or just <branch> Add (branch) Read add.md
    remove <branch> or rm <branch> Remove Read remove.md
    prune Prune Read prune.md

    First action: Read the appropriate .md file for your detected mode, then follow those instructions exactly.

    Important Notes

    1. Always use the sibling directory convention (repo.worktrees/)
    2. Branch names can contain slashes (e.g., feat/new-feature)
    3. Run commands separately - Don't use compound commands with && or variable assignment
    Recommended Servers
    GitHub
    GitHub
    Bitbucket
    Bitbucket
    Gitlab
    Gitlab
    Repository
    zeroae/zae-limiter
    Files