diagnosing-the-jail

diagnosing-the-jail is a skill for Claude Code, Codex from mschulkind-oss/yolo-jail. It costs 50 tokens per session (1,728 once invoked), scanned A, original, Apache-2.0.

A troubleshooting guide for a restricted development environment, sometimes called a jail. It covers failed setup, blocked or replaced commands, unavailable tools, and fixes that have not taken effect.

In plain words
What is it for?
Use it to validate the jail, inspect provisioning failures, find blocked command shims, and investigate stale code or configuration. Examples include checking yolo-jail.jsonc, startup.log, and the shim directory.
Why use it?
It gives a fixed order for investigating unexpected command errors instead of guessing. It starts by checking the environment configuration and then points to startup logs and active command restrictions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/Shared/yolo.

Good fit Use it to validate the jail, inspect provisioning failures, find blocked command shims, and investigate stale code or configuration. Examples include checking yolo-jail.jsonc, startup.log, and the shim directory.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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 diagnosing-the-jail

README.md
[![agentmods](https://agentmods.dev/badge/skills/mschulkind-oss/yolo-jail/diagnosing-the-jail/github.svg)](https://agentmods.dev/skills/mschulkind-oss/yolo-jail/diagnosing-the-jail)
Your own site
<a href="https://agentmods.dev/skills/mschulkind-oss/yolo-jail/diagnosing-the-jail"><img src="https://agentmods.dev/badge/skills/mschulkind-oss/yolo-jail/diagnosing-the-jail/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 diagnosing-the-jail

Your own site · 80×15
<a href="https://agentmods.dev/skills/mschulkind-oss/yolo-jail/diagnosing-the-jail"><img src="https://agentmods.dev/badge/skills/mschulkind-oss/yolo-jail/diagnosing-the-jail.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,728 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.00050 $0.01728
Opus 5 $0.00025 $0.00864
Sonnet 5 $0.00010 $0.00346
Haiku 4.5 $0.00005 $0.00173

Measured 2d ago against content hash b9a95687d6f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

diagnosing-the-jail 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 2d 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.

internal/jailcontent/builtinskills/diagnosing-the-jail/SKILL.md · 151 lines

How it starts

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

Diagnosing the Jail

When something inside the jail misbehaves, work this triage tree top to bottom. Each step points at a live command — run its --help for detail rather than guessing flags.

1. Validate the config first

yolo check --no-build

This is the fast in-jail preflight: it validates yolo-jail.jsonc and the entrypoint without rebuilding the image. A [FAIL] here explains most "why won't it start / why did provisioning break" symptoms. Fix reported failures before anything else.

2. Provisioning failed → read the startup log

If tools the project expects are missing, the last boot's provisioning may have failed. Look for PROVISIONING FAILED in:

/workspace/.yolo/startup.log

Self-serve from there: e.g. run mise install in /workspace, then re-run the step that failed. (The briefing shows a ⚠ Provisioning failed banner on the next attach after a failed boot.)

2b. macOS only: permission denied writing inside the workspace

On the macos-user backend the jail runs as a separate macOS account (_yolojail), so the workspace has to be shared with it by an ACL entry. If it is not, writes fail with permission denied — during provisioning (six config generators failing at once is the signature) or later, whenever something first tries to write a path that was never shared.

yolo macos-fix-permissions <workspace>     # or with no path: every project under the shared root

Idempotent and safe to re-run at any time.

Why it happens. macOS applies an inheriting ACL entry when a directory is created, and never retroactively. yolo macos-setup shares everything under /Users/Shared/yolo and anything created there afterwards inherits the grant — so the case left over is a project moved or copied in later, because mv renames rather than creates and inherits nothing. (An ACL also names a UUID rather than a name, so entries made before the sandbox account was last deleted and recreated go inert while still reading correctly in ls -le.)

Read the full file on GitHub · 151 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. 2d ago Changed · +2 lines b9a95687d6f9
  2. 7d ago Changed · +33 lines 5519538e1322
  3. 12d ago First seen · 116 lines · 50 tokens per session scan A cf611ef6439c

Subscribe to this mod's changes

diagnosing-the-jail is a skill published in the GitHub repository mschulkind-oss/yolo-jail (2 stars, last pushed today), licensed Apache-2.0. It adds 50 tokens to every session and 1,728 once invoked, about $0.0003 per session on Opus 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-08-31.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

byted-util-volcengine-detect-retry

An orchestration workflow for Volcengine Cloud Detect, a service that checks websites or network endpoints from test locations.

bytedance/agentkit-samples · 101 tokens