agentleFS
lu666bylu666by/skill-gate/skills/skill-gate/SKILL.md

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

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. jon-devlapaz/tink-skills★ 16same name
    2. 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
  1. Distinctive:

    Run commands from this plugin checkout.

    line 12
  2. Very specific:

    If the npm bin is on PATH, skill-gate <command> is equivalent.

    line 19
  3. Distinctive:

    Do not search for ordinary coding, refactors, small bug fixes, or tasks Codex can already handle.

    line 24
  4. Distinctive:

    Search only when a specialized workflow, domain standard, repeated failure mode, or verifiable expert process would help.

    line 25
  5. Very specific:

    Use --mode trusted, --mode popular, or --mode explorer to select install thresholds.

    line 29
  6. Very specific:

    Use --force only when the task is a specialized domain the keyword gate missed.

    line 30
  7. Very specific:

    Keep only candidates that pass GitHub metadata and resolver checks: publisher/source match, not archived, license present, updated within …

    line 32
  8. Distinctive:

    Prefer concrete install counts over repository stars.

    line 33
  9. Distinctive:

    Prefer one broad skill over several narrow skills when coverage truly overlaps.

    line 34
  10. Distinctive:

    If more than one candidate is plausible, ask the user to choose before inspecting or using one.

    line 35
  11. Very specific:

    Run node dist/src/cli.js inspect <owner/repo@skill> or node dist/src/cli.js inspect <owner/repo@skill#40hexcommit>.

    line 38
  12. Very specific:

    Read references/risk-policy.md if risk interpretation matters.

    line 41
  13. Distinctive:

    Ask the user before loading.

    line 43
  14. Distinctive:

    Default to use once.

    line 45
  15. Distinctive:

    Never use or install an inspected skill unless the user approves.

    line 46
  16. Distinctive:

    Prefer the app's short choice UI when available.

    line 47
  17. Very specific:

    Run node dist/src/cli.js use <owner/repo@skill> --approve only after user approval.

    line 50
  18. Very specific:

    Run node dist/src/cli.js install <owner/repo@skill> --approve only after explicit project-install approval.

    line 51
  19. Very specific:

    Run node dist/src/cli.js upgrade <owner/repo@skill> to inspect the latest remote version before applying updates.

    line 52
  20. Very specific:

    Run node dist/src/cli.js apply <owner/repo@skill> --approve only after explicit approval to apply the latest inspected copy.

    line 53
  21. Very specific:

    Run node dist/src/cli.js view <owner/repo@skill> when the user wants to inspect files without approval.

    line 54
  22. Very specific:

    Run node dist/src/cli.js reject <owner/repo@skill> or do nothing when the user rejects.

    line 55
  23. Very specific:

    Read the temporary skill from .skill-gate/sessions/<id>/skills/<skill>/SKILL.md.

    line 56
  24. Distinctive:

    Do not execute scripts from HIGH risk skills.

    line 57
  25. Very specific:

    Run node dist/src/cli.js status to show active temporary sessions.

    line 60
  26. Distinctive:

    When the task appears complete, ask the user whether to delete temporary sessions, keep them, or pack them.

    line 61
  27. Very specific:

    Run node dist/src/cli.js cleanup to preview deletion targets.

    line 62
  28. Very specific:

    Run node dist/src/cli.js cleanup --approve only when the user explicitly chooses delete.

    line 63
  29. Very specific:

    Run node dist/src/cli.js pack <name> when the user chooses save as reusable pack.

    line 64
  30. Distinctive:

    Never infer cleanup approval from task completion.

    line 66
  31. Distinctive:

    Use Delegation Mode when the user asks to split work across agents, mentions multiple agents, wants separate skills per agent, asks for a …

    line 70
  32. Distinctive:

    Keep 2 to 4 workstreams. If more than 4 appear, merge related work.

    line 74
  33. Distinctive:

    Use a choice prompt when a decision materially changes the result and the user has not already specified it.

    line 82
  34. Distinctive:

    Use mode: after inspection, choose use once / install for project / view files / reject.

    line 85
  35. Distinctive:

    Ask at most one question at a time.

    line 92
  36. Distinctive:

    Put the recommended/default option first and label it as recommended.

    line 94
  37. Very specific:

    Read references/trust-policy.md before changing recommendation thresholds, source filters, or deduplication behavior.

    line 106

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. 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.
  2. Recommend the smallest useful set.
    • Run node dist/src/cli.js recommend "<user task>".
    • Use --mode trusted, --mode popular, or --mode explorer to select install thresholds.
    • Use --force only 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.md resolvable.
    • 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.
  3. Inspect before use.
    • Run node dist/src/cli.js inspect <owner/repo@skill> or node 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.md if risk interpretation matters.
  4. 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.
  5. Apply the user's choice.
    • Run node dist/src/cli.js use <owner/repo@skill> --approve only after user approval; it reuses and consumes the already inspected pinned session once.
    • Run node dist/src/cli.js install <owner/repo@skill> --approve only 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> --approve only 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.
  6. Clean up after the task.
    • Run node dist/src/cli.js status to 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 cleanup to preview deletion targets.
    • Run node dist/src/cli.js cleanup --approve only 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.

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 write audit.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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.