red-proof

red-proof is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 16 tokens per session (757 once invoked), scanned A, original, MIT.

A testing procedure for proving that a test fails before a committed fix makes it pass. RED means the expected failing stage in test-driven development (TDD).

In plain words
What is it for?
Use it when reviewing a fix, adding a test after the fact, or checking another agent's work by temporarily restoring the pre-fix code in a separate worktree.
Why use it?
It helps show that a test detects the actual bug instead of passing for an unrelated reason, even when the fix already exists.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it when reviewing a fix, adding a test after the fact, or checking another agent's work by temporarily restoring the pre-fix code in a separate worktree.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/red-proof
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 Arasz/ai-raccoon --skill red-proof
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

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 red-proof

README.md
[![agentmods](https://agentmods.dev/badge/skills/arasz/ai-raccoon/red-proof/github.svg)](https://agentmods.dev/skills/arasz/ai-raccoon/red-proof)
Your own site
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/red-proof"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/red-proof/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 red-proof

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/red-proof"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/red-proof.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 757 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.00016 $0.00757
Opus 5.5 $0.00006 $0.00303
Sonnet 5.5 $0.00003 $0.00151
Haiku 4.5 $0.00002 $0.00076

Measured yesterday against content hash 530efa0d79ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

red-proof 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 yesterday.

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.

.ai-badger/skills/learned/software-development/red-proof/SKILL.md · 45 lines

How it starts

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

RED-proof against committed fixes

The "a check you have not seen fail is not a check" gate normally runs RED-before-fix (commit the failing test first, watch it fail, then fix). When the fix is ALREADY in the tree — reviewing a fix PR, adding a missing test after the fact, validating a subagent's output — you must still witness the fail once, or the test is indistinguishable from a tautology.

Workflow

  1. Locate the pre-fix version of the production file. The RED commit in history is the cleanest source (git log --oneline -- <file> — the commit before the fix commit usually has the old implementation). If the fix was squashed, reconstruct the old code by reverse-applying the fix's diff mentally or with git show <fix-commit> -- <file>.

  2. Temporarily restore the pre-fix file in a WORKTREE, not the shared checkout:

    git checkout <pre-fix-commit> -- src/Path/To/File.cs   # e.g. the RED commit's version
    dotnet test tests/X.Tests --filter "FullyQualifiedName~TheNewTest"   # expect FAIL
    git checkout HEAD -- src/Path/To/File.cs               # restore — verify with git status
    
  3. Read the failure line. The test must fail on the INTENDED assertion (the behavior the fix changed), not on an unrelated setup error — a test that fails for the wrong reason proves nothing about coverage.

  4. Re-run with the fixed code. Same filter, expect PASS. Then, if you touched a shared fixture/constructor, run the WHOLE test class (not just the new test) — a fixture field added for one test is exercised by every test in the class.

  5. Record the evidence in the PR/review: pre-fix commit, expected-fail assertion, post-fix pass count.

Pitfalls

  • Always restore the pre-fix file (git checkout HEAD -- <file>) and confirm with git status --short — leaving a staged old version on disk poisons the next run and the commit.
  • Worktree discipline: in a shared checkout, another session's branch reset can clobber your git checkout; use the branch's own worktree (often already present at .ai-badger/worktrees/<branch> or .git/worktrees/).
  • Pre-existing red on the base branch: before attributing a failure, check whether the test was ALREADY failing on the base commit (e.g. a version-contract test pinned to an old constant vs the csproj). A PR that bumps both makes green — the fix is legitimate, and the base being red is worth noting in the review.
  • Beware tests that pass on BOTH old and new code — a test that never exercises the changed predicate is a silent no-op; the RED run is the only honest proof.
  • The RED run needs the new test compiled against the OLD production code. If the test references symbols added by the fix, the old-code build fails to compile — in that case the assertion must be written against the stable API surface (as it should be for a behavior test).

Read the full file on GitHub · 45 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. yesterday First seen · 45 lines · 16 tokens per session scan A 530efa0d79ad

Subscribe to this mod's changes

red-proof is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 757 once invoked, about $0.0001 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-12-05.

Related

red-proof compared with skills from other repositories

red-proof next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
red-proofArasz/ai-raccoonSkill7todayMITA16Claude Code, Codex
bad-case-to-dpobojieli/ai-agent-bookSkill61kyesterdayApache-2.0A168Claude Code, Codex
setupnizos/tdd-guardSkill2.4k1mo agoMITA39Claude Code
cartographer-kb-createBeppeTemp/cartographerSkill74yesterdayApache-2.0A53Claude Code, Codex
cartographer-kb-importBeppeTemp/cartographerSkill74yesterdayApache-2.0A51Claude Code, Codex
cartographer-kb-source-authorBeppeTemp/cartographerSkill74yesterdayApache-2.0A106Claude Code, Codex
cartographer-feedbackBeppeTemp/cartographerSkill74yesterdayApache-2.0A83Claude Code, Codex