A command-line utility for managing git worktrees with isolated profiles and databases.
Install
mkdir -p .claude/skills/wt-kernandrey && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13157" && unzip -o skill.zip -d .claude/skills/wt-kernandrey && rm skill.zipInstalls to .claude/skills/wt-kernandrey
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Manage git worktrees with client profiles (create, run, list, remove, template)Key capabilities
- →Create a new git worktree with client profiles
- →Run Odoo within a specific worktree context
- →Remove a worktree, its database, and branch
- →List active worktrees, databases, and client annotations
- →Create or refresh a template database for clients
How it works
This skill manages git worktrees by providing commands to create, run, remove, and list them, along with client-specific configurations for addons, template databases, and port assignments.
Inputs & outputs
When to use wt
- →Create git worktree
- →Switch client contexts
- →Manage development databases
- →List active worktrees
About this skill
Worktree Manager
Manages git worktrees with per-client addon paths, template DBs, and port assignment via ~/bin/wt.
Context
Gather before acting:
pwd
git branch --show-current
wt list
Commands
| Command | Description |
|---|---|
wt create [--client <name>] <branch> | Create worktree + DB from template |
wt run [--client <name>] <branch> | Start Odoo (blocking; auto-detects client) |
wt remove <branch> | Delete worktree + DB + branch |
wt list | Show worktrees, DBs, client annotations |
wt clients | List client profiles from .wt.toml |
wt template [--client <name>] [source_db] | Create/refresh template DB |
Execution
- If
$ARGUMENTSis empty — runwt list. - Otherwise run
wt $ARGUMENTS. - After
create— show path and next steps. - After
run— warn it's blocking. Suggestnohup wt run <branch> > /tmp/odoo-<branch>.log 2>&1 &. - If
create --clientfails on missing template — guide first-time setup below.
First-Time Client Template
# 1. Seed DB with client modules
python3 /home/kern/projects/freight-erp/vendor/odoo/odoo-bin \
-c docker/odoo-local.conf \
-d <seed_db> --without-demo=False \
--addons-path=vendor/odoo/addons,custom-addons,third-party-addons,clients/<client>/addons \
-i <modules> \
--db_host localhost --db_port 50010 --db_user odoo --db_password odoo \
--stop-after-init
# 2. Save as template
wt template --client <client> <seed_db>
Config (.wt.toml)
[clients.<name>]
addons = ["clients/<name>/addons"]
template = "template_<project>_<name>"
base_port = <port> # required; fallback 10000 if omitted
When not to use it
- →When not using git worktrees for development
- →When client profiles are not needed for project management
- →When managing Odoo instances without worktree isolation
Limitations
- →Requires a `.wt.toml` configuration file for client profiles
- →The `run` command is blocking
- →First-time client template setup requires manual database seeding
How it compares
This skill extends standard git worktree functionality by integrating client-specific profiles, enabling isolated development environments with custom addons and databases, which is more tailored than generic worktree usage.
Compared to similar skills
wt side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| wt (this skill) | 0 | 4mo | Review | Intermediate |
| resolve-conflicts | 81 | 8mo | Review | Intermediate |
| openspec-onboard | 10 | 6mo | Review | Beginner |
| codex-cli-bridge | 9 | 9mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
openspec-onboard
studyzy
Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
codex-cli-bridge
alirezarezvani
Bridge between Claude Code and OpenAI Codex CLI - generates AGENTS.md from CLAUDE.md, provides Codex CLI execution helpers, and enables seamless interoperability between both tools
skill-sync
KyleKing
Syncs Claude Skills with other AI coding tools like Cursor, Copilot, and Codeium by creating cross-references and shared knowledge bases. Invoke when user wants to leverage skills across multiple tools or create unified AI context.
github-workflow-automation
ruvnet
Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI/CD pipelines, and comprehensive repository management
git-advanced-workflows
wshobson
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.