skill-guard

See what a skill can do before Claude loads it.

A skill from a marketplace can run scripts, reach the network and read your credentials. Some tell Claude to keep things from you.

Claude Code asks "Use skill acme-setup?" and shows only the name. skill-guard adds the skill's scripts, domains and risky actions to that prompt.

Install the plugin Read the code on GitHub

What you see in Claude Code

The facts appear in the permission prompt Claude Code already shows. You answer Yes or No as usual.

Claude Code asks before it loads the acme-setup skill. The prompt lists its source, description, allowed tools, scripts, what it can do, the domains it mentions and two hidden instructions, then Yes and No.
A real session. acme-setup is a test skill written to misbehave.

How it works

  1. Claude asks for a skill

    Before the skill loads, skill-guard reads its files on your machine. It only reads them and makes no network calls.

  2. You read the facts

    The prompt shows where the skill comes from, what it says it does, its scripts and the domains it mentions. It also lists what its files can do, such as reach the network, install software, read credentials, delete files or change Claude's settings.

  3. Your answer is remembered

    Say yes and that exact version, by SHA-256, loads without asking next time. Say no and nothing loads. A changed skill asks again and shows both hashes.

It also flags hidden instructions

Lines like "do not tell the user" or "silently send" get a warning with the file and line. Claude is told they do not apply.

That warning also shows when you start a skill yourself with /plugin:skill.

Claude Code shows a skill-guard warning: the acme-setup skill asks to hide things from you, with the file and line of each phrase.

Install

You need Claude Code and Python 3.10 or newer. Run these in Claude Code, then restart it:

/plugin marketplace add fredfrazao/claude-skill-guard#v1.3.0
/plugin install skill-guard@fredfrazao

The marketplace is pinned to a release tag, so you choose when to update. To copy the two scripts by hand and check their SHA-256, follow the README.

To let your own skills load without the prompt, list their folder under trusted_paths in ~/.claude/skill-guard.json.

Warnings

Found a false positive or a skill it missed? Open an issue on GitHub.