guardskills
SKILL.md
GuardSkills — Security Scanner for Skills
Static analysis security gate. Scans skill files for malicious patterns and produces a risk decision before allowing installation.
Rule — ALWAYS scan before installing
Before installing any skill (ClawHub, GitHub, local, or skills.sh), you MUST run a guardskills scan first. Never run clawhub install, skills add, or copy skill files without scanning.
Scan by source
1. ClawHub skills
When the user asks to install a ClawHub skill, scan it first:
guardskills scan-clawhub <owner/skill-slug>
Also accepts full URLs:
guardskills scan-clawhub https://clawhub.ai/owner/skill-slug
2. Local skills
When loading or reviewing a skill folder on disk:
guardskills scan-local <path-to-skill-folder>
If the path contains multiple skills:
guardskills scan-local <path-to-skills-root> --skill <skill-folder-name>
3. GitHub skills
When installing from a GitHub repository:
guardskills add owner/repo --skill <skill-name> --dry-run
Also accepts full URLs:
guardskills add https://github.com/owner/repo --skill <skill-name> --dry-run
4. skills.sh skills
Use the same GitHub flow:
guardskills add owner/repo --skill <skill-name> --dry-run
If scan passes:
guardskills add owner/repo --skill <skill-name>
How to interpret results
| Decision | Action |
|---|---|
SAFE |
Proceed with installation. |
WARNING |
Ask the user for confirmation before proceeding. |
UNSAFE |
Block. Tell the user the skill is unsafe and do not install. |
CRITICAL |
Block. Do not install under any circumstances. |
UNVERIFIABLE |
Block. Inform the user the skill could not be verified. |
Useful flags
--json— machine-readable JSON output--dry-run— scan only, do not install--ci— deterministic gate mode (no prompts, no install)--strict— use stricter risk thresholds--yes— auto-accept WARNING level (only if user explicitly requests)--force— override UNSAFE block (only if user explicitly requests)--allow-unverifiable— override UNVERIFIABLE block (only if user explicitly requests)
Exit codes
0— allowed / safe10— warning not confirmed20— blocked (UNSAFE, CRITICAL, or UNVERIFIABLE)30— runtime / internal error
Recommended workflow
- User asks to install a skill.
- Determine the source (ClawHub, GitHub, local, skills.sh).
- Run the appropriate
guardskillsscan command. - Read the decision from the output.
- If
SAFE, proceed withclawhub installor equivalent. - If
WARNING, inform the user and ask for confirmation. - If
UNSAFE,CRITICAL, orUNVERIFIABLE, block and explain why. - Never skip the scan step.
Notes
- guardskills is an additional security layer, not a replacement for manual review.
- A
SAFEresult means no known high-risk patterns were detected, not a guarantee of safety. - The scanner checks for: credential exfiltration, remote code execution chains, destructive filesystem operations, privilege escalation, obfuscated payloads, and suspicious network activity.
Weekly Installs
1
Repository
openclaw/skillsGitHub Stars
3.8K
First Seen
Mar 8, 2026
Security Audits
Installed on
mcpjam1
github-copilot1
junie1
windsurf1
zencoder1
crush1