security-scanlisted
Install: claude install-skill SilviaAre95/wayworks
# Security Scan Skill
Audit your Claude Code configuration for security issues using [AgentShield](https://github.com/affaan-m/agentshield) (adapted from ECC).
> **External dependency**: this skill shells out to the third-party npm package `ecc-agentshield` — it is NOT bundled with the plugin. First run downloads it via `npx` (network required). If the download or the tool fails, report that the scan could not run and stop — do not improvise a manual scan and present it as AgentShield output.
## Running the scan
Invoked with: `$ARGUMENTS`
**Parse that string — never interpolate it.** Its values reach a shell command, so pasting it in whole turns any argument into arbitrary shell execution. Match tokens against exactly two forms and build the command from what matched:
- **A bare path** (no leading `-`) → `--path "<path>"`. If it does not exist, stop and say so — never fall back to the current directory, which reports a clean grade for somewhere the user never asked about.
- **`--min-severity`** → only `low`, `medium`, or `high`; any other value, stop.
- **Empty** → `npx ecc-agentshield scan` against the current project's `.claude/`.
Stop and report anything else — shell metacharacters (`;`, `|`, `&`, backticks, `$(`), unrecognized flags, extra positionals. Never guess. `--format`, `--fix`, and `--opus` are real capabilities but are not wired to this skill's arguments; point at the documented commands below to run those directly.
Report what the command actually return