Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

wt-switch-create — Claude Code skill: what it does, how to install

Creates a worktrunk worktree and switches the active session into it, optionally in another repository. Useful when isolating tasks or starting a session in a clean branch.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add max-sixty/worktrunk --skill wt-switch-create -a claude-code
Open on GitHub

What wt-switch-create does

The skill accepts an optional branch, repository path, and task prompt. If no branch name is provided, the agent derives one from the task description. When creating a worktree in the current repo, uncommitted edits are stashed via git stash push -u and reapplied in the new checkout.

You must have the wt CLI installed locally before using this command. When targeting another repository, the tool invokes wt -C, moves into the destination path, and reads root CLAUDE.md and AGENTS.md files so the agent follows the target repo instructions.

Moving into repos outside approved directories causes Claude Code to reset working directories unless the folder is listed in permissions.additionalDirectories.

What it helps with

  • spin up an isolated worktree for a specific task
  • switch the agent session into another repository
  • transfer uncommitted changes into a newly created branch
  • configure branch checkouts without manually typing CLI paths

Example prompts for the agent

  • /wt-switch-create my-feature -- fix the parser bug
  • /wt-switch-create feature-auth ~/workspace/backend -- update tokens
  • /wt-switch-create quick-fix

How to install wt-switch-create

1Skills CLI (Vercel)

npx skills add max-sixty/worktrunk --skill wt-switch-create -a claude-code

2Manually: put the files in place

~/.claude/skills/wt-switch-create/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/wt-switch-create/

Similar

cli-skill-collector cheaper-inference Detects installed coding CLI agents, discovers compatible skills on GitHub, and installs them using OmniRoute local APIs. Claude Code CX Codex Cursor +1 941installs simplify-code Hermes Agent (inspired by Claude Code /simplify) Reviews recent code changes through four parallel subagents and applies justified cleanup fixes. Use it after edits to simplify code that already works. Claude Code CX Codex Cursor +1 345installs debugging-wizard https://github.com/Jeffallan Investigates errors, stack traces, and logs to locate failure points. Use it for crashes, exceptions, regressions, or code that behaves unexpectedly. Claude Code CX Codex Cursor +1 5,100installs pr-workflow tursodatabase Enforces rules for atomic commits, clean PRs, dependency licensing, and secret hygiene. Useful for agents pushing code or running inside CI workflows. Claude Code CX Codex Cursor +1 1,200installs github-project-management ruvnet Turns issue triage and board upkeep into gh and ruv-swarm calls: labels, subtasks, duplicate lookup. Useful when the tracker holds more tickets than order. Claude Code CX Codex Cursor +1 1,400installs scrutinize thananon An outsider-perspective review skill for plans, pull requests, and diffs. It challenges intent first, traces execution paths beyond the diff, and flags structural flaws. Claude Code CX Codex Cursor +1 5,200installs triage Matt Pocock This skill moves issues and external PRs through triage states, verification, and agent briefs. It fits maintainers managing an issue queue. Claude Code 990,453installs code-review Matt Pocock Reviews changes from a chosen reference point against repository standards and the originating spec. Use it for a branch, PR, or work in progress. Claude Code 789,521installs

Questions about wt-switch-create

How to install wt-switch-create in Claude Code?

Run npx skills add max-sixty/worktrunk --skill wt-switch-create -a claude-code.

What does wt-switch-create do?

It provisions a new git worktree with worktrunk and points the current coding session to that checkout.

What are the prerequisites for wt-switch-create?

You must have the wt CLI installed. Without it, worktree commands fail immediately.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor