SKILL.md Quick Check (Lite — Free Edition)
Compatibility: Claude Code · Cursor · Codex CLI · Python 3 stdlib · Zero external dependencies · 100% offline
Purpose
Never copy a third-party SKILL.md file into .claude/skills/ or .cursor/ without running a static check first. This free lite gate inspects a SKILL.md file completely offline without executing any code and exits 1 whenever high-risk text patterns appear.
3-Step Pre-Install SOP
- Quarantine First: Download or inspect the candidate
SKILL.mdin a temporary directory outside.claude/skills/. - Run the Static Quick Gate:
python scripts/quick_check_lite.py --file <path/to/SKILL.md> - Hard Gate Rule:
- Exit
0([PASS]): Zero lite red flags detected. Manually review any bundled scripts before installing. - Exit
1([BLOCKED]): Do NOT install. Inspect every flagged line number and rule ID.
- Exit
What This Free Lite Edition Checks
MD_UNICODE_HIDDEN: Zero-width spaces (U+200B,U+200C,U+200D,U+FEFF) and bidirectional override characters (U+202A–U+202E,U+2066–U+2069).MD_REMOTE_PIPE_EXEC: Remote download-and-execute patterns (curl ... | sh,curl ... | bash,wget ... | sh,irm ... | iex).MD_PROMPT_INJECTION: Common instruction-override directives (ignore previous instructions,disregard system prompt,exfiltrate).
Need Full Directory + Python AST Auditing?
This free lite skill checks SKILL.md markdown text only. If you install third-party skill folders that bundle .py or .sh helper scripts, the full SKILL.md Supply-Chain & Prompt-Injection Auditor ($15 on Agensi: https://www.agensi.io/creators/duylam) adds static Python AST inspection (eval, exec, subprocess(..., shell=True), outbound network imports, non-stdlib dependency checks), secret-path targeting (.env, ~/.ssh, ~/.aws), persistent shell tampering (~/.bashrc, ~/.zshrc), suspicious base64 blobs, JSON Schema policy files, and SHA-256 file inventories.
60-Second Quick-Start
Run from skills/skill-md-quick-check-lite/:
python scripts/quick_check_lite.py --file examples/sample_fail_SKILL.md
python scripts/quick_check_lite.py --file examples/sample_pass_SKILL.md
python scripts/quick_check_lite.py --file examples/sample_pass_SKILL.md --json