Lody: Skill for Claude Code

.agents/skills/failure-containment-review/SKILL.md

failure-containment-review is a skill for Claude Code, Codex from LodyAI/Lody. It costs 51 tokens per session (2,004 once invoked), scanned A, original, Apache-2.0.

A code-review procedure for finding changes that weaken how a Lody system contains failures, especially around release, shutdown, retries, readiness, transport, or cached data. It compares a change with its base version and checks the relevant repository rules.

In plain words
What is it for?
Use it to review Lody pull requests or local lifecycle and synchronisation changes, inspect the correct comparison base, and report concrete regressions with file and line references.
Why use it?
It helps distinguish new failure-containment regressions from behaviour that was already present. It also prevents reviews from overlooking local, uncommitted, or pull-request changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md; mentions Codex.

This is LodyAI/Lody's own configuration. It tells Claude Code and Codex how to work on Lody 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 Lody configures →

About the project

Lody is a shared workspace that connects coding agents running on different computers and lets people view and direct their work from desktop, mobile, web, or a command line. Teams use it to share agent conversations, monitor progress and code changes, and assign work to connected machines while retaining their existing agents and configurations.

LodyAI/Lody · 1,640 stars · on GitHub · lody.ai

Reuse

Borrowing it

Nothing to install: this file belongs to LodyAI/Lody. 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/LodyAI/Lody/main/.agents/skills/failure-containment-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/LodyAI/Lody

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 failure-containment-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/lodyai/lody/failure-containment-review/github.svg)](https://agentmods.dev/skills/lodyai/lody/failure-containment-review)
Your own site
<a href="https://agentmods.dev/skills/lodyai/lody/failure-containment-review"><img src="https://agentmods.dev/badge/skills/lodyai/lody/failure-containment-review/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 failure-containment-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/lodyai/lody/failure-containment-review"><img src="https://agentmods.dev/badge/skills/lodyai/lody/failure-containment-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,004 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.00051 $0.02004
Opus 5.5 $0.00020 $0.00802
Sonnet 5.5 $0.00010 $0.00401
Haiku 4.5 $0.00005 $0.00200

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

Security

Grade A, and why

failure-containment-review 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 15d 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/skills/failure-containment-review/SKILL.md · 173 lines

How it starts

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

Failure-containment review

Find changes that make one owner stricter at the cost of everything around it. The rules are in failure containment; this skill is the procedure. Repository review rules still decide what gets reported: read the root AGENTS.md and .github/codex-review.md first.

1. Fix the comparison

Record the reviewed revision or working-tree snapshot and the comparison base. Use the requested base; these examples assume origin/main. Read the base version of each cited file. A path already strict on the base is not a new regression.

For a PR, resolve its head and merge base:

gh pr view <PR> --json headRefOid,baseRefName,files
git fetch origin pull/<PR>/head:pr-<PR>
REVIEW_HEAD=$(git rev-parse pr-<PR>)
BASE=$(git merge-base "$REVIEW_HEAD" origin/main)

Without a PR, use the local branch and git merge-base HEAD origin/main (or the requested base). For uncommitted work, record git status --short and inspect staged, unstaged and relevant untracked files. git diff "$BASE" -- covers tracked working-tree changes; read new files separately without staging them. Cite local paths/lines as a working-tree snapshot, not as a commit that lacks those changes. If the base is unavailable, state the limit rather than inventing a comparison.

2. Collect candidates

Search the diff, not the whole tree, for changed failure semantics:

git diff "$BASE" "$REVIEW_HEAD" -U0 -- 'apps/*/src' 'packages/*/src' | rg -n \
  -e '^-.*\.catch\(\(\) =>' -e '^-.*catch \{' -e 'allSettled' -e 'AggregateError' \
  -e 'retain|fence|retir|failure[s]?\b' -e 'Promise\.reject\(' \
  -e 'dispose|destroy|release|close|unload|teardown' \
  -e 'timeoutMs|syncRoom|waitFor|handoff|confirm|receipt'

For working-tree review omit "$REVIEW_HEAD", include the task's actual paths (including guidance/skills when those are the change), and inspect untracked files.

Read the full file on GitHub · 173 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. 15d ago First seen · 173 lines · 51 tokens per session scan A 339b7b9c110c

Subscribe to this mod's changes

failure-containment-review is a skill published in the GitHub repository LodyAI/Lody (1,640 stars, last pushed today), licensed Apache-2.0. It adds 51 tokens to every session and 2,004 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-10-18.