/spotlight:shell-safetyfrom spotlight
Provides portable safe command construction rules and validation helpers for shell operations with untrusted input. Use before any shell call containing user, model, scraped, configuration, filesystem, or generated values.
Ships in spotlight. 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.
Read when SKILL.md points to them; scripts run unread.
Use this skill before any shell operation that includes data from a user, model, scraped page, email, social post, configuration file, filesystem path, or generated output. Treat all such material as untrusted input.
Run the helper from the Spotlight checkout root, through the Spotlight
interpreter (never a bare python3):
scripts/spotlight-python scripts/spotlight_safe.py validate-url "<url>"
scripts/spotlight-python scripts/spotlight_safe.py validate-doi "<doi>"
scripts/spotlight-python scripts/spotlight_safe.py validate-timestamp "<timestamp>"
scripts/spotlight-python scripts/spotlight_safe.py validate-slug "<slug>"
scripts/spotlight-python scripts/spotlight_safe.py resolve-path --base "<allowed-base>" --path "<candidate>"
scripts/spotlight-python scripts/spotlight_safe.py destructive-probe --base "<allowed-base>" --path "<candidate>"
scripts/spotlight-python scripts/spotlight_safe.py sha256 "<file>"
This is the one supported entry. It runs this skill's
scripts/shell_safe.py, so do not call that file directly.
The helper rejects shell metacharacters in identifiers, invalid URL schemes, & outside a URL's query string (always pass a URL double-quoted), path traversal outside the allowed base, leading-dash path segments, NUL bytes, and unsafe destructive targets.
Do not write examples like:
curl "https://example.test?q={user_query}"
Use one of these instead:
curl --get --data-urlencode "q=<value>" https://example.test/searchjson.dumps--data @file.jsonPassing an untrusted string inside a shell-quoted CLI argument still lets the
shell interpret quotes, backticks, and substitutions. Prefer stdin, a validated
temporary file, environment variables, or structured JSON. If a downstream
tool accepts only one quoted argument, reject NUL, line breaks, backticks,
$, ;, &, |, <, and > before invocation.
Before destructive work:
destructive-probe or an equivalent non-destructive probe using the same resolved arguments.Never provide one-shot destructive commands in skill instructions.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (buriedsignals/spotlight) — no native marketplace selected
npx claudepluginhub p/buriedsignals-spotlight26 skills in this plugin
/acquisition-graduationConvert repeated dev-browser acquisition successes into durable Spotlight acquisition guidance. Use after a non-trivial browser acquisition works repeatedly and should become a reusable source/domain path without storing secrets, cookies, or fragile session details./arbiterUse the native Arbiter HTTPS API to browse or create bounded social-media case studies and attach its analytics to a Spotlight report./content-accessWork through the legal access hierarchy for paywalled or restricted sources before marking them inaccessible and downgrading confidence/editorial-reviewGenerate a self-contained HTML review artifact after the Investigation gate and export structured feedback to the Investigation gate owner. No server required./epistemic-groundingPortable claim-to-evidence grounding for knowledge work, fact-checking, and Spotlight investigations. Use when extracting claims or findings, assigning confidence, diagnosing weak support, or deciding whether material is a lead, partially grounded claim, verified finding, disputed claim, or false claim./follow-the-moneyFinancial investigation methodology for journalists — corporate ownership, offshore structures, budgets, assets, and public blockchain tracing.Other plugins' skills for the same job