Skip to content
Back to skills

Yolo Claude

ASecurity

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.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgobashgit

Works with

  • claude code

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add mschulkind-oss/yolo-jail --skill yolo-claude --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Yolo Claude?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Yolo Claude
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mschulkind-oss-yolo-claude/badge)](https://www.skillsdirectory.com/skills/mschulkind-oss-yolo-claude)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.