Claude Code under yolo: how to start `yolo wait` in the background, where Claude Code's own worktrees go, and where to put a worktree you make yourself.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Yolo Claude?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mschulkind-oss-yolo-claude)
---
name: yolo-claude
description: "Claude Code under yolo: how to start `yolo wait` in the background, where Claude Code's own worktrees go, and where to put a worktree you make yourself."
---
# Claude Code under yolo
## Waiting on the host in Claude Code
Start `yolo wait r-<id>` (or `yolo wait <label>`) with the Bash tool and `run_in_background: true`,
in the same turn as you relay the human's commands: its exit re-invokes you.
## Claude Code's own worktrees
Claude Code puts the worktrees it makes in the repository's `.claude/worktrees/`: those of
`claude --worktree`, of `EnterWorktree`, and of subagents and workflows that run in a worktree.
Leave them there; they survive a restart. Never make `.claude` or `.claude/worktrees` a symbolic
link, because Claude Code then refuses to make a worktree.
A worktree you make yourself with `git worktree add` is not one of these, and Claude Code's
cleanup keeps it until you remove it. Put it where the user or the project says; failing that,
where your briefing's storage guidance says. In a yolo jail where `$YOLO_DURABLE_DIR` is set, that
is `$YOLO_DURABLE_DIR/worktrees/<task>`; where that guidance says there is no durable directory,
ask the user.
If `git status` lists `.claude/worktrees/`, this repository does not ignore it: never `git add`
it, and tell the user, since the fix is a line in their `.gitignore`.