proving-change-safety

proving-change-safety is a skill for Claude Code from afaraha8403/balakit. It costs 86 tokens per session (661 once invoked), scanned A, original, MIT.

A safety review procedure for a code change that looks beyond the visible diff and proves one important safety claim by running the real code. A diff is the list of changes between two versions of a project.

In plain words
What is it for?
Use it before shipping a risky or small-looking change, especially when behavior may depend on libraries, timing, data formats, configuration, or code in another language.
Why use it?
It finds breakage that simple searches may miss and does not treat an untested claim as proven.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it before shipping a risky or small-looking change, especially when behavior may depend on libraries, timing, data formats, configuration, or code in another language.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/afaraha8403/balakit/proving-change-safety
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 afaraha8403/balakit --skill proving-change-safety
Clone the repo
git clone --depth 1 https://github.com/afaraha8403/balakit

Made for: Claude Code.

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 proving-change-safety

README.md
[![agentmods](https://agentmods.dev/badge/skills/afaraha8403/balakit/proving-change-safety/github.svg)](https://agentmods.dev/skills/afaraha8403/balakit/proving-change-safety)
Your own site
<a href="https://agentmods.dev/skills/afaraha8403/balakit/proving-change-safety"><img src="https://agentmods.dev/badge/skills/afaraha8403/balakit/proving-change-safety/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 proving-change-safety

Your own site · 80×15
<a href="https://agentmods.dev/skills/afaraha8403/balakit/proving-change-safety"><img src="https://agentmods.dev/badge/skills/afaraha8403/balakit/proving-change-safety.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 661 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.00086 $0.00661
Opus 5.5 $0.00034 $0.00264
Sonnet 5.5 $0.00017 $0.00132
Haiku 4.5 $0.00009 $0.00066

Measured 1mo ago against content hash 5015feffcf62, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

proving-change-safety 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 1mo 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/proving-change-safety/SKILL.md · 60 lines

What it actually says

Proving change safety

Leading words: one safety fact, prove by running, unproven stays unproven, grep is not enough.

Listing callers is not the job. Grep those in a second. The job is the breakage grep will not show.

Copy these steps into the todo list verbatim. Skip with skip: <reason>.

  1. Read the change: symbols added, changed, deleted, including what the diff does not spell out.
  2. Name the one fact it is safe because of.
  3. Look where grep stops: library source, pinned version, microtasks, wire format, other languages, flags, code three hops down.
  4. Honest risk list: chance, cost, file:line. Cleared items listed separately.
  5. Prove the one fact by calling the real function (script or test). Leave the prove script in the tree. Cite its path in the reply. If you cannot get to "ran it", write unproven. If you ran it and the fact is false, write do not ship — that is not unproven.

How sure

For each safety fact, get as far down this list as is cheap, and say where it stopped.

  1. You said so. Worthless alone.
  2. You pointed at file:line or the library's own source.
  3. You walked the failure and it does not reach.
  4. You ran it. A script or test that imports the same library the app ships and calls the exact function.
  5. You reproduced it in the running app.

Step 4 is the bar. Unproven stays unproven.

Reply contract

  • What it does (including the non-obvious part)
  • The one safety fact, the step you reached, and the proof path (or unproven)
  • do not ship if the fact is false; unproven only if you did not run it
  • Risks that remain
  • Cleared
  • Cheapest check to catch the real bug before merge
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. 1mo ago First seen · 60 lines · 86 tokens per session scan A 5015feffcf62

Subscribe to this mod's changes

proving-change-safety is a skill published in the GitHub repository afaraha8403/balakit (1 stars, last pushed 29d ago), licensed MIT. It adds 86 tokens to every session and 661 once invoked, about $0.0003 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-09-11.