yolo-git

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

A guide to using Git remotes inside the YOLO environment through a host-side broker. It explains how remote reads and pushes use the host's credentials and how access grants affect them.

In plain words
What is it for?
Use it before fetching, pushing, or adding a remote, especially when checking broker status, requesting access, or reporting a refused push.
Why use it?
It explains why a fetch or push may fail without exposing credentials inside the jail. It also identifies when the broker is unavailable and when a remote is outside the permitted scope.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before fetching, pushing, or adding a remote, especially when checking broker status, requesting access, or reporting a refused push.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mschulkind-oss/yolo-jail/yolo-git
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-git
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-git

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mschulkind-oss/yolo-jail/yolo-git"><img src="https://agentmods.dev/badge/skills/mschulkind-oss/yolo-jail/yolo-git.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 1,551 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.01551
Opus 5.5 $0.00019 $0.00620
Sonnet 5.5 $0.00010 $0.00310
Haiku 4.5 $0.00005 $0.00155

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

Security

Grade A, and why

yolo-git 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/git/skills/yolo-git/SKILL.md · 94 lines

How it starts

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

git remotes in this jail

First check whether the broker runs for this jail: echo "${GIT_CONFIG_COUNT:-unset}".

  • unset: the git broker did not start for this launch. It runs whenever the git pack is selected, so this is a backend that runs no host services (Apple Container) or a broker that failed to start. Plain git behaves exactly as it would without the git pack: no remote is rewritten, and a remote that needs a credential fails for want of one, since the jail holds none. Ask the user to run yolo check on the host, in this workspace.
  • A number: the broker runs. This jail's git is the real one, but its ssh://, git+ssh://, ssh+git://, https:// and git@ remotes go through the git pack's broker on the host: GIT_CONFIG_COUNT and the GIT_CONFIG_KEY_<n> variables rewrite them to yolo::<url>, and git runs git-remote-yolo (~/.yolo/bin/block/git-remote-yolo, a forwarder to yolo git-remote). The host connects with its own credentials, its SSH keys or agent for an SSH remote and its git credential helper for an HTTPS one; the jail holds no git credential.

With the broker running:

  • It grants nothing until the user's config does. SSH fetches and pushes refused with no read grant mean the user has not granted read access. Ask them to run this in a host terminal, in this workspace, directly (not through yolo host-run), and answer y to the approval it offers:

    yolo allow git fetch
    

    (A user config still in JSONC needs yolo config migrate first; the command says so.) The running broker takes it at its next call. You cannot grant it from the jail, and a workspace config edit does not either. A public HTTPS fetch is the exception: it is tried anonymously, and never asks the host credential helper.

  • With the read grant, git fetch, git pull and git ls-remote work against this workspace's approved remotes, over SSH or HTTPS. An HTTPS credential is used only after that exact remote and read grant are approved.

  • A push goes through unasked only when the user granted it ahead of time. With a create-branch grant on the repository, you may push a branch that does not exist on the remote yet; once the remote accepts it, it joins this workspace's working set, and later pushes to it (updates, force-pushes, deletes) go through too, in this jail and in later ones. A branch grant in the workspace config declares a branch (such as main), or every branch a pattern matches (such as patch/*), in the working set too: you may create, push, force-push and delete it like one you created. A tag grant covers the tags it names (such as v*) the same way. Either may name one repository or "*", every approved remote. Unless the working set holds it, push your work to a new branch of your own, not to main or a branch someone else created.

  • Any other push of branches or tags asks the user. It files one request for the whole push and waits up to 30 seconds for an answer on the host. Allowed in that time, it goes through. Otherwise it is refused whole, nothing is pushed, each such ref's line in git's report names the request (! [remote rejected] <ref> (needs approval: r-<id>)), and the refusal lists every path that answers it, each command on its own line: yolo approve r-<id> once, --for 15m, the project request here then yolo config apply on the host, and the push from the host. Relay that whole menu, each command alone in its own code block (the human runs each one directly in a host terminal, never through yolo host-run), recommend one path, and start yolo wait r-<id> in the background; on exit 0, run the same push again, once. Allow once covers exactly that push, once, within 15 minutes: a different push (another commit, another ref) asks again. (needs approval: r-<id>, denied on the host) means the user said no: do not push it again without asking them. A new branch the user allowed once joins the working set like one a create-branch grant created. To push a branch without asking each time, request it here (or yolo request git new_branches for any new branch), which writes the workspace config:

Read the full file on GitHub · 94 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 · 94 lines · 48 tokens per session scan A 06509665204c

Subscribe to this mod's changes

yolo-git 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 1,551 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-git compared with skills from other repositories

yolo-git next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
yolo-gitmschulkind-oss/yolo-jailSkill6yesterdayApache-2.0A48Claude Code, Codex
gjalla-prepare-and-commitgjalla/engineeringSkill32mo agononeA30Claude Code
stacked-deliveryYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA60Claude Code
what-did-i-get-doneYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA45Claude Code
mcore-split-prNVIDIA/skillsSkill4.2k2d agoApache-2.0A25Claude Code
moai-ref-git-workflowmodu-ai/moai-adkSkill1.3ktodayApache-2.0A58Claude Code
request-apexyard-featureme2resh/apexyardSkill5556d agoMITA47Claude Code