skills-auditor

How to vet a third-party SKILL.md before you install it

Painted inspection desk: a gloved hand holds a magnifying glass over a wax-sealed parcel resting on an open passport-style booklet, with an arched gate behind.

Command output in this post comes from a test run on 2026-11-30. Paths were shortened or changed to match the examples, and long output was trimmed.

Installing a skill from someone else’s repository usually takes one command: clone it into ~/.claude/skills, ~/.cursor/skills or ~/.agents/skills, and the agent picks it up on its next run. That is also the problem. The skill’s instructions and scripts now run with your shell, your files and your tokens. They run before anyone has read them, and they change whenever the upstream repository changes.

Our 12-point SKILL.md checklist covers what to look for inside a skill. This post covers the process around it: where to review, how to pin what you reviewed, how to install exactly those bytes, and what to do when the author ships an update. The examples use skills-auditor, an MIT-licensed CLI, at release 0.13.0.

skills-auditor is not a malware scanner. It does not decide whether a skill is safe. It inventories skills, pins and installs the version a person reviewed, and tells you when the installed bytes stop matching that review.

Step 1: download it somewhere no agent looks

Never review a skill inside a skills folder. An agent can load it while you are still reading. Clone it into a review directory instead, and record the exact commit:

mkdir -p ~/skill-review && cd ~/skill-review
git clone https://github.com/example/vendor-skills.git
cd vendor-skills
git rev-parse HEAD      # write this down: it is the version you are reviewing

If the repository has tags, check out the tag you intend to use and record the commit it points to. A tag can be moved; a commit hash cannot.

Step 2: see the whole package, not only SKILL.md

A skill is a folder, and the folder often reaches outside itself. List every file, and look for paths that leave the skill’s directory:

find . -type f -not -path './.git/*' | sort
rg -n '\.\./' skills/pdf-tools/

In our test package, skills/pdf-tools/SKILL.md told the agent to run python ../../scripts/extract.py. That script is part of what you are installing, even though it sits outside the skill folder, so it needs the same review.

Then run the read-only audit on the review copy:

skills-audit audit --skills-dir ~/skill-review/vendor-skills/skills

The audit reports missing or unclosed frontmatter, a missing name or description, and names with characters outside the allowed set. It also catches two SKILL.md files in the package that declare the same name:. This is a metadata and duplicate check, not a security scan.

Check whether the new skill’s name collides with one you already have. Two skills with the same name in different folders are hard to tell apart in an agent’s skill list:

rg -L -l --glob 'SKILL.md' '^name:\s*pdf-tools\s*$' ~/.claude/skills ~/.cursor/skills ~/.agents/skills

Step 3: read it against the checklist

Work through the checklist on the review copy. It covers provenance, frontmatter, tool permissions, scripts, network calls, credentials, writes to agent configuration, injected instructions and scope creep. A search pass finds places to read first, though it is no substitute for reading:

rg -n -i 'curl|wget|base64|eval|\.ssh|\.env|settings\.json|\.mcp\.json|CLAUDE\.md|AGENTS\.md|ignore (all|previous)' .

Open-source static scanners for agent skills can add a second opinion on known malicious patterns. A clean result from any of them means no known pattern matched. It does not mean the skill is safe.

Decide now, and write down why: install as is, install with changes, or do not install.

Step 4: install the reviewed bytes, not the repository

If you install by cloning straight into a skills folder, a later git pull changes the skill your agent runs without another review. The managed lifecycle installs a read-only, content-addressed snapshot instead. Because the skill uses scripts/extract.py, plan the install from the whole package and name the skill’s entrypoint:

skills-audit lifecycle --project-root ~/skill-review plan install \
  --source ~/skill-review/vendor-skills \
  --entrypoint skills/pdf-tools \
  --target ~/.claude/skills/pdf-tools \
  --plan-out ~/skill-review/pdf-tools.install.json

The plan records the source tree hash and the target path. Check that it describes the commit you reviewed, then approve that exact plan:

skills-audit lifecycle --project-root ~/skill-review apply ~/skill-review/pdf-tools.install.json \
  --approve-plan-id PLAN_ID_FROM_THE_FILE

After apply, ~/.claude/skills/pdf-tools is a link into .skills-auditor-local/lifecycle/store/sha256/<hash>/tree/skills/pdf-tools. The whole package, including scripts/extract.py, is copied into the snapshot, so the relative path in SKILL.md still works. Changes in the review clone no longer reach the agent.

The snapshot’s write bits are removed. That prevents accidental edits, but not a deliberate edit by the same user or a privileged process. The next step covers that case.

Step 5: check before use

Run preflight before the agent uses the skill. It re-verifies the snapshot hash, the link and the approval:

$ skills-audit lifecycle --project-root ~/skill-review preflight INSTALLATION_ID
[OK] ... approval=valid authorization=valid lifecycle=active freshness=fresh

If the installed bytes were changed after approval, the result is a block, and the approval is recorded as invalid:

[BLOCK] approval=invalidated
Reasons: snapshot_tree, approval_invalidated

Putting the original file back does not renew that approval. Returning to a valid state takes a new plan and a new approval. Preflight blocks use only in hosts or scripts that actually call it. Nothing is enforced inside an agent that does not.

Step 6: when the author ships an update

Updates are where most reviews get skipped, because the skill “was already checked”. Review only what changed:

cd ~/skill-review/vendor-skills
git fetch
git diff REVIEWED_COMMIT..NEW_COMMIT -- skills/pdf-tools scripts/

If the diff is acceptable, check out the new commit and plan an update for the existing installation:

skills-audit lifecycle --project-root ~/skill-review plan update \
  --installation-id INSTALLATION_ID \
  --source ~/skill-review/vendor-skills \
  --entrypoint skills/pdf-tools \
  --plan-out ~/skill-review/pdf-tools.update.json

Approve the new plan ID the same way. The previous version is kept, so plan rollback --version-id can return to it later. The rollback needs its own approval; it never reuses the old one.

Step 7: stop using it

revoke and disable do different things, and you may need both:

If the skill ran before you found a problem with it, removing it does not undo what it did. Treat any credentials it could read as exposed.

What this process gives you

Your agents run the commit you read. Updates arrive as diffs that someone looks at. If the installed copy changes outside that path, the approval is voided and preflight returns a block instead of a pass.

The review itself still comes from a person working through the checklist. No step here proves that a skill is benign.


We are researching what security and compliance teams need from this: version-bound approval for every skill on every agent host, receipts auditors can read, and approval voided when a skill drifts. If that is your job, request access on d.skillsauditor.dev. Nothing is for sale yet.