Skill scanner scans
Security-focused skills for AI coding agents
npx -y skills add thedevappsecguy/sec-skills --skill skill-scanner-scansAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Inspect the current environment, reuse or install the PyPI package `skill-scanner` with `pip`, and scan AI skills, prompts, instructions, agents, and rules for malicious behavior. Use this skill whenever the user mentions `skill-scanner`, `skillscan`, `pip install skill-scanner`, malicious AI skills, suspicious prompt or instruction files, or scanning Codex, Claude, Cursor, Copilot, Gemini, Windsurf, Cline, or OpenCode skill artifacts.
SKILL.md
6.0 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it
Skill Scanner Scans
Overview
Use this skill to set up or reuse the published skill-scanner CLI, discover AI skill and instruction artifacts first, and then scan selected targets for malicious behavior. Prefer direct CLI execution after install, and keep the default output human-readable.
Workflow
- Inspect the operating system, Python launchers, Python version, current directory, and whether
skill-scannerorskillscanalready works. - Reuse an existing working CLI when present.
- Select the best Python launcher for the platform and confirm it meets the package requirement of Python 3.11 or newer.
- Install with user-level
piponly when the CLI is missing or clearly unusable. - Verify the CLI with
skill-scanner --helpfirst andskillscan --helpas fallback. - Check analyzer readiness with
doctor. - Run discovery before any live scan.
- If the user already pointed to a specific skill file or folder, scan that target after discovery confirms it.
- If the user did not specify a target, present discovered skills and let the user choose what to scan before running a live scan.
- If no analyzer is configured, still show what is discoverable without keys and stop with the exact blocker.
Default Behavior
Act instead of only describing:
- Detect the platform and available Python launchers before choosing commands.
- Prefer these launcher choices:
- Windows:
py -3.11, thenpy, thenpython - macOS and Linux:
python3, thenpython
- Windows:
- Check whether
skill-scannerorskillscanis already onPATH. - If the CLI is missing, install with the selected launcher using
-m pip install --user skill-scanner. - If the install succeeds but the CLI is not on
PATH, derive the user scripts directory from the selected interpreter, run the binary by absolute path, and explain the PATH fix. - Run
skill-scanner doctorafter setup. - Run discovery first with
skill-scanner discover --format tableorskill-scanner scan --list-targets. - If the user provided a specific file or folder, confirm it appears in discovery or is the intended direct target, then run
skill-scanner scan --path <target> --format summary. - If the user did not provide a target, summarize the discovered skills and ask which one to scan before running the live scan.
- If analyzer configuration does not exist, stop after discovery and report that live scanning is blocked until an analyzer is configured.
- After any live scan, provide clear and actionable remediation for each meaningful finding.
Do not assume uv. This skill intentionally uses pip.
Environment Checks
Inspect these first:
- operating system and shell context
- current directory and whether it is inside a git repository
skill-scanner --helpskillscan --help- Python launcher availability and version
- whether
SKILLSCAN_MODEL,SKILLSCAN_API_KEY,SKILLSCAN_BASE_URL, orVT_API_KEYare set
If the user provided a specific file or folder, prefer --path <target> after discovery. Otherwise, rely on the tool's default broad discovery across repo, user, system, and extension scopes, then let the user choose which discovered skill to scan.
Analyzer Decision
- Treat LLM analysis as available only when
SKILLSCAN_MODELis set and eitherSKILLSCAN_API_KEYorSKILLSCAN_BASE_URLis present. - Treat VirusTotal analysis as available when
VT_API_KEYis present. - Treat live scanning as blocked when neither analyzer is configured.
- When live scanning is blocked, continue with
discoverorscan --list-targetsso the user can still see the candidate artifacts. - Do not skip target selection when multiple discovered skills are in scope and the user did not name one.
Default Scan Flow
Use this order:
- Reuse or install the CLI.
- Verify the entrypoint works.
- Run
doctor. - If keys may be valid and the user wants connectivity checked, run
doctor --check. - Run
discover --format tableorscan --list-targetsbefore any live scan. - If the user explicitly named a skill file or folder and at least one analyzer is configured, run
scan --path <target> --format summary. - If discovery returns multiple candidate skills and the user did not specify one, present the list and ask the user which target to scan.
- If discovery returns one obvious target and the user's intent is clearly to scan it, proceed and state that inference.
- If no analyzer is configured, stop after discovery and explain the configuration blocker.
Prefer skill-scanner as the main command name. Use skillscan only when the primary entrypoint is unavailable.
Output Pattern
Report progress in this order:
- What was found in the environment.
- Whether the CLI was reused or installed.
- Which Python launcher was selected.
- Whether the CLI worked directly or required an absolute scripts-directory path.
- Whether analyzers were configured.
- Which skills or artifacts were discovered.
- Which target was selected and why.
- What scan or discovery command was run.
- The findings or the exact blocker.
- Clear remediation for each real finding, including what to remove, restrict, verify, or rewrite.
Reference Use
Load references/install-and-usage.md when you need:
- exact Windows, macOS, or Linux install commands
- user-level scripts-directory and PATH troubleshooting
- exact
doctor,discover,scan,--list-targets,--fail-on, or--outputcommand patterns - target-selection and path-scoped scan patterns
- analyzer environment variables and config file locations
What ships with it: 1 file
5.2 KB alongside SKILL.md
references/
- install-and-usage.md5.2 KB