Ce Worktree
Git worktree setup that detects existing isolation first, then prefers native harness tools before falling back to plain git.
- CCM score
- 78 of 100
- skills.sh installs
- 3.2K
- GitHub stars
- 26.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers creating a fresh branch for new work or attaching a worktree to an existing branch, PR, or commit
- Runs detection first by comparing resolved absolute git dirs, so it works in an existing linked worktree instead of nesting another one
- Enforces one-branch-one-worktree rules, and creates a detached worktree for PRs only when fork-safe push tracking is not needed
- Designed for agent harnesses that manage worktrees natively, with plain
git worktree addas the fallback when no native tool exists
Install
$ npx -y skills add everyinc/compound-engineering-plugin --skill ce-worktree -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Worktree Isolation
Ensure the current work happens in an isolated workspace, without disturbing the user's main checkout. Most coding harnesses now create a worktree by default at session start, so the common case is that isolation already exists.
Done when: the caller is working in an isolated tree — existing or newly created — and its path and branch have been reported, or a blocker has been reported instead.
Order of operations: detect existing isolation -> prefer a native worktree tool -> fall back to plain git. Never create a worktree the harness cannot see.
Two modes, set by the caller's need:
Details
- Repository
- github.com/everyinc/compound-engineering-plugin
- Categories
- Git & Releases, Agent Workflow & Planning
- First seen
- Jun 3, 2026
Questions
What does the ce-worktree skill do for Claude Code?
ce-worktree sets up isolated git worktrees so agent work happens away from your main checkout. It can create a fresh branch for new work, or attach a worktree to an existing branch, pull request, or commit, and it first checks whether isolation already exists.
How do I install the ce-worktree skill?
Run npx -y skills add everyinc/compound-engineering-plugin --skill ce-worktree -y inside your project. After that, the agent can set up isolated worktrees when you start separate work or isolate an existing ref.
Which skills lead ce-worktree in the Git and Releases category?
ce-worktree is in the Git and Releases category and ranks in the top 100 there. Other skills in the category include triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit and pr.
Can ce-worktree check out a pull request for review?
Yes, for PRs it fetches the pull request head into a local branch and creates a worktree on that branch, so fix commits update the PR. If the ref is already checked out in another worktree, it reports that path instead of creating a second worktree.
More from everyinc/compound-engineering-plugin
All 32- Ce Test Browser3.2K
- Ce Proof3.2K
- Ce Strategy3.2K
- Ce Test Xcode3.1K
- Ce Product Pulse3.1K
- Ce Riffrec Feedback Analysis3K
- Ce Work Beta1.8K
- Ce Release Notes1.8K
- Ce Polish Beta1K
- Setup388
- Proof273
- Test Xcode252
- Resolve Pr Feedback243
- Test Browser236
- Slfg166
- Ce Brainstorm4.3K
- Ce Code Review4.1K
- Ce Plan4K
- Ce Compound4K
- Ce Doc Review3.9K
- Ce Work3.9K
- Ce Simplify Code3.8K
- Ce Debug3.7K
- Lfg3.7K
Similar to Ce Worktree
More Git & Releasesusing-git-worktreesobra/superpowers244.2K installsIsolated git worktree setup that prefers native harness tools and falls back to manual git worktrees safely.
ce-commiteveryinc/compound-engineering-plugin3.6K installsCreate local git commits with explicit file lists and outcome-focused messages, without pushing or opening a PR.
git-worktree-manageralirezarezvani/claude-skills609 installsParallel Git worktree setup that isolates branches, ports, and env files for multi-agent or multi-session work.
git-worktreesneolabhq/context-engineering-kit1.2K installsGit worktree commands and workflow patterns for parallel development across multiple branches in separate directories.
parallel-worktreesrohitg00/pro-workflow189 installsGit worktree workflow for running parallel AI coding sessions across branches without interference.