harden-check
Skill0 starsChanged 40 days agoMITView on GitHub
Attack an engineering guardrail for realistic bypasses and close the cheap escape hatches that would let contributors or agents make verification green without satisfying the invariant.
In this repository16 other files it gives its agents.
- create-checkSkill
- decideSkill
- design-changeSkill
- design-moduleSkill
- groundSkill
- harden-boundarySkill
- intentSkill
- investigateSkill
- learnSkill
- pave-pathSkill
- ratchetSkill
- realizeSkill
- specifySkill
- validateSkill
- verifySkill
- wire-checkSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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 12
Name the protected invariant: Read the check and its intended scope before attacking it.
- Distinctive: line 14
Prioritize cheap consequential bypasses: Do not ban every escape hatch in existence.
- Distinctive: line 15
Keep exceptions explicit: When an escape hatch is legitimately necessary, require narrow scope and visible justification where practical …
≈ “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
Harden Check
A check is only as strong as its cheapest routine bypass. Adversarially inspect a guardrail without turning the repository into a prison.
Work
- Name the protected invariant. Read the check and its intended scope before attacking it.
- Enumerate realistic bypasses. Depending on the stack, inspect suppressions/disable comments,
@ts-ignore/@ts-nocheck, unsafe assertions, skipped/focused tests, ignored paths, mocks that erase the seam, config edits, alternate scripts, generated-file exclusions, or CI paths that omit the check. - Prioritize cheap consequential bypasses. Do not ban every escape hatch in existence. Close bypasses that are easy, likely, and capable of defeating the invariant without conspicuous review.
- Keep exceptions explicit. When an escape hatch is legitimately necessary, require narrow scope and visible justification where practical rather than prohibiting all exceptions.
- Prove the hardening. Demonstrate at least one previously plausible bypass is now rejected or made conspicuous, and that legitimate code still passes.
- Do not protect the checker from intentional governance. Maintainers must still be able to deliberately change policy through review. The goal is to prevent accidental or opportunistic evasion, not make configuration immutable.
Return
- Invariant
- Bypasses examined
- Bypasses closed
- Legitimate exception path
- Proof
- Remaining exposure
Failure signals
Banning useful language features globally without evidence, making policy impossible to evolve, treating any config change as malicious, or adding more complexity than the protected invariant warrants.
Done when
The consequential cheap bypasses are closed or made explicitly reviewable, the intended exception path remains usable, and the hardened guardrail is proven on representative cases.
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.

