/hol-guard:plugin-scannerfrom hol-guard
Scans AI agent skills, plugins, MCP servers, and agent tooling for prompt injection, unsafe commands, secret exposure, and supply-chain risks before installation or use.
Ships in hol-guard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use HOL's local plugin-scanner when a user asks to inspect an AI agent skill, plugin, MCP server, agent package, or repository before installation or use. The scanner is shipped by the open-source plugin-scanner Python distribution. It is built from the same HOL Guard source repository, but it is intentionally packaged separately from the hol-guard runtime CLI.
Scanning runs locally and does not require Guard Cloud. Treat scanner findings as evidence about the covered checks, not as a guarantee that a target is safe.
pipx only when plugin-scanner is not already installed and the user approves installation..env files, credential stores, private keys, or unrelated user secrets.Check for the scanner. Run the read-only availability check:
command -v plugin-scanner
If it is unavailable, explain that plugin-scanner is a separate open-source CLI distribution from the HOL Guard repository. Install only after the user explicitly approves setup, using the exact reviewed package version:
pipx install plugin-scanner==3.0.123
Do not assume an existing hol-guard installation also provides the scanner command. If pipx is unavailable, point the user to the plugin-scanner installation instructions rather than silently changing their Python environment.
Scan the target without executing it. For a repository or directory:
plugin-scanner scan PATH --format markdown
For machine-readable results:
plugin-scanner scan PATH --format json
For Agent Skill or plugin structure validation:
plugin-scanner lint PATH
plugin-scanner verify PATH
Use the narrowest local target path that contains the material the user asked to inspect.
Interpret findings. Identify the highest-severity result, the concrete files or rules involved, and whether the scanner found prompt-injection, secret/exfiltration, command-execution, dependency/install, or MCP-specific risks. Recommend the smallest next action supported by the evidence.
Return a concise result containing:
plugin-scanner was already available or installed with explicit user approval;Do not claim a target is safe solely because no finding was returned. Say that no covered issue was detected by the current scan.
If plugin-scanner is missing, stop before scan commands and offer the pinned pipx installation only when installation is within the user's request. If pipx is unavailable, recommend an isolated Python CLI installation approach instead of silently changing the system Python environment.
If scan, lint, or verify fails, preserve the command output needed for diagnosis. Do not execute the target or weaken scanner checks to force a pass. If the target path is ambiguous, ask the user to identify the intended local artifact rather than scanning unrelated directories.
Scan a skill before installation
Input: scan this skill before I install it
Workflow:
command -v plugin-scanner
plugin-scanner scan PATH --format markdown
Output: report the highest-severity covered finding, affected files or rules, and the next action.
Validate an Agent Skill or plugin structure
Input: verify this AI tool
Workflow:
plugin-scanner lint PATH
plugin-scanner verify PATH
Output: report validation failures without executing the target.
Produce machine-readable scan evidence
Input: scan this plugin and return structured results
Workflow:
plugin-scanner scan PATH --format json
Output: summarize the JSON result while preserving concrete rule identifiers and severity.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin hol-guardOther plugins' skills for the same job