check
Check cross-artifact consistency — reference integrity, orphans, contradictions
Scan a Claude Code plugin for security risks in executable artifacts (hooks, scripts, MCP configs, dependencies).
> /plugin marketplace add xiaolai/nlpm > /plugin install nlpm@xiaolai
How it fires
How this command gets triggered: by you, by Claude, or both.
/security-scanContext preview
What this command does when you run it.
Scan a Claude Code plugin for security risks in executable artifacts (hooks, scripts, MCP configs, dependencies).
name: security-scan description: Scan a Claude Code plugin for security risks in executable artifacts (hooks, scripts, MCP configs, dependencies). user-invocable: true argument-hint: "[path]" allowed-tools: Read, Glob, Grep, Task
Scan a plugin or skill repo for security risks before auditing or contributing.
If arguments provided: use as target directory path. If no arguments: use the current working directory.
Check the target exists and contains at least one of:
If none found: report "Not a Claude Code plugin directory" and stop.
Dispatch the `security-scanner` agent on the target directory.
Wait for the agent to complete and collect its report.
Display the full report in this exact structure: the agent report as the body, followed by the gate banner as the footer. The `security-scanner` agent emits the body; this command appends only the banner.
{security-scanner agent report — verbatim}
────────────────────────────────────────────────────────────
{GATE BANNER — chosen per recommendation, see below}
────────────────────────────────────────────────────────────Gate banners:
If the recommendation is BLOCK:
SECURITY GATE: BLOCKED Critical/High security findings. Do NOT install or contribute to this plugin without resolving these findings first.
If the recommendation is REVIEW:
SECURITY GATE: REVIEW NEEDED Medium-severity findings detected. Review the findings before proceeding.
If the recommendation is PASS:
SECURITY GATE: PASSED No Critical/High security findings. Safe to proceed with audit and contribution.
**Error handling:**
Natural-Language Programming Manager — score, check, fix, and test NL artifacts across Claude Code, Codex CLI, and Antigravity. Tier-aware scoring with per-tool overlays. Part of the xiaolai plugin marketplace.
Check cross-artifact consistency — reference integrity, orphans, contradictions
Auto-fix fixable findings in NL artifacts — missing fields, heading gaps, field renames
Prepare NLPM for this project — detect artifacts, set strictness, capture baseline trend snapshot
Discover all natural language programming artifacts in a repository
Render a self-contained HTML report — per-file scores, score trend, cross-artifact graph, vocabulary noun-verb map, drift…
Score NL programming artifacts — 100-point quality score per file