stakes-gate
Skill0 starsChanged 4 months agoMITView on GitHub
Put a deterministic floor under an autonomous system's judgment calls. A model loaded with your recorded decision policy PROPOSES a verdict on an escalated action; a script the model cannot see or edit ENFORCES the limit around it — outward or irreversible stakes always route to a human, out-of-range confidence fails closed, novel situations hit the human floor. Use when an agent needs room to act autonomously on routine internal calls without ever owning the final say on consequential ones. Trigger on "add a stakes gate", "the model shouldn't have the final say", "graduated autonomy", "gate this decision", or any design where an AI's confident reasoning could otherwise talk its way past a safety limit.
In this repository19 other files it gives its agents.
- construct-validity-screen/CLAUDE.mdCLAUDE.md
- role-bleed-probe/CLAUDE.mdCLAUDE.md
- adversarial-hardenSkill
- ai-proofSkill
- construct-validity-screenSkill
- divergent-solveSkill
- forgeSkill
- gate-canariesSkill
- grill-meSkill
- heavy-task-plannerSkill
- overnightSkill
- parallel-researchSkill
- premise-gateSkill
- prompt-architectSkill
- role-bleed-probeSkill
- scope-firstSkill
- session-handoffSkill
- voice-profileSkill
- witnessSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Novel dimensions go to the human: If the request matches nothing in the recorded policy, no prediction is trusted.
- Distinctive: line 27
Every human override feeds the flywheel, so the canon sharpens over time:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Stakes Gate
The question this skill answers is not "is the model smart enough to be trusted with the decision?" It is "who owns the final call when the model and the limit disagree?" Here the answer is structural: the model drafts the judgment, and a deterministic layer it cannot see or edit enforces the envelope around it.
The two layers
- Prediction — a model loaded with your policy canon (your recorded past decisions, one dimension per class of call) reads the escalated request and proposes one verdict line:
VERDICT<TAB>confidence<TAB>dimension<TAB>reason. - The wall —
stakes-gate.shtakes that proposal and checks it against limits the model never touches:- Outward / irreversible / unknown stakes always resolve to ASK (the human floor), regardless of predicted confidence. Only an explicit
internal-reversible-class token opens the auto-act lane. - Confidence must be a number in [0, 1]. Anything else —
1.7,99,banana— is clamped to 0 and fails closed. This is not hypothetical: an out-of-range confidence walking through the wall was a real bypass found by adversarial review, andstakes-gate-test.shkeeps it dead. - Novel dimensions go to the human. If the request matches nothing in the recorded policy, no prediction is trusted.
- A broken judge is a human, not a pass. Empty output, no verdict line, non-zero exit — all ERROR, which routes to the operator.
- Outward / irreversible / unknown stakes always resolve to ASK (the human floor), regardless of predicted confidence. Only an explicit
Run it
export STAKES_GATE_POLICY=path/to/policy.md # your recorded decisions; see policy-example.md
bash stakes-gate.sh judge --request request.txt --stakes internal-reversible
# exit 0 = APPROVE/EDIT (auto-act lane) · 1 = REJECT · 3 = ASK a human · 4 = error (also a human)Every human override feeds the flywheel, so the canon sharpens over time:
bash stakes-gate.sh learn --dimension BACKUPS --said REJECT --did approve --rule "retention pruning is routine"Verify it before trusting it
bash stakes-gate-test.sh # hermetic — a stub judge, no model, no network; exit 0 = all greenA guard you have never watched fail hasn't earned its green light: the suite includes the found bypass (case 3) specifically so the gate can demonstrably refuse it.
Does 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.

