SkillSpector can be installed into Pi as a local package. The extension registers a skillspector_scan tool that runs the existing SkillSpector CLI.
- Pi installed.
- Python in the package's supported range; Python 3.12 or 3.13 is recommended for prebuilt YARA wheels. See the installation notes.
uvrecommended.- This repo checked out locally.
cd /path/to/SkillSpector
uv sync --python 3.13
pi install /path/to/SkillSpectorThen reload Pi:
/reload
Ask Pi:
Use skillspector_scan on tests/fixtures/safe_skill/SKILL.md with noLlm=true.
Equivalent CLI:
.venv/bin/skillspector scan tests/fixtures/safe_skill/SKILL.md --no-llmtarget: path, URL, zip, Git repo, orSKILL.mdto scan.format:terminal,json,markdown, orsarif. Default:terminal.output: optional report path.noLlm: defaulttrue.provider: optionalopenai,anthropic,anthropic_proxy,nv_build,nv_inference, orgemini.model: optional model override.yaraRulesDir: optional directory of extra YARA rules.verbose: optional detailed progress.
Inputs inside the session's working directory run without a prompt. Remote targets
and external paths require confirmation; redirected aliases show their resolved
destination too. Print and JSON sessions reject these requests because they cannot
show a dialog. Use TUI or RPC mode, move the skill into the working directory, or
run the CLI directly. Local targets retain the CLI's refusal of symlinked paths.
Missing rule directories fail before scanning, and YARA include directives are
disabled: put self-contained rule files in the selected directory.
Static scan is default. To use semantic LLM analysis, configure provider credentials in your shell before launching Pi, then call the tool with noLlm=false and a provider.
Static scans have a 120-second process limit. Explicit LLM scans have a
630-second limit, independent of the CLI's default 1080-second workflow budget.
This tool can therefore stop a scan before its workflow deadline. Changing
SKILLSPECTOR_MAX_WORKFLOW_SECONDS does not extend this tool limit; use the CLI
directly for longer scans.
Example:
Use skillspector_scan on ./my-skill with noLlm=false and provider=anthropic.
The extension does not read .env and redacts secret-looking output.
pi remove /path/to/SkillSpector