skill-md-quick-check-lite

Free offline pre-install quick check for third-party SKILL.md files. Catches hidden zero-width/bidi Unicode spoofing, curl|bash remote pipes, and prompt-injection override directives using pure Python 3 stdlib before copying any skill into .claude/skills/.

Qu'est-ce que skill-md-quick-check-lite ?

skill-md-quick-check-lite is a Claude Code agent skill that free offline pre-install quick check for third-party SKILL.md files. Catches hidden zero-width/bidi Unicode spoofing, curl|bash remote pipes, and prompt-injection override directives using pure Python 3 stdlib before copying any skill into .claude/skills/.

Compatible avec✓Claude Code✓Codex CLI✓Cursor
npx skills add https://github.com/duyplus2022/agent-guardrails-lite/tree/HEAD/skills/skill-md-quick-check-lite

Installed? Explore more Productivité et collaboration skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

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

  1. Quarantine First: Download or inspect the candidate SKILL.md in a temporary directory outside .claude/skills/.
  2. Run the Static Quick Gate:
    python scripts/quick_check_lite.py --file <path/to/SKILL.md>
    
  3. 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.

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

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

Skills associés