원클릭으로
skill-validator
Use when auditing a new or existing skill for security vulnerabilities, malware (bash scripts), and structural compliance.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when auditing a new or existing skill for security vulnerabilities, malware (bash scripts), and structural compliance.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when the user asks to create, combine, split, preview, or extract content from PDF files. Triggers include "markdown to pdf", "mermaid in pdf", "merge PDFs", "split a PDF", "extract text from pdf", "fill AcroForm", "preview pdf as image", and similar PDF generation or manipulation tasks.
Use when summarizing meeting transcripts OR articles, papers, and threads into structured Markdown or wiki note-JSON. Model-agnostic meta-skill: auto-detects content type, selects a template, and produces a two-level pyramid (or opt-in structured note-JSON) optimized for people, AI agents, RAG, and Obsidian.
Use when converting a web page (URL) or a saved .html/.htm/.mhtml/.webarchive into clean Markdown — a web-clipper for Obsidian notes and a universal HTML→Markdown step for agent workflows. Triggers include "html to markdown", "url to markdown", "web page to obsidian", "webarchive to markdown", "mhtml to markdown", "scrape page to notes", "clip this article".
Use when the user asks to create, edit, convert, validate, preview, or password-protect Microsoft Word .docx documents. Triggers include "markdown to docx", "docx to markdown", "fill Word template", "accept tracked changes", "validate docx", "preview docx as image", "encrypt/decrypt docx", and related .docx round-trip or template-fill tasks.
Use to DRIVE the running Obsidian desktop app from the shell via its official CLI: link-safe rename/move, typed properties, task toggles, daily-note capture, template insertion, Base queries, file-history restore, open notes/panes. Triggers: "rename/move the note", "open in Obsidian", "daily note", "set a property", "query the base", "restore a version", "obsidian cli". NOT for knowledge lookup — for anything ABOUT vault content use wiki-ingest query mode first.
Use when the user asks to create, edit, convert, preview, clean, or password-protect Microsoft PowerPoint .pptx presentations. Triggers include "markdown to pptx", "pptx to markdown", "slides from outline", "mermaid in slides", "pptx to pdf", "slide thumbnails", "drop orphan slides", "OCR slide images", "encrypt/decrypt pptx", and related presentation or OOXML round-trip tasks.
| name | skill-validator |
| description | Use when auditing a new or existing skill for security vulnerabilities, malware (bash scripts), and structural compliance. |
| tier | 2 |
| version | 1.3 |
Purpose: Automatically audit skills (especially third-party/downloaded ones) to detect security risks, malicious patterns, and ensure compliance with the "Rich Skill" structure.
STOP and READ THIS if you are thinking:
SKILL.md examples or Python strings.SKILL.md frontmatter, required directories, and file integrity.eval, exec, subprocess, os.system) across all files.--ai-scan).Run Full Audit (Recommended for Untrusted Skills):
This script runs all checks (including AI Scan), ignores .scanignore, and prompts you for Phase 3 verification if needed.
python3 scripts/full_audit.py <path-to-skill>
Run Standard Scan (For Your Own Trusted Skills):
This respects .scanignore and runs faster (no AI scan by default).
python3 scripts/validate.py <path-to-skill>
Analyze Report: Review the output.
Check Risk Level: If DANGER or CAUTION, perform Phase 2.
scripts/ contains bash files, read them carefully.
For deep analysis of prompts or suspicious text, use the extracted LLM prompts in references/prompts/.
jailbreak_check.md or alignment_check.md.references/prompts/jailbreak_check.md and analyze the following text: [Text from Skill]"| Flag | Description |
|---|---|
--json | Output results in structured JSON format (for CI/CD). |
--no-scanignore | Ignore .scanignore files. Use for untrusted skills. |
--strict | Exit code 2 on warnings (for CI/CD gating). |
--ai-scan | Enable AI threat detection (prompt injection, jailbreaks). |
--version | Print validator version. |
graph TD
%% Phase Definitions
subgraph Phase1 [Phase 1: Automated Scan]
A[Start: Skill Path] --> B{Structure Check}
B -- Pass --> C[File Scan]
C --> D[Bash Scanner]
C --> E[Static Analyzer]
E --> F[Payload Decoder]
F --> G[Re-Scan Content]
C -.->|--ai-scan| H[AI Threat Scanner]
D & E & G & H --> I{Risk Calculation}
I --> J[Generate Report]
end
subgraph Phase2 [Phase 2: Manual Review]
L[Check Scripts & Obfuscation]
L --> M{Is Malicious?}
end
subgraph Phase3 [Phase 3: Agent Verification]
N[Suspicious/Ambiguous Content]
N --> O[Agent-Assisted Prompt Analysis]
O --> P[Agent Opinion]
end
subgraph Phase4 [Phase 4: Final Verdict]
EndSafe[End: Safe]
EndBlock[End: Block/Fix]
end
%% Connections
J --> K{High Risk / Warnings?}
K -- No --> EndSafe
K -- Yes --> L
M -- Yes --> EndBlock
M -- No --> EndSafe
M -- Unsure --> N
P --> Q{Final Verdict}
Q -- Safe --> EndSafe
Q -- Unsafe --> EndBlock
%% Styling
style EndSafe fill:#d4edda,stroke:#155724,stroke-width:2px
style EndBlock fill:#f8d7da,stroke:#721c24,stroke-width:2px
[!WARNING] Regex-based bypass: This scanner uses pattern matching. Attackers can bypass it with string splitting, variable indirection, encoding layers, or dynamic imports. See
references/guidelines.mdfor known bypass techniques.
[!CAUTION]
.scanignorerisk: By default,.scanignorein the scanned skill is honored. For untrusted skills, ALWAYS use--no-scanignoreto prevent attackers from hiding their malicious files.
scripts/validate.py: Main entry point.scripts/scanners/: Pluggable scanner modules.
patterns.py: Shared pattern definitions.bash_scanner.py: Bash-specific scanner.static_analyzer.py: Static analysis, obfuscation, Base64 inspection.ai_scanner.py: AI threat detection (prompt injection, jailbreaks).structure_check.py: Structural validation.references/guidelines.md: OWASP patterns, CWE references, known bypass techniques.examples/usage_example.md: Complete usage walkthrough with sample outputs.assets/report_format_example.md: Suggested report format for downstream consumers.references/prompts/: LLM prompts for agent-assisted verification.
jailbreak_check.md: Detects adversarial attacks.alignment_check.md: Verifies topical scope.