skill-gate
Skill0 starsChanged 4 months agoMITView on GitHub
Find useful external agent skills, inspect their source, contents, permissions, risk, and popularity before Codex uses them. Use when a task may benefit from a specialized external skill, when the user asks whether a skill is needed, when a user asks to search skills, inspect a skill package, temporarily use a skill, compare skill versions, or clean up temporary skill sessions. Do not use for ordinary coding tasks where Codex already has enough capability.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- gunjianpanxdd/skill-gatetheir own version, first seen Nov 22, 2026
- jon-devlapaz/tink-skillstheir own version, first seen Oct 7, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- jon-devlapaz/tink-skills★ 16same name
- gunjianpanxdd/skill-gate★ 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.
The file
Show its rules and text
We split this skill into the rules it gives an agent
37 rules. About 0 are common, 19 are distinctive, and 18 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈19
Distinctive · estimate
This author's own choices. Worth a look.
18
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Run commands from this plugin checkout.
- Very specific: line 19
If the npm bin is on PATH, skill-gate <command> is equivalent.
- Distinctive: line 24
Do not search for ordinary coding, refactors, small bug fixes, or tasks Codex can already handle.
- Distinctive: line 25
Search only when a specialized workflow, domain standard, repeated failure mode, or verifiable expert process would help.
- Very specific: line 29
Use --mode trusted, --mode popular, or --mode explorer to select install thresholds.
- Very specific: line 30
Use --force only when the task is a specialized domain the keyword gate missed.
- Very specific: line 32
Keep only candidates that pass GitHub metadata and resolver checks: publisher/source match, not archived, license present, updated within …
- Distinctive: line 33
Prefer concrete install counts over repository stars.
- Distinctive: line 34
Prefer one broad skill over several narrow skills when coverage truly overlaps.
- Distinctive: line 35
If more than one candidate is plausible, ask the user to choose before inspecting or using one.
- Very specific: line 38
Run node dist/src/cli.js inspect <owner/repo@skill> or node dist/src/cli.js inspect <owner/repo@skill#40hexcommit>.
- Very specific: line 41
Read references/risk-policy.md if risk interpretation matters.
- Distinctive: line 43
Ask the user before loading.
- Distinctive: line 45
Default to use once.
- Distinctive: line 46
Never use or install an inspected skill unless the user approves.
- Distinctive: line 47
Prefer the app's short choice UI when available.
- Very specific: line 50
Run node dist/src/cli.js use <owner/repo@skill> --approve only after user approval.
- Very specific: line 51
Run node dist/src/cli.js install <owner/repo@skill> --approve only after explicit project-install approval.
- Very specific: line 52
Run node dist/src/cli.js upgrade <owner/repo@skill> to inspect the latest remote version before applying updates.
- Very specific: line 53
Run node dist/src/cli.js apply <owner/repo@skill> --approve only after explicit approval to apply the latest inspected copy.
- Very specific: line 54
Run node dist/src/cli.js view <owner/repo@skill> when the user wants to inspect files without approval.
- Very specific: line 55
Run node dist/src/cli.js reject <owner/repo@skill> or do nothing when the user rejects.
- Very specific: line 56
Read the temporary skill from .skill-gate/sessions/<id>/skills/<skill>/SKILL.md.
- Distinctive: line 57
Do not execute scripts from HIGH risk skills.
- Very specific: line 60
Run node dist/src/cli.js status to show active temporary sessions.
- Distinctive: line 61
When the task appears complete, ask the user whether to delete temporary sessions, keep them, or pack them.
- Very specific: line 62
Run node dist/src/cli.js cleanup to preview deletion targets.
- Very specific: line 63
Run node dist/src/cli.js cleanup --approve only when the user explicitly chooses delete.
- Very specific: line 64
Run node dist/src/cli.js pack <name> when the user chooses save as reusable pack.
- Distinctive: line 66
Never infer cleanup approval from task completion.
- Distinctive: line 70
Use Delegation Mode when the user asks to split work across agents, mentions multiple agents, wants separate skills per agent, asks for a …
- Distinctive: line 74
Keep 2 to 4 workstreams. If more than 4 appear, merge related work.
- Distinctive: line 82
Use a choice prompt when a decision materially changes the result and the user has not already specified it.
- Distinctive: line 85
Use mode: after inspection, choose use once / install for project / view files / reject.
- Distinctive: line 92
Ask at most one question at a time.
- Distinctive: line 94
Put the recommended/default option first and label it as recommended.
- Very specific: line 106
Read references/trust-policy.md before changing recommendation thresholds, source filters, or deduplication behavior.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Skill Gate
Skill Gate answers one question before Codex loads more instructions: does this task get real value from an external skill, and is that skill safe enough to use temporarily?
CLI
Run commands from this plugin checkout. Build once first:
npm run build
node dist/src/cli.js <command>If the npm bin is on PATH, skill-gate <command> is equivalent.
Workflow
- Decide whether an external skill is needed.
- Do not search for ordinary coding, refactors, small bug fixes, or tasks Codex can already handle.
- Search only when a specialized workflow, domain standard, repeated failure mode, or verifiable expert process would help.
- Recommend the smallest useful set.
- Run
node dist/src/cli.js recommend "<user task>". - Use
--mode trusted,--mode popular, or--mode explorerto select install thresholds. - Use
--forceonly when the task is a specialized domain the keyword gate missed. - Show 0 to 3 non-overlapping skills.
- Keep only candidates that pass GitHub metadata and resolver checks: publisher/source match, not archived, license present, updated within policy, and
SKILL.mdresolvable. - Prefer concrete install counts over repository stars.
- Prefer one broad skill over several narrow skills when coverage truly overlaps. The v1 CLI only removes exact duplicate sources; Codex must still apply judgment before recommending.
- If more than one candidate is plausible, ask the user to choose before inspecting or using one.
- Run
- Inspect before use.
- Run
node dist/src/cli.js inspect <owner/repo@skill>ornode dist/src/cli.js inspect <owner/repo@skill#40hexcommit>; use a GitHub tree URL when the skill lives in a subdirectory. - This downloads or copies the candidate into an isolated
.skill-gate/sessions/<id>/directory so it can be audited. - Summarize source, install count if known, pinned commit, decision scores, files, capabilities, and risk.
- Read
references/risk-policy.mdif risk interpretation matters.
- Run
- Ask the user before loading.
- Allowed choices are: use once, install for project, view full files, or reject.
- Default to use once.
- Never use or install an inspected skill unless the user approves. V1 does not require approval before isolated inspection download.
- Prefer the app's short choice UI when available. If no choice UI is available, ask one concise numbered question in chat.
- Apply the user's choice.
- Run
node dist/src/cli.js use <owner/repo@skill> --approveonly after user approval; it reuses and consumes the already inspected pinned session once. - Run
node dist/src/cli.js install <owner/repo@skill> --approveonly after explicit project-install approval; it copies the already inspected pinned files into.skill-gate/project-skills/. - Run
node dist/src/cli.js upgrade <owner/repo@skill>to inspect the latest remote version before applying updates. - Run
node dist/src/cli.js apply <owner/repo@skill> --approveonly after explicit approval to apply the latest inspected copy. - Run
node dist/src/cli.js view <owner/repo@skill>when the user wants to inspect files without approval. - Run
node dist/src/cli.js reject <owner/repo@skill>or do nothing when the user rejects. - Read the temporary skill from
.skill-gate/sessions/<id>/skills/<skill>/SKILL.md. - Do not execute scripts from HIGH risk skills. Treat them as view-only in v1.
- Run
- Clean up after the task.
- Run
node dist/src/cli.js statusto show active temporary sessions. - When the task appears complete, ask the user whether to delete temporary sessions, keep them, or pack them.
- Run
node dist/src/cli.js cleanupto preview deletion targets. - Run
node dist/src/cli.js cleanup --approveonly when the user explicitly chooses delete. - Run
node dist/src/cli.js pack <name>when the user chooses save as reusable pack. - Cleanup may delete only paths listed in the session manifest and only inside
.skill-gate. - Never infer cleanup approval from task completion; the user may still want follow-up work.
- Run
Delegation Mode
Use Delegation Mode when the user asks to split work across agents, mentions multiple agents, wants separate skills per agent, asks for a reviewer agent, or the task clearly spans three or more independent workflows.
- Run
node dist/src/cli.js delegate "<task>". - Output a plan only; do not spawn agents, download skills, install skills, or write files from this command.
- Keep 2 to 4 workstreams. If more than 4 appear, merge related work.
- Each workstream must name the agent role, scope, forbidden scope, suggested skill direction, input, output, and acceptance criteria.
- Reviewer Agent is read-only by default: it checks quality, conflicts, scope boundaries, and unapproved skill use, then reports findings only.
- One file or module must have exactly one owner agent. Shared files are changed only by the main agent.
- Each agent may use only skills assigned to its lane and approved by the main agent after user confirmation.
Choice Prompts
Use a choice prompt when a decision materially changes the result and the user has not already specified it.
- Skill choice: after recommendation when 2 or 3 skills are plausible.
- Use mode: after inspection, choose use once / install for project / view files / reject.
- Style direction: before using design, writing, presentation, UI, image, or document skills when style is underspecified.
- Risk override: before any HIGH risk skill is used, and never to execute scripts in v1.
- Cleanup choice: when the task appears complete, ask delete / keep / pack before running cleanup.
Keep prompts small:
- Ask at most one question at a time.
- Offer 2 or 3 mutually exclusive options.
- Put the recommended/default option first and label it as recommended.
- Include one sentence per option explaining the tradeoff.
- Continue with the recommended option only if the choice is non-blocking; do not continue on use/install approval without an explicit user answer.
Style choice examples:
- SaaS/dashboard UI: "Quiet operational UI (Recommended)" / "Polished marketing style" / "Dense admin console".
- Writing: "Concise technical" / "Friendly explanatory" / "Formal report".
- Presentation: "Swiss grid" / "Editorial magazine" / "Minimal executive".
Trust Rules
Read references/trust-policy.md before changing recommendation thresholds, source filters, or deduplication behavior.
Commands
node dist/src/cli.js recommend "<task>": analyze the task and recommend 0 to 3 skills after install threshold, GitHub metadata, and resolver checks.node dist/src/cli.js delegate "<task>": create a plan-only multi-agent work split with reviewer checklist.node dist/src/cli.js inspect <source>: clone or read a skill into an isolated session and writeaudit.json; source may be local path,owner/repo@skill,owner/repo@skill#40hexcommit, GitHub repo URL, or GitHub tree URL.node dist/src/cli.js use <source> --approve: approve and read the latest inspected pinned session for that source once.node dist/src/cli.js view <source>: inspect and show the temporary file path without approval.node dist/src/cli.js install <source> --approve: copy the latest inspected pinned session into.skill-gate/project-skills/.node dist/src/cli.js upgrade <source>: inspect the latest remote source and report whether it changed.node dist/src/cli.js apply <source> --approve: apply the latest inspected pinned session into.skill-gate/project-skills/.node dist/src/cli.js reject [source]: record an explicit no-op rejection.node dist/src/cli.js pack [name]: save current temporary sessions as a reusable pack.node dist/src/cli.js status: list temporary sessions and risks.node dist/src/cli.js cleanup: preview current session files recorded in manifests.node dist/src/cli.js cleanup --approve: delete only current session files recorded in manifests after explicit user approval.node dist/src/cli.js diff <source>: compare the pinned commit with the latest remote commit and show file stat when available.
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.

