quarantine
Skill23 starsChanged 3 months agoMITView on GitHub
Use whenever secrets or confidential material must be kept out of git: API keys, tokens, credentials, a client's internal patterns, private project data, real names, proprietary code. Triggers: \"these keys must never end up in a commit\", \"make sure this never gets pushed\", \"this is sensitive\", \"don't commit this\", \"set up the lab\", or any request to guard against leaking secrets. Also when a `lab/` folder already exists but its guards are missing or broken. (The quarantine lives on disk as `lab/`: the name existing projects already have.)
- Deletes or force-pushes
- Commits and pushes
2 other projects use a version of this.
Adopted by
Most recently taken up by
- alkanfel1987/pantheon-seedtheir own version, first seen Oct 20, 2026
- tonydzi/second-brain-starter-kittheir own version, first seen Sep 8, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- tonydzi/second-brain-starter-kit★ 6same name
- alkanfel1987/pantheon-seed★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- analyzeSkill
- assessSkill
- blueprintSkill
- breakdownSkill
- buildSkill
- checklistSkill
- clarifySkill
- constitutionSkill
- convergeSkill
- debugSkill
- deepenSkill
- deprecateSkill
- double-checkSkill
- explainSkill
- handoffSkill
- helpSkill
- initSkill
- interviewSkill
- learnSkill
- levelupSkill
- lintSkill
- living-docsSkill
- performanceSkill
- personaSkill
- promptSkill
- prototypeSkill
- qaSkill
- reportSkill
- roadmapSkill
- routeSkill
- signatureSkill
- specifySkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 0 are distinctive, and 6 are 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.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 33
Run from the target repo root.
- Very specific: line 37
If lab/.denylist is missing, copy assets/denylist.template → lab/.denylist, then help the user fill it: company, product/app names, …
- Very specific: line 40
If lab/MANIFEST.md is missing, copy assets/MANIFEST.template.md → lab/MANIFEST.md.
- Very specific: line 42
Gitignore the quarantine: if lab/ isn't already ignored, append assets/gitignore-snippet.txt to the repo's .gitignore.
- Very specific: line 48
If the repo already has a core.hooksPath or a hook manager (Husky, etc.), leave theirs in place.
- Very specific: line 81
Read a diff before pushing to any public remote (core/agent-loop.md).
≈ “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
Quarantine: a safe place for project data
The Lab is where MasterMind keeps raw, project-specific material: codebase notes, captured
patterns, signature profiles, anything with real names. It is local and gitignored; only the
genericized, name-free output ever graduates to a shareable field pack. This exists because raw
material sitting in a publishable tree is how confidential data leaks. Make it structural, not a habit.
Golden rule: patterns leave the quarantine, identities never do. Company/product/person/package names stay in
lab/. Only the general rule, stripped of every name, goes into a field pack.
Their own words stay theirs: propose, never rewrite unasked (~/.mastermind/engineering/core/rigor.md → Stay in scope).
What it sets up
lab/
├── .denylist ← your sensitive terms (gitignored); feeds the guards
├── raw/ ← untouched captures from a codebase
├── analysis/ ← working notes, `signature` profiles
└── MANIFEST.md ← what's here, what's distilled, what's pending
.githooks/
├── pre-commit ← blocks staged lab/ paths, denylisted terms, and real secrets
└── pre-push ← scans every commit being pushed (catches --no-verify + old history)Steps (idempotent: safe to re-run)
Run from the target repo root. The skill's files live in assets/ next to this SKILL.md.
- Create the quarantine (preserving any existing content):
mkdir -p lab/raw lab/analysis- If
lab/.denylistis missing, copyassets/denylist.template→lab/.denylist, then help the user fill it: company, product/app names, internal package scopes (@acme/*), colleague names, private domains/hosts. Never commit this file. - If
lab/MANIFEST.mdis missing, copyassets/MANIFEST.template.md→lab/MANIFEST.md.
- Gitignore the quarantine: if
lab/isn't already ignored, appendassets/gitignore-snippet.txtto the repo's.gitignore. Verify withgit check-ignore lab/. - Install the guards:
mkdir -p .githooks && cp assets/pre-commit assets/pre-push .githooks/ && chmod +x .githooks/pre-commit .githooks/pre-pushgit config core.hooksPath .githooks- If the repo already has a
core.hooksPathor a hook manager (Husky, etc.), leave theirs in place. Tell the user, and offer to chain the guard into their existing pre-commit instead.
- Prove it works (do this: a guard you haven't tested is a guard you don't have):
- Stage a throwaway file containing a denylisted term and attempt a commit; confirm it's blocked,
then unstage. Try staging a
lab/file; confirm the quarantine blocks it. Now prove
pre-pushtoo: it's the layer that catches--no-verifyand history committed before the guard existed, so the pre-commit test does not cover it. Use a local throwaway remote (no network, nothing is published:--dry-runstill runs the hook):printf 'ACME_TERM internal notes\n' > leak-test.md # swap in a real term from lab/.denylist git add leak-test.md && git commit --no-verify -m "temp: pre-push test" git init --bare /tmp/mm-throwaway.git git push --dry-run /tmp/mm-throwaway.git HEAD:refs/heads/mm-test # must FAILExpect
✖ BLOCKED: commit <sha> temp: pre-push test contains confidential terms:, thenPush aborted …and a non-zero exit. If the push succeeds, the guard is not live: checkgit config core.hooksPath, that.githooks/pre-pushis executable, and that the term is inlab/.denylist(the hook scans every file type, but skipslab/itself. That's the quarantine).- Clean up:
--soft, never--hard: a hard reset here would discard any uncommitted work in the user's repo.git reset --soft HEAD~1 && git restore --staged leak-test.md && rm -f leak-test.md && rm -rf /tmp/mm-throwaway.git
- Stage a throwaway file containing a denylisted term and attempt a commit; confirm it's blocked,
then unstage. Try staging a
- Report what was created/changed, and remind: raw data →
lab/; only genericized output ships.
Guardrails
- The guards are generic and safe to publish; the denylist is not: terms live only in the gitignored
lab/.denylist. Never bake a real name into a hook,.gitignore, or the manifest (use*-globpatterns). - Escape hatch:
ALLOW_SENSITIVE=1 git commit …bypasses the guard for a deliberate, reviewed case. - Not a substitute for review: the guard catches known terms and obvious secrets, not everything.
Read a diff before pushing to any public remote (
core/agent-loop.md). - Distilling
lab/into a pack is a separate step (thelevelupcapture flow), this skill only stands up the safe container.
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.

