yolo-pi

yolo-pi is a skill for Claude Code, Codex from mschulkind-oss/yolo-jail. It costs 48 tokens per session (648 once invoked), scanned A, original, Apache-2.0.

A guide to running Pi tasks under YOLO and waiting for them to finish in the background. It also explains where Pi subagent worktrees are stored and when temporary worktrees are retained or removed.

In plain words
What is it for?
Use it to relay commands to Pi, wait for completion notifications, configure durable worktree storage, and inspect unfinished subagent work.
Why use it?
It helps background work wake the agent when complete and prevents useful changes from disappearing with a temporary container. It also clarifies which worktree location settings take priority.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to relay commands to Pi, wait for completion notifications, configure durable worktree storage, and inspect unfinished subagent work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mschulkind-oss/yolo-jail/yolo-pi
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mschulkind-oss/yolo-jail --skill yolo-pi
Clone the repo
git clone --depth 1 https://github.com/mschulkind-oss/yolo-jail

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for yolo-pi

README.md
[![agentmods](https://agentmods.dev/badge/skills/mschulkind-oss/yolo-jail/yolo-pi/github.svg)](https://agentmods.dev/skills/mschulkind-oss/yolo-jail/yolo-pi)
Your own site
<a href="https://agentmods.dev/skills/mschulkind-oss/yolo-jail/yolo-pi"><img src="https://agentmods.dev/badge/skills/mschulkind-oss/yolo-jail/yolo-pi/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for yolo-pi

Your own site · 80×15
<a href="https://agentmods.dev/skills/mschulkind-oss/yolo-jail/yolo-pi"><img src="https://agentmods.dev/badge/skills/mschulkind-oss/yolo-jail/yolo-pi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 648 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.00648
Opus 5.5 $0.00019 $0.00259
Sonnet 5.5 $0.00010 $0.00130
Haiku 4.5 $0.00005 $0.00065

Measured 16d ago against content hash a4bc8b34c2c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

yolo-pi scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packs/pi/skills/yolo-pi/SKILL.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

pi under yolo

Waiting on the host in Pi

Start yolo wait r-<id> (or yolo wait <label>) with background_task and completionPolicy: "wake", in the same turn as you relay the human's commands: its exit wakes you.

Where pi's workflow tools put worktrees

pi-subagents makes a worktree: true run's worktrees in the system temp dir unless told otherwise: /tmp, which a container jail deletes when it exits. So where $YOLO_DURABLE_DIR is set, yolo's extension ~/.pi/agent/extensions/yolo-durable-worktrees.js sets worktreeBaseDir in ~/.pi/agent/extensions/subagent/config.json to $YOLO_DURABLE_DIR/worktrees/pi-subagents, and they go there. A PI_SUBAGENTS_WORKTREE_DIR already set, or a user-configured worktreeBaseDir, wins. pi-subagents removes a run's worktree only when nothing in it would be lost; one holding work it could not capture as a patch, and one whose run was cut short, stays. Where their directory lies beneath $YOLO_DURABLE_DIR (yolo's, or a PI_SUBAGENTS_WORKTREE_DIR you set there), the same extension bounds them: at most once an hour it removes, with git worktree remove, each pi-worktree-* worktree there that is clean (with no edit the index hides from git status), on a branch, in no rebase, merge or other git operation, without submodules, unlocked, used by no process in this jail and idle for a day. Its branch stays, so a commit made there is not lost, unless it is a pi-subagents/* branch whose commit another branch or a tag holds. Files the worktree ignores go with it. Every other worktree is kept and listed, with the reason, in that directory's .yolo-reap.json: remove it yourself once its work is saved.

pi-dynamic-workflows puts its worktrees in the repository's .pi/worktrees/, which it has no setting to change. They survive a restart. Unless the repository ignores .pi/worktrees/, git status lists it: never git add it.

Neither place is a pattern for a worktree you make yourself. Put that 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.

Read the full file on GitHub · 40 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago First seen · 40 lines · 48 tokens per session scan A a4bc8b34c2c7

Subscribe to this mod's changes

yolo-pi is a skill published in the GitHub repository mschulkind-oss/yolo-jail (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 48 tokens to every session and 648 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-14.

Related

yolo-pi compared with skills from other repositories

yolo-pi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
yolo-pimschulkind-oss/yolo-jailSkill6yesterdayApache-2.0A48Claude Code, Codex
standup-updategszr/lunarSkill2125d agoMITA49Claude Code, Codex
lunar-attributiongszr/lunarSkill2125d agoMITA30Claude Code, Codex
code-quality-reviewthixpin/pitwaySkill201mo agoMITA79Claude Code, Codex
gjalla-prepare-and-commitgjalla/engineeringSkill32mo agononeA30Claude Code
release-and-rollback-safetyChloeVPin/open-agent-skillsSkill22mo agononeA50Claude Code, Codex
safe-git-workflowChloeVPin/open-agent-skillsSkill22mo agononeA56Claude Code, Codex