ask-matt
MAmattpocock/skills336k5,004 new stars in the last 7 days
Review AI agent skills before installation using NVIDIA SkillSpector and source-aware semantic review. Use when asked whether a skill or downloaded skill folder is safe, trustworthy, installable, over-permissioned, or malicious.
Decide whether an AI agent skill is safe to install, keep installed, or submit for review.
Use two independent review lines:
Do not rely on the numeric score alone. A low score can miss semantic risk, and a high score can be justified when sensitive behavior is clearly documented, necessary, and bounded.
skillspector CLI is available.skillspector is missing, say so clearly and continue with manual source review.--no-llm unless the user asks for LLM analysis. Do not choose or change SKILLSPECTOR_PROVIDER on your own. The claude_cli, codex_cli, gemini_cli, and opencode_cli providers start a separate agent session for every LLM call, billed to the user's own plan, so ask before using them and do not run several such scans in parallel.find, rg, sed, jq, file, and git diff.APPROVE, CAUTION, or REJECT.Resolve the target.
Accept a local skill directory, downloaded archive, or repository URL. Review the exact artefact that will be installed, not the default branch of the whole repository: a verdict is only valid for the artefact it examined.
Name the install channel (git tag or commit, publish branch, package registry tarball, or release binary) and fetch from that channel at the exact version the install pins. For a git tag, clone the repository and check out the fully qualified tag ref, for example git clone <url> <dir> && git -C <dir> fetch origin refs/tags/<tag> && git -C <dir> checkout --detach refs/tags/<tag>, then verify the checked-out commit matches that ref (git -C <dir> rev-parse HEAD equals git -C <dir> rev-parse refs/tags/<tag>^{commit}) before scanning. For a git commit, check out the full commit SHA the install pins and verify HEAD matches it the same way. Or use npm pack <pkg>@<version> for a registry tarball. Never use a default-branch clone, and never use the ambiguous git clone --branch <tag>, which prefers a same-named branch (refs/heads/<tag>) over the tag when both exist. If the user gives only a repository URL with no pinned version, ask which tag, commit, or release will be installed before reviewing. Record the resolved version or commit in the report's Source line, and make every line reference in the report point at that artefact.
When the target writes skill or instruction files at run time, locate the generator and review the rendered text, above all its trigger description: a file-based scan never sees text that only exists after the first run. Do not run the generator to obtain that text. When the rendered text depends on runtime inputs (configuration chosen on first run, environment values, or user selections), reconstruct it statically from the generator source by listing every input it branches on and reviewing each resulting variant, or ask for a rendered artifact produced outside this review and review that instead. If neither path yields the final text, record the missing coverage in the report and cap the verdict at CAUTION: the verdict does not cover the generated instruction text.
When installed hooks or scripts execute code outside the installed path (a globally installed CLI, a self-updater), list that code and either review it or state plainly that the verdict does not cover it.
Do not run installer scripts from the target.
Run the static scan.
On POSIX systems:
skillspector scan "$TARGET" --no-llm --format json --output /tmp/skill-inspector-report.json
On Windows, safe file output is unsupported, so --output always fails
(exit code 2) and no report is written. Omit --output and redirect
stdout to a file outside the scan target instead. Use
[IO.File]::WriteAllText(...), not > or Set-Content -Encoding utf8:
plain > writes UTF-16 JSON on PowerShell 5.1, which JSON parsers
reject, and Set-Content -Encoding utf8 writes a UTF-8 BOM on
PowerShell 5.1, which Python and Node JSON parsers also reject. The
[IO.File]::WriteAllText(...) form is BOM-free on both PowerShell 5.1
and 7+ (-Encoding utf8NoBOM is an alternative, but only on
PowerShell 6+):
$report = skillspector scan "$TARGET" --no-llm --format json
$exitCode = $LASTEXITCODE
try {
[IO.File]::WriteAllText("$env:TEMP\skill-inspector-report.json", ($report -join "`n"))
} catch {
exit 2
}
exit $exitCode
Capture $LASTEXITCODE immediately after the scan and exit with it:
a successful file write would otherwise mask a failing scan with exit
code 0, since WriteAllText itself succeeds even when the scanner
exits non-zero. Conversely, exit 2 if the write itself fails, so a
failed write after a successful scan does not exit 0 either. The string written is the same one the single-line
form passed to WriteAllText (stdout lines joined with "`n"), so
the report stays BOM-free.
If the command exits non-zero, inspect any partial report and continue manually. Record that the static line was incomplete. On Windows, a non-zero exit from a command using --output is a platform refusal, not a scan failure: no partial report exists, so do not look for one or retry the same command.
When only a subset of the resolved artefact will be installed, scan that subset as its own target ($TARGET is the subset directory) and grep its bodies for directives to run project-local files (./*.sh, "NEVER SKIP", "always run"): a whole-repo pass can miss an instruction that only the installed subset carries.
Read the SkillSpector report.
Extract:
Read the target source.
Always inspect:
SKILL.mdAlso inspect MEDIUM findings when they involve network access, credentials, environment variables, file writes, shell execution, MCP permissions, persistence, obfuscation, or user/context leakage.
Apply semantic review.
Check whether the implementation matches the stated purpose:
eval, exec, decoded payloads, or downloaded code?Produce the combined verdict.
Use this rubric:
APPROVE: no HIGH or CRITICAL findings, no unexplained sensitive behavior, the source matches the stated purpose, and any runtime-generated instruction text was either reconstructed statically or reviewed as a supplied rendered artifact.CAUTION: sensitive behavior exists, but it is documented, necessary, bounded, and controllable by the user. Use CAUTION as well when runtime-generated instruction text could not be obtained within the operating rules, and name the uncovered text in the report.REJECT: malicious or deceptive behavior, unexplained HIGH or CRITICAL findings, hidden prompt injection, credential theft, unknown exfiltration, obfuscated execution, persistence, or a clear mismatch between description and behavior.Use the SkillSpector score as risk posture, not as the verdict:
| Score | Default posture |
|---|---|
| 0-20 | Usually acceptable after quick source review. |
| 21-35 | Acceptable only when findings are clearly explained. |
| 36-50 | Manual review required; default to CAUTION unless every concern is explained. |
| 51-80 | Default to REJECT unless the source is trusted and every sensitive behavior is necessary. |
| 81-100 | Default to REJECT. |
Write a concise security triage report, not a raw scanner dump.
Language policy:
APPROVE, CAUTION, and REJECT.Tone and formatting:
Recommended report shape:
## 🛡️ Skill Inspector: `{skill-name}`
**Source:** {path-or-url} · {resolved version or commit}
**Verdict:** {APPROVE | CAUTION | REJECT} {short meaning}
**Risk:** {score}/100 · {severity} · {SkillSpector recommendation}
**Install posture:** {one sentence about suitable and unsuitable use}
### Bottom Line
{2-3 sentences explaining whether to install or use it, the main risk, and why the score alone is not enough.}
### Signal Overview
| Source | Result | Interpretation |
|---|---|---|
| SkillSpector static scan | {summary} | {meaning} |
| Agent semantic review | {summary} | {meaning} |
| Sensitive surface | {network/env/files/shell/MCP/git/etc.} | {meaning} |
### Key Evidence
| Rule | Severity | Location | Review judgment |
|---|---|---|---|
| {rule id} | {severity} | {file}:{line} | {why acceptable, suspicious, or rejecting} |
### Diagnosis
{2-4 sentences connecting static evidence with semantic review and explaining the final verdict.}
### Guardrails
1. {condition 1}
2. {condition 2}
Translate section names naturally when the user's language is not English. Keep technical identifiers unchanged.
If SkillSpector is unavailable, still inspect:
SKILL.md frontmatter and bodyState clearly that no SkillSpector scan ran, then give a semantic-only verdict with lower confidence.
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
OBobra/superpowers331k5,757 new stars in the last 7 days
AFaffaan-m/ECC314k4,125 new stars in the last 7 days
AFaffaan-m/ECC314k4,125 new stars in the last 7 days