re0-handoff-guard
Skill4 starsChanged 31 days agoMITView on GitHub
Enforce NVIDIA Belcak et al. (2026) RSI Discovery & Paperthin Re0-Handoff contract. Compile dense, zero-slop State Notes (<=1500 tokens) and audit cold-read readiness via the Shower Test.
In this repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- anti-slop-engineeringSkill
- anti-slop-engineeringSkill
- api-ergonomics-and-contract-governorSkill
- apple-craft-and-frame-budgetSkill
- apple-craft-and-interaction-physicsSkill
- asset-provenance-guardSkill
- backprop-guardSkill
- chaos-and-degradation-choreographerSkill
- chromatic-drift-guardSkill
- cognitive-load-and-attention-governorSkill
- comment-budget-guardSkill
- context-window-and-token-economics-architectSkill
- cryptographic-agility-and-secret-lifecycle-gateSkill
- decision-guardSkill
- demock-guardSkill
- design-system-drift-guardSkill
- deterministic-simulation-and-property-testingSkill
- distributed-consensus-and-concurrency-gateSkill
- finops-and-unit-economics-governorSkill
- future-scale-gateSkill
- grumpy-senior-staff-engineerSkill
- honeypot-trap-guardSkill
- house-tell-guardSkill
- install-anti-slopSkill
- llm-eval-and-prompt-injection-fortressSkill
- mandela-guardSkill
- mechanical-sympathy-and-perf-gateSkill
- mechanical-sympathy-profilerSkill
- motion-runtime-guardSkill
- observability-and-slo-architectSkill
- observability-and-slo-gateSkill
- paranoid-principal-architectSkill
- pr-boundary-guardSkill
- privacy-and-data-lineage-gateSkill
- reduction-guardSkill
- repo-memory-and-invariant-stewardSkill
- root-fix-gateSkill
- safe-evolution-and-rollout-choreographerSkill
- scientific-fault-isolationSkill
- styleseed-guardSkill
- supply-chain-and-sbom-sentinelSkill
- tagore-guardSkill
- type-level-and-ast-slop-gateSkill
- ui-and-copy-disciplineSkill
- verification-oracle-architectSkill
- zero-downtime-migration-gateSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Falsifiable Invariants: Every entry in PROVEN_INVARIANTS must cite an executable verification command and digest.
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Re0 State-Note & Shower-Test Guard
"You don't need long context; you need dense state notes and recursive resets." — NVIDIA Discovery (Belcak et al., 2026)
Why This Skill Is Needed & Target State
Long context windows (>50K tokens) degrade agent reasoning via attention diffusion, hallucination debt, and conversational pollution. Belcak et al. proved on SWE-bench Verified that agents with 16K-token short state notes match or exceed 200K-token runs while serving 7x faster.
The target state is a structured context-reset protocol:
- 1,500 Token Budget: Dense, zero-fluff summary of objective, proven facts, and negative corpus.
- Shower Test (Cold-Read Audit): Verifies that a subagent with zero prior conversational history can deterministically execute the next step.
- No Ungrounded Pronouns: Banning ambiguous relative references ("this file", "the bug", "it") without explicit file paths or identifiers.
- Preserved Negative Corpus: Keeping records of discarded hypotheses and dead ends so future cycles never repeat them.
Invariant Rules
- Strict Token Ceiling: State-notes must never exceed 1,500 tokens.
- Falsifiable Invariants: Every entry in
PROVEN_INVARIANTSmust cite an executable verification command and digest. - Discrete Single Action:
NEXT_SINGLE_ACTIONmust specify exactly one concrete file and verification command, not a multi-step speculative plan.
CLI Usage
# Compile a new Re0 State-Note
bunx anti-slop-engineering re0-handoff compile \
--goal "Upgrade database layer to fail closed" \
--action "Remove sqlite fallback" \
--target "src/db.ts" \
--verify-cmd "bun test tests/db.test.ts"
# Run the Cold-Read Shower Test
bunx anti-slop-engineering re0-handoff shower-test --file .anti-slop/state-note.jsonDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

