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.
npx skills add mschulkind-oss/yolo-jail --skill yolo-ghgit clone --depth 1 https://github.com/mschulkind-oss/yolo-jailWrote 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.
[](https://agentmods.dev/skills/mschulkind-oss/yolo-jail/yolo-gh)<a href="https://agentmods.dev/skills/mschulkind-oss/yolo-jail/yolo-gh"><img src="https://agentmods.dev/badge/skills/mschulkind-oss/yolo-jail/yolo-gh/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.
<a href="https://agentmods.dev/skills/mschulkind-oss/yolo-jail/yolo-gh"><img src="https://agentmods.dev/badge/skills/mschulkind-oss/yolo-jail/yolo-gh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.01454 |
| Opus 5.5 | $0.00018 | $0.00582 |
| Sonnet 5.5 | $0.00009 | $0.00291 |
| Haiku 4.5 | $0.00004 | $0.00145 |
Grade A, and why
yolo-gh 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.
How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
gh in this jail
gh here is ~/.yolo/bin/block/gh, the github pack's forwarder, not a blocker. Each call goes
to the github-broker on the host, which runs the host's own gh login against this workspace's
GitHub repositories. The jail holds no GitHub token; gh auth status names the login.
-
The broker grants nothing until the user's config does. A call refused with
no read grantmeans the user has not granted read access. Ask them to run this in a host terminal, in this workspace, directly (not throughyolo host-run), and answer y to the approval it offers:yolo allow github always read(A user config still in JSONC needs
yolo config migratefirst; the command says so.) You cannot grant it from the jail. -
With the read grant, reads run, and their output and exit codes are
gh's own.--jqand--templatework as ingh, and so does piping--jsonoutput intojq. -
Some writes run without asking. With a
create-pr(orcreate-issue) grant, which the user adds withyolo request github create_prin this workspace and approves withyolo config applyon the host,gh pr create(orgh issue create) runs, and the PR or issue it creates joins this workspace's working set. Comments and edits on a PR or issue in the working set run too (comment, edit, a review that comments or requests changes, ready, close, reopen, and the samegh apiwrites under itspulls/{n}orissues/{n}), until the PR is merged. An approval (gh pr review --approve, or a reviewevent=APPROVE) and a merge always ask; so does agh apireview whose verdict is not a plain-f event=…, and anyDELETE. Name a PR or issue by its number, not a branch: a write without a number always asks. -
With a
runsgrant naming a workflow file (or*), which the user adds withyolo request github runs <file>and approves the same way, three things run unasked:gh workflow run <file>on the repository's default branch only (omit--refor pass the default branch's name; name the workflow by its file name,nightly.yml, not its id or display name);gh run rerun <run-id>(with--failed,--debug, or--job <job-id>in place of the run id) of a run of that workflow on the default branch of the repository itself; andgh run cancel <run-id>of any run in the repository. A run or re-run on any other branch, of a fork, or without a numeric id asks. -
With an
approve-rungrant naming a GitHub login (or*), which the user adds withyolo request github approve_runs <login>(such as'github-actions[bot]') and approves the same way,gh api -X POST repos/OWNER/REPO/actions/runs/<id>/approveruns unasked for a run that login triggered whose head is the repository itself. A fork's run always asks. -
Every other in-scope write files a pending request, waits briefly for the host, and is refused with a menu of every answer, each command on its own line:
yolo approve <id>once,--for 15mfor that kind of write on it for a time, and, for a creation, the project request thenyolo config apply. The human runs these directly on the host, not throughyolo host-run. Relay the whole menu, each command alone in its own code block, recommend one path, and startyolo wait <id>in the background; on exit 0, run the same command again, once. An Allow once binds command, repository and stdin digest, is one use, and expires after 15 minutes; a legacy set-wide grant is not spent. A configuredon_requesthook is optional; its output is never consent. -
Exit 64 is a refusal, and its message says why and what to do instead. Refused: anything that could print the credential or reach the host, a repository outside this workspace's scope, and every call across the account. Raw
gh api graphqlis always refused;gh's own commands (gh pr view,gh issue list, …) use GraphQL inside and work. -
A repository this workspace has no remote for stays out of scope until the user approves it. Run
yolo request repos <alias> github.com/OWNER/REPO, which writes this project's config (if it refuses because the config file is read-only here or cannot take the key, ask the user to run the same command on the host, in this workspace). Then runyolo config check, and ask the user to runyolo config applyon the host, in this workspace, and answer y to the repository-scope prompt. In a jail started by this yolo, the running broker takes the repository at its next call; an older one needs a restart. Nothing changes before that y. -
A wildcard entry reaches more than one repository:
*/*is every repository the host login can reach,OWNER/*is one owner's,*/REPOis that name under any owner. A whole segment is the only wildcard form. Use one only when the user asks for that reach; it widens only the repository scope. Writes still require exact host approval unless a grant or the working set covers them, and commands that act across the account remain refused (a search with no--repo,gh repo list,gh status). -
In a
gh apipath, percent-encode a slash in a branch name as usual:repos/OWNER/REPO/branches/MS%2Fmain. -
Exit 69: no broker in this jail, or no
ghlogin on the host.
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.
- 16d ago First seen · 77 lines · 44 tokens per session scan A b43acef1e3c6
yolo-gh is a skill published in the GitHub repository mschulkind-oss/yolo-jail (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 44 tokens to every session and 1,454 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.
yolo-gh compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| yolo-ghmschulkind-oss/yolo-jail | Skill | 6 | yesterday | Apache-2.0 | A | 44 | Claude Code, Codex |
| standup-updategszr/lunar | Skill | 21 | 25d ago | MIT | A | 49 | Claude Code, Codex |
| lunar-attributiongszr/lunar | Skill | 21 | 25d ago | MIT | A | 30 | Claude Code, Codex |
| code-quality-reviewthixpin/pitway | Skill | 20 | 1mo ago | MIT | A | 79 | Claude Code, Codex |
| gjalla-prepare-and-commitgjalla/engineering | Skill | 3 | 2mo ago | none | A | 30 | Claude Code |
| release-and-rollback-safetyChloeVPin/open-agent-skills | Skill | 2 | 2mo ago | none | A | 50 | Claude Code, Codex |
| safe-git-workflowChloeVPin/open-agent-skills | Skill | 2 | 2mo ago | none | A | 56 | Claude Code, Codex |