yolo-jail: Instructions file for Codex

AGENTS.md

yolo-jail AGENTS.md is an instructions file for Codex, OpenCode from mschulkind-oss/yolo-jail. It costs 9,251 tokens per session, scanned A, original, Apache-2.0.

Developer instructions for YOLO Jail, a system that runs coding agents in an isolated container while keeping host credentials and identity out of the container.

In plain words
What is it for?
Use them when developing, testing, configuring, or deploying YOLO Jail and its agent or loophole packs.
Why use it?
They document the project structure and rules that prevent agents from bypassing the isolation model.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

This is mschulkind-oss/yolo-jail's own configuration. It tells Codex and OpenCode how to work on yolo-jail itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything yolo-jail configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mschulkind-oss/yolo-jail. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mschulkind-oss/yolo-jail/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/mschulkind-oss/yolo-jail

Made for: Codex, OpenCode.

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-jail AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mschulkind-oss/yolo-jail/agents-md"><img src="https://agentmods.dev/badge/instructions/mschulkind-oss/yolo-jail/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9,251 This file is loaded in full into every session.
When invoked 9,251 The same file — it is already loaded in full.
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.09251 $0.09251
Opus 5.5 $0.03700 $0.03700
Sonnet 5.5 $0.01850 $0.01850
Haiku 4.5 $0.00925 $0.00925

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

Security

Grade A, and why

yolo-jail AGENTS.md 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 3d 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.

AGENTS.md · 419 lines

How it starts

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

YOLO Jail: Agent Developer Guide

yolo-jail manages the environment a coding agent works in — the agents, their config, skills and house rules, tools and credentials — declaratively and per workspace, and renders it wherever the agent runs. Confinement is one setting of that description: a jail (a container, or a dedicated macOS account) is the strongest and the default, and yolo host is none.

Describe yolo environment-first and confinement second in every tagline, summary and guide. The charter is what-yolo-is.md, ruled in its one-sentence answer.

This file is the guide for developing yolo-jail itself, and it is deliberately terse: each rule keeps its imperative, the file that enforces it, and its escape hatch — the linked authority carries the measurement and the history that produced it. Where this file and a linked authority disagree, the authority wins. Keep it that way: a new entry is one rule plus its enforcer and hatch; a rule a test already enforces with a clear failure needs only the test's name. Usage and config reference material is not here; see Where things live.

Packs, and what core does not know

AGENTS ARE PACKS. Core does not know what an agent is. No agent registry, no agents config key, no YOLO_AGENTS. Config carries ONE list of packs; shipped packs live in packs/*/pack.json and are selected by BARE NAME — "packs": ["claude"]. internal/config/validate.go hard-errors on agents on the host (and warns in-jail, where the config is the generated snapshot).

A pack that installs an agent is just one that declares a kind: "program" surface, and most shipped packs install no CLI at all. rg -l '"kind": "program"' packs/*/pack.json lists the packs that install something and rg -l loophole packs/*/pack.json the loophole list; writing either membership down here is what rots. Two structural facts, not guessable from a manifest:

Read the full file on GitHub · 419 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. 3d ago Changed · +13 lines · +315 tokens per session f1246f13db6e
  2. 4d ago Changed · -229 lines · -5,583 tokens per session a9d00a6c4e3b
  3. 6d ago Changed · -9 lines · -268 tokens per session 468b00ecd20c
  4. 8d ago Changed · -1 lines · -95 tokens per session 21f390387932
  5. 11d ago Changed · +2 lines · +45 tokens per session 765912ca5c6f
  6. 15d ago Changed · -11 tokens per session 1c180a75b1d0
  7. 17d ago Changed · +15 lines · +397 tokens per session bef6b2f0150f
  8. 19d ago Changed · +27 tokens per session 378c27af501d
  9. 21d ago Changed · +23 lines · +679 tokens per session c42dbfeac265
  10. 22d ago First seen · 605 lines · 13,745 tokens per session scan A f207131771e5

Subscribe to this mod's changes

yolo-jail AGENTS.md is an instructions file published in the GitHub repository mschulkind-oss/yolo-jail (3 stars, last pushed today), licensed Apache-2.0. It adds 9,251 tokens to every session, about $0.0370 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-08-31.

Related

Other instructions, from other repositories