Worktree

Spin up an isolated, sandboxed git worktree for a long-running/autonomous agent. Creates the worktree in a central tree (~/projects/worktrees/<repo>/<name>, never under a repo's .claude/) and seeds it with a .claude/settings.local.json that enables the OS sandbox so bash + git run hands-off, confined to the worktree. Use when the user wants to "spin up a worktree for an agent", run unattended/long-running work, or avoid babysitting bash permission prompts.

ooshka Updated

File contents

ooshka/codex-skills/tree/main/claude/worktree commit 06c7804c00

Frequently asked questions

npx skillmds@latest add ooshka/worktree