
skillscout
io.github.ThomasXin50/skillscout
Find, security-vet and pin-install Claude Code skills, MCP servers and plugins for a project
Documentation
skillscout
An MCP server that helps Claude Code find the right skills, MCP servers and plugins for a project. It vets them for security and installs them pinned. It also has a CLI that audits the skills already in a repo, for use in CI.
It doesn't scrape or host anything. It searches existing catalogs and adds the parts they're missing. The catalogs are skills.sh, the official MCP Registry, and GitHub code search, which is optional and also used for plugins. The parts it adds:
- Recommendations based on the project. It profiles the repo locally and turns what it finds into search queries. Only technology tags such as
nextjsorprismaleave your machine. Results are ranked by fit: matching your stack and what you said you want to do raises a result, and targeting a stack you don't use lowers it. Near-duplicates are folded together. - The same checks for every catalog. The same checks run no matter where an item came from.
- Untrusted text stays out of Claude's context. Third-party files are only read by the scanners. Claude sees a verdict, never the raw files.
- Pinning and re-vetting. Installs are pinned to a commit or version, checked against the vetted content hash, and recorded in a lockfile. Updates are vetted again before you upgrade. Remote MCP servers are re-probed for changes to their tool lists.
Tools
| Tool | What it does |
|---|---|
recommend | Profiles the project, then searches and ranks matching skills, MCP servers and plugins. It also reports how much context your installed skills already use |
profile_project | Languages, frameworks, services, what's installed, how much context it uses, suggested queries (local only) |
search | Searches skills.sh / MCP Registry / GitHub directly |
vet_skill | Fetches a skill at a fixed commit into a quarantine folder and runs every check → allow / review / block |
vet_mcp_server | Vets a registry entry: package source, install scripts, dependencies, known vulnerabilities and malware, provenance, remote tool descriptions |
vet_plugin | Vets a Claude Code plugin. Every hook command is listed, bundled MCP servers are checked for version pinning, and all files are scanned |
install_skill | Installs exactly the vetted content at the vetted commit |
install_mcp_server | Writes a version-pinned entry (secrets as ${ENV} placeholders) |
install_plugin | Copies exactly the vetted plugin files into a local skillscout marketplace and installs from there, so the plugin can't change after vetting |
uninstall | Removes something skillscout installed. A skill you edited locally is only removed with force |
check_updates | Detects local edits, finds upstream changes, re-vets them; never upgrades automatically |
CLI: audit skills in CI
npx skillscout audit [dirs...] [--format text|json|sarif] [--fail-on block|review] [--llm]
It scans ./.claude/skills by default; pass directories to scan others (for example ~/.claude/skills). For each skill it reports whether the skill matches the lockfile, was modified, or isn't managed by skillscout. It exits with code 1 when any skill reaches the --fail-on level, which defaults to block. Use --format sarif to upload results to GitHub code scanning.
What gets checked
| Check | Skills | Plugins | MCP (npm) | MCP (PyPI) | MCP (remote) |
|---|---|---|---|---|---|
Static rules (download-and-execute, reverse shells, credential access + network, environment dumps, exfiltration endpoints, persistence, crypto miners, agent-config tampering, obfuscation, hidden Unicode / HTML comments, broad allowed-tools, bundled binaries) | ✓ | ✓ | ✓ package source | ✓ sdist / wheel | ✓ tool descriptions |
| Hook commands (run automatically, so each one is listed) | – | ✓ | – | – | – |
| Separate model review (no tools, output must match a JSON schema, file delimiters use a random nonce) | ✓ | ✓ | ✓ | ✓ | ✓ |
| Known malware and vulnerabilities (OSV, including the OpenSSF malicious-packages feed) | – | – | ✓ package + direct deps | ✓ package | – |
| Install-time scripts | template package.json | – | ✓ package + direct deps | – | – |
| Partner audits (Gen, Socket, Snyk via skills.sh) | ✓ | – | – | – | – |
| Provenance (stars, repo age, license, archived, publish date, downloads, registry namespace) | ✓ | ✓ | ✓ | ✓ | ✓ |
| Pinned install | commit SHA + content hash | commit SHA + content hash | exact version | exact version | URL (can change, so always "review") |
How the verdict is decided:
- block: any critical signal, or a high static finding. Known malware is always critical.
- review: a high or medium rating from the model review or partner audits, or code that hasn't had a model review. Plugins with hooks always need review.
- allow: anything else. "Allow" means nothing raised a flag. It is not proof of safety.
One exception, for MCP package code only. A clean model review can lower a static block to review, never to allow. Security tools, skillscout included, contain the very patterns the rules look for, and a model can tell a detection signature from a payload. All of these must hold:
- the review rated the package
safeorlow - the review found that the behavior matches the description, and raised no high finding of its own
- every blocking finding is in a code file the reviewer actually read
The exception never applies to:
- skills or plugins
- findings in markdown or remote tool descriptions
- known malware (OSV), hidden Unicode, or bundled binaries
The verdict says when this happened.
Rules grade each hit in context. For example, curl https://vendor… | bash in a skill's setup docs is medium. The same pattern is critical from a raw IP, over plain http, from a paste site, or inside a script. Findings in files the agent never loads are capped at low/medium: package READMEs, and a plugin's tests and docs. A skill's own markdown is not capped, because it is the agent's instructions.
How accurate is it?
npm run eval downloads two public, labeled datasets plus popular skills.sh skills, and measures the static rules on them. Downloaded samples are kept as JSON in eval/.data/ and are never executed. The datasets are MalSkillBench (for academic research use only) and TongxiQu/agent-skill-malware (MIT). Latest static-only results, with no model review:
| Set | n | Flagged (block or review) | Blocked |
|---|---|---|---|
| MalSkillBench malicious: code injection / mixed / prompt injection / in the wild | 38 each | 71% / 61% / 74% / 63% | 47% / 42% / 40% / 34% |
| HF agent-skill-malware, malicious | 124 | 56% | 48% |
| MalSkillBench benign (popular skills) | 150 | 13% | 3.3% |
| HF agent-skill-malware, benign | 223 | 5.4% | 1.8% |
| skills.sh top 75 | 75 | 11% | 4.0% |
The static rules alone miss about a third of malicious samples. Most of those are semantic: for example, "monitoring" that downloads and runs a miner, or telemetry that sends the hostname to an attacker's domain. That's what the model review and the human approval step are for. The rules were tuned on MalSkillBench. The HF set wasn't used for tuning, so treat its numbers as the less optimistic ones.
npm run eval -- --llm --llm-n 100 --yes measures the model review too. It is billed: it prints an estimate first and does nothing without --yes.
Setup
npm install && npm run build
claude mcp add --scope user skillscout -- node /absolute/path/to/skillscout/dist/index.js
cp -r skills/skillscout ~/.claude/skills/ # tells Claude when and how to use the tools
Environment:
ANTHROPIC_API_KEY: turns on the model review. Without it, items containing code get review instead of allow. The model is set bySKILLSCOUT_MODEL(defaultclaude-opus-5-5). SetSKILLSCOUT_LLM_REVIEW=offto turn the review off.GITHUB_TOKEN, or a logged-ingh: higher GitHub rate limits. It is required for plugin search andinclude_githubskill search.SKILLSCOUT_CACHE_DIR: where quarantine copies and verdicts are kept (default~/.cache/skillscout). Verdicts are cached by commit SHA or version, so vetting something a second time is instant.
Files it writes
<project>/.claude/skills/<name>/or~/.claude/skills/<name>/: installed skills. It never overwrites a skill it didn't install.<project>/.mcp.json: project MCP servers. It never replaces an entry it doesn't manage.~/.claude.json: user-scope MCP servers. This goes throughclaude mcp add-jsonwhen the CLI is available. Otherwise the file is edited atomically, with a.skillscout.bakbackup.~/.claude/skillscout-marketplace/: pinned copies of installed plugins. They are installed withclaude plugin install <name> --marketplace <that dir>.<project>/.claude/skillscout.lock.jsonor~/.claude/skillscout.lock.json: the pins.
Network safety
Remote MCP probing only lists tools and never calls one. It goes through a guarded fetch with these protections:
- https only
- no redirects
- private, loopback, link-local and CGNAT addresses are refused, whether given as IP literals or reached by DNS
- the address check runs inside the connection's own DNS lookup, so DNS rebinding can't get around it
Known limits
- The static rules are pattern-based. A determined attacker can get past them, which is why there's a separate model review and a human approval step.
- Only direct npm dependencies are checked, for install scripts and OSV advisories. Python dependencies and container images aren't scanned.
- Remote MCP servers can change at any time.
check_updatesre-probes them, but between checks you're trusting the operator. - Plugin
dependencieson other plugins aren't followed. A remote MCP server bundled in a plugin is only reported, not vetted. - Project-scope plugin installs pin to a copy in your home directory. Teammates need to install the plugin themselves.
Development
npm test # unit tests (no network)
npm run typecheck
npm run dev # run the server from source
npm run eval # detection accuracy (downloads datasets; static rules only unless --llm)
skillscoutnpm install skillscout