vetting-a-skill-before-install
Use before installing, importing or enabling a third-party skill, plugin, marketplace or skills repository in Claude Code, Codex, Antigravity, Cursor or any agent. Pins the source to a commit, audits every skill and the agent configuration it ships, reads what the audit could not cover, and ends in install, mirror or refuse. Not for auditing this registry's own skills.
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- vetting-a-skill-before-install
- license
- MIT
- metadata
- { "agtmls-owner": "Sebastien Rousseau", "agtmls-maturity": "hardened", "agtmls-risk-level": "medium", "agtmls-writes-files": "false", "agtmls-network-access": "optional", "agtmls-handles-secrets": "false", "agtmls-executes-commands": "true", "agtmls-requires-human-review": "true" }
- description
- Use before installing, importing or enabling a third-party skill, plugin, marketplace or skills repository in Claude Code, Codex, Antigravity, Cursor or any agent. Pins the source to a commit, audits every skill and the agent configuration it ships, reads what the audit could not cover, and ends in install, mirror or refuse. Not for auditing this registry's own skills.
- allowed-tools
- Read Glob Grep Bash WebFetch WebSearch
- compatibility
- Tested with Claude Code, Codex, and Aider skill layouts
02 资源文件 2
- 参考文档metadata.json382 B
- 参考文档reference.md2.3 KB
03 SKILL.md 正文
Vetting a skill before install
Trigger. Someone wants to add a skill, plugin, marketplace or skills
repository this registry did not produce: /plugin install, a clone into
.claude/skills or .agents/skills, import-skill, or "can I trust this
repo?". A skill runs with your permissions: its text is read as
instructions, its hooks run on events you did not trigger, its scripts run
in your shell. Install counts are not a control.
Keep tool calls few: every call re-sends the conversation so far. Start with the audit, which answers the first questions for you.
Steps
- Audit.
agtmls audit --foreign <path, or url@commit>, with--format jsonto parse it. A CRITICAL or HIGH finding fails. Its coverage section states the source, and lists everyNOT AUDITEDfile: agent configuration it did not judge (hooks.json,settings.json,.mcp.json,plugin.json,CLAUDE.md,AGENTS.md) and scripts outside any skill. Silence about a file is not a pass. - Pin. Take the 40-hex commit from the audit's
source:line; a branch or tag can move between the audit and the install. If it says the source is not a git checkout, it cannot be pinned: count that against it rather than searching further. Check the owner and name against the project you meant; note the licence. - Read what runs unasked, in one call. Read every file the audit
lists as
NOT AUDITEDat once: onecatof them all, or all the reads in a single turn. Look for hooks that fetch and run code or send data out (curl | sh, a transcript upload), MCP servers not pinned to a version or able to run any command, and checksums fetched from the same place as the download. Say what reading cannot show, such as what a download does when it runs. - Decide.
- Install: no CRITICAL or HIGH finding, every
NOT AUDITEDfile read, nothing runs unasked that you would not run yourself. Install the audited commit, not the branch. - Mirror: worth having, but you want control of updates. Copy it at the audited commit; re-audit before taking an upstream change.
- Refuse: a finding you cannot explain away, hooks or scripts you have not read, or a source you cannot pin.
- Install: no CRITICAL or HIGH finding, every
An install through agtmls is recorded, and agtmls verify shows later
drift. A plugin manager's install is not: audit again before each update.
Report
Open with the source: the commit you would install, or that it cannot be
pinned and so cannot be installed as audited. Then the audit command and its
counts, what you read by hand, what could not be checked, and the decision
with its reason. reference.md has worked outcomes and the red flags.
When not to use
- Auditing this registry's own skills:
agtmls audit --all. - Reviewing ordinary code changes: that is code review.
- The source is already mirrored and pinned, and unchanged since its audit.
04 同仓库更多 Skills
example-skill
Use when the user needs this reusable workflow. Replace this with trigger-rich wording that says when to load the skill, what task it handles, and when not to use it.
writing-plans
Turn a vague or multi-step request into an ordered list of small steps, each with its own done-condition and verification. Load before starting work that touches several files, has unclear scope, or spans more than one session, and when a request needs decomposing before any code is written. Produces a plan a reviewer can check against, not a to-do list.
web-research-and-source-triage
Use when gathering current web evidence, comparing sources, triaging credibility, reading GitHub repositories, checking docs, or deciding whether a claim needs live verification.
verification-before-completion
The gate between doing work and claiming it is done. Load before saying finished, fixed, working, or ready, before marking a task complete, and before reporting an outcome to a human. Converts each claim into the observation that would justify it, and names the rationalizations that let unverified work ship. Not the project's own evidence bar or test taxonomy.
using-agtmls
Meta-router for the AgtMLS skill catalog. Read first when unsure which AgtMLS skill applies, when several look relevant, when asking 'is there a skill for porting or noyalib work', or when onboarding to how the hub's skills and shared references fit together.
test-driven-development
Write the failing test first, then the code that makes it pass. Load when adding behaviour, changing behaviour, or pinning a bug, and whenever a test was authored after the code it covers. Enforces red-green-refactor with an observed red phase, so a test that never failed is never mistaken for proof.