Show Me Your Work Decision Log
cursor/plugins
Keeps a TSV decision log for long or unattended agent runs, one row per decision with what, why, evidence and result, so a reviewer can check the work later.
Runaway guard: a hook that stops a live Claude Code or Codex session when the agent loops on the same tool call, keeps failing, or exceeds a dollar cap.
$ npx skills add RyanAlberts/best-of-Agent-Harnesses --skill runaway-guard -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install RyanAlberts/best-of-Agent-Harnesses runaway-guard --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/runaway-guard .claude/skills/runaway-guard && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "runaway-guard" agent skill from https://github.com/RyanAlberts/best-of-Agent-Harnesses/tree/main/skills/runaway-guard into .claude/skills/runaway-guard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "runaway-guard", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/RyanAlberts/best-of-Agent-Harnesses/tree/main/skills/runaway-guardType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add RyanAlberts/best-of-Agent-Harnesses --skill runaway-guard -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install RyanAlberts/best-of-Agent-Harnesses runaway-guard --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/runaway-guard .agents/skills/runaway-guard && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "runaway-guard" agent skill from https://github.com/RyanAlberts/best-of-Agent-Harnesses/tree/main/skills/runaway-guard into .agents/skills/runaway-guard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "runaway-guard", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add RyanAlberts/best-of-Agent-Harnesses --skill runaway-guard -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install RyanAlberts/best-of-Agent-Harnesses runaway-guard --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/runaway-guard .cursor/skills/runaway-guard && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "runaway-guard" agent skill from https://github.com/RyanAlberts/best-of-Agent-Harnesses/tree/main/skills/runaway-guard into .cursor/skills/runaway-guard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "runaway-guard", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/RyanAlberts/best-of-Agent-Harnesses.git --path skills/runaway-guard--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add RyanAlberts/best-of-Agent-Harnesses --skill runaway-guard -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install RyanAlberts/best-of-Agent-Harnesses runaway-guard --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/runaway-guard .gemini/skills/runaway-guard && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "runaway-guard" agent skill from https://github.com/RyanAlberts/best-of-Agent-Harnesses/tree/main/skills/runaway-guard into .gemini/skills/runaway-guard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "runaway-guard", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install RyanAlberts/best-of-Agent-Harnesses runaway-guardInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add RyanAlberts/best-of-Agent-Harnesses --skill runaway-guard -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/runaway-guard .github/skills/runaway-guard && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "runaway-guard" agent skill from https://github.com/RyanAlberts/best-of-Agent-Harnesses/tree/main/skills/runaway-guard into .github/skills/runaway-guard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "runaway-guard", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add RyanAlberts/best-of-Agent-Harnesses --skill runaway-guard -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install RyanAlberts/best-of-Agent-Harnesses runaway-guard --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/RyanAlberts/best-of-Agent-Harnesses.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/runaway-guard .opencode/skills/runaway-guard && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "runaway-guard" agent skill from https://github.com/RyanAlberts/best-of-Agent-Harnesses/tree/main/skills/runaway-guard into .opencode/skills/runaway-guard/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "runaway-guard", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
runaway-guardRunaway guard: a hook that stops a live Claude Code or Codex session when the agent loops on the same tool call, keeps failing, or exceeds a dollar cap.
Runaway Guard is an agent skill from RyanAlberts/best-of-Agent-Harnesses. Runaway guard: a hook that stops a live Claude Code or Codex session when the agent loops on the same tool call, keeps failing, or exceeds a dollar cap. Use when the user wants a spending cap, budget limit, or cost ceiling for interactive agent sessions (the built-in --max-budget-usd works only in print mode); wants to halt an agent that repeats the same command, is stuck in a loop, or runs up a bill unattended overnight; wants a circuit breaker for several failed tool calls in a row; or asks how much the current…
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts and reference files (for example `README.md`, `references/harness-hooks.md` and `references/how-it-decides.md`). Compatibility notes: Python 3.9+ on macOS or Linux, and Claude Code or Codex with hooks enabled. Makes no network calls.
It sits in Agent Workflows, covering Autonomous loops. The repository describes itself as: 🏆 Ranked list of 167 AI agent harnesses, plus templates, playbooks, MCP, and learning resources. Rescored weekly. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 4fa20bc. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 6 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3claudeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Python 3.9+ on macOS or Linux, and Claude Code or Codex with hooks enabled. Makes no network calls.
From compatibility in the SKILL.md frontmatter.
Runaway Guard loads about 2.6k tokens when it runs, and up to ~7.1k if it reads all its reference files. Until then it costs about 178 tokens; SKILL.md has 1,414 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from RyanAlberts/best-of-Agent-Harnesses at commit 4fa20bc, republished under its MIT licence (© RyanAlberts). 1,414 words, ~2,569 tokens.
.claude/skills/runaway-guard/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.An agent left alone can repeat a failing command, retry broken calls, or keep spending long after the
work stopped paying off, and Claude Code's --max-budget-usd cap works only in print mode. This skill
installs a hook (a command the harness runs before every tool call) that steps in at three trip
wires: the same call a third time with nothing changed, five failed calls in a row, and a dollar cap.
The hook reads the session's transcript files on this machine, keeps only counts and hashes, and sends
nothing anywhere.
session-waste-report.guardrail-tester.rules-to-guards.claude -p): its own --max-budget-usd and --max-turns flags cap it.references/harness-hooks.md says what each lacks.<skill-dir> means the folder that holds this SKILL.md (Claude Code shows it as the skill's base
directory). Run every command through python3 exactly as written, with the path in double quotes:
skill folders can sit under paths with spaces.
Explain the three trip wires and their defaults in plain words:
Done when the user has heard all three wires and the $10 default cap.
Ask for three choices: the dollar cap, the harness (Claude Code or Codex), and the scope (user: every session of this user; project: only sessions in the current project). Say that on a subscription plan the dollar figure measures usage at API prices, not the bill. Done when you have all three answers, or the user accepted the defaults: Claude Code, user scope, $10.
Show the dry run with the user's choices:
python3 "<skill-dir>/scripts/install.py" --harness claude-code --scope user --cap 10It prints the headline, the settings file it would change, the diff, and notes, and writes nothing.
Add --project <folder> for project scope when the agent's working folder is not the project.
Done when the user has seen the headline and the diff and has said yes or no.
Install only on a clear yes: run the same command with --write added. Done when the output
starts with the headline and says "Done". Exit code 2 means a settings file could not be read as
JSON, has an unexpected shape, or could not be written; nothing was changed. Quote the message,
and leave the file for the user to fix.
Relay the notes printed under "Notes", in particular:
/hooks.--uninstall, then install again
from the new place: the hook entry points at this folder.Done when every note is passed on.
Offer status:
python3 "<skill-dir>/scripts/status.py"Done when the user has the headline, or declined.
To remove the guard, run python3 "<skill-dir>/scripts/install.py" --uninstall, show the diff, and
add --write on a clear yes. With no --harness, --scope, or --settings, it checks all four places
the guard can be (Claude Code and Codex, user and project) and names each file it changes. It removes
only the guard's own entries, and puts a file back exactly as it was when nothing else changed it.
A blocked call comes back as a tool error that starts with "Runaway guard". Stop and pass the message to the user in your own words, naming the trip wire.
status.py included, and in Claude Code the turn ends.
Answer in text only. Give the user the two ways on that the message names, for them to use in their
own terminal: the setting that holds the cap (the file, or the RUNAWAY_GUARD_CAP_USD variable), and
the status.py ... --reset command. To see the counts, they run python3 "<skill-dir>/scripts/status.py"
there too. The cap is theirs to lift.install.py:
--cap, the guard's settings
files, and any RUNAWAY_GUARD_* variable set in the shell.disableAllHooks.--json for an install: headline, action, settings_path, config_path, command, cap_usd,
limits, changed, written, other_hooks, notes. For --uninstall: headline, action,
hook_entries_removed, changed, written, notes, and targets (each file checked, with
removed and restored_exactly).status.py (defaults to the session the guard checked most recently; --session takes an id or its
first characters, --list shows every session):
--json: session, spent_usd, total_usd, cap_usd, limits, trips, recent_trips,
failure_streak, transcripts, estimated_usd, estimated_tokens, estimated_models, resets,
errors_logged.references/how-it-decides.md has every rule, threshold, setting, and safeguard, with calibration on
real sessions; references/harness-hooks.md has what each harness's hooks allow, with sources.
After an install or a dry run:
--cap was given.For status:
scripts/guard.py: the hook. Reads the hook input on stdin and prints a decision. Always exits 0,
and lets the call through on any internal error, logging it to errors.log in the state folder.scripts/install.py: prints the settings change and applies it with --write; --uninstall
removes only the guard's entries. Flags: --harness, --scope, --project, --cap, --settings,
--json, --out.scripts/status.py: spend and trip counts per session; --list, --session, --reset, --json,
--out.scripts/transcripts.py, scripts/pricing.py, scripts/safe.py: the shared transcript reader, price
table, and text cleaner that puts session ids, tool names, and model ids in the report inside inline
code, copied from this repository's shared code.references/how-it-decides.md: the trip wires, thresholds, settings, safeguards, and speed.references/harness-hooks.md: hook support in Claude Code, Codex, Gemini CLI, Cursor, and OpenCode.© RyanAlberts, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 10 other files (scripts, references) in skills/runaway-guard of RyanAlberts/best-of-Agent-Harnesses.
Open the folder on GitHubat commit 4fa20bc
Runaway Guard next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Runaway Guard this skillRyanAlberts/best-of-Agent-Harnesses | 1.1k | — | ~2.6k | Automated safety check: Pass | MIT | |
| Show Me Your Work Decision Logcursor/plugins | 11k | 8 repos | ~1.6k | Automated safety check: Pass | None | |
| Autoresearch Iteration Loopuditgoenka/autoresearch | 6.5k | 1 repos | ~2k | Automated safety check: Pass | MIT | |
| Install Loop Engineeringcobusgreyling/loop-engineering | 11k | 1 repos | ~648 | Automated safety check: Pass | MIT | |
| LoopyForward-Future/loopy | 3.2k | — | ~3.9k | Automated safety check: Pass | MIT | |
| AI Performance Improvement Plantanweai/pua | 20k | 2 repos | ~6.9k | Automated safety check: Pass | MIT |
cursor/plugins
Keeps a TSV decision log for long or unattended agent runs, one row per decision with what, why, evidence and result, so a reviewer can check the work later.
uditgoenka/autoresearch
Runs an autonomous modify, verify, keep-or-discard loop against any metric, with subcommands for planning, debugging, fixing, security audits, shipping and more.
cobusgreyling/loop-engineering
Installs Loop Engineering into a project through the single @cobusgreyling/loop CLI, scaffolding a report-only loop and a readiness score.
Forward-Future/loopy
Discover, find, compare, audit, repair, adapt, craft, run, debrief, save, and prepare repeatable AI-agent loops for publication.
tanweai/pua
Pushes an agent to exhaust every option, investigate before asking and take initiative beyond the literal request, instead of giving up or waiting passively.
loopx-project/loopx
Diagnoses surprising LoopX behavior, such as stale recommendations or tiny progress, assigns it to the responsible layer and repairs it at the lowest durable level.
RyanAlberts/best-of-Agent-Harnesses
Checks which instruction files (AGENTS.md, CLAUDE.md, GEMINI.md, Cursor rules, Copilot instructions) each coding agent loads from a repo, what gets cut or skipped, and whether the commands those…
RyanAlberts/best-of-Agent-Harnesses
Claim checker that audits a coding agent's statements that tests pass or a build is clean against its own session transcripts: whether a matching run happened before the claim, whether it passed…
RyanAlberts/best-of-Agent-Harnesses
Guardrail tester that checks whether the permission rules and PreToolUse hooks already set up in Claude Code, Codex, Gemini CLI, OpenCode, or Cursor stop a battery of dangerous commands, including…
RyanAlberts/best-of-Agent-Harnesses
Test-drives coding agents (Claude Code, Codex, Gemini CLI) on tasks mined from the user's own git history: each agent gets a past commit message in a fresh copy of the repo, and the repo's own tests…
RyanAlberts/best-of-Agent-Harnesses
Regression check for coding agents: shows how the agent behaved before and after each harness update, model switch, or week in the user's own Claude Code or Codex history, and finds the point where…
RyanAlberts/best-of-Agent-Harnesses
Rule enforcer that finds which written rules in AGENTS.md, CLAUDE.md, and GEMINI.md a coding agent keeps breaking, counts every violation in recent Claude Code, Codex, Gemini CLI, and OpenCode…
Categories
Runaway guard: a hook that stops a live Claude Code or Codex session when the agent loops on the same tool call, keeps failing, or exceeds a dollar cap. Runaway Guard is an agent skill from RyanAlberts/best-of-Agent-Harnesses. Runaway guard: a hook that stops a live Claude Code or Codex session when the agent loops on the same tool call, keeps failing, or exceeds a dollar cap.
Runaway Guard fits situations like: the user wants a spending cap; cost ceiling for interactive agent sessions (the built-in --max-budget-usd works only in print mode); wants to halt an agent that repeats the same command; is stuck in a loop.
Run `npx skills add RyanAlberts/best-of-Agent-Harnesses --skill runaway-guard -a claude-code`. Or copy the skill folder (skills/runaway-guard in RyanAlberts/best-of-Agent-Harnesses) into .claude/skills/runaway-guard in your project. Claude Code loads it when a task matches its description.
Run `npx skills add RyanAlberts/best-of-Agent-Harnesses --skill runaway-guard -a codex`. Or copy the skill folder (skills/runaway-guard in RyanAlberts/best-of-Agent-Harnesses) into .agents/skills/runaway-guard in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add RyanAlberts/best-of-Agent-Harnesses --skill runaway-guard -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/runaway-guard, .gemini/skills/runaway-guard, .github/skills/runaway-guard and .opencode/skills/runaway-guard in your project.
Going by SKILL.md and its folder, Runaway Guard needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and claude). Our summary lists: Python 3. Compatibility (from SKILL.md): Python 3.9+ on macOS or Linux, and Claude Code or Codex with hooks enabled. Makes no network calls..
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Runaway Guard is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Runaway Guard: Show Me Your Work Decision Log (cursor/plugins, 11k stars), Autoresearch Iteration Loop (uditgoenka/autoresearch, 6.5k stars), Install Loop Engineering (cobusgreyling/loop-engineering, 11k stars) and Loopy (Forward-Future/loopy, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
RyanAlberts (a GitHub user) maintains it in RyanAlberts/best-of-Agent-Harnesses, which has 1,133 GitHub stars. The repository was last updated on October 9, 2026.
Source: RyanAlberts/best-of-Agent-Harnesses on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.