Skillguard

From profbernardoj/everclaw-community-branches · View interactive version

Skillguard is an AI agent skill from the GitHub repository profbernardoj/everclaw-community-branches. Security scanner for AgentSkill packages. Scan skills for credential theft, code injection, prompt manipulation, data exfiltration, and evasion techniques before installing them. Use when evaluating skills from ClawHub or any untrusted source.

How to use this skill

Skill file

SkillGuard — Agent Security Scanner

When asked to check, audit, or scan a skill for security, use SkillGuard.

Trust Model (v0.3)

SkillGuard distinguishes between internal (trusted) and external (untrusted) skills:

Why it matters

Internal skills legitimately use patterns like exec(), process.env.API_KEY, fetch(), and writeFile() — that's infrastructure code doing its job. Flagging those as "suspicious" creates noise that buries real issues.

For internal skills, SkillGuard uses vulnerability-focused scanning:

For external skills, full paranoid threat-model scanning applies — every pattern is treated as potentially malicious.

Overriding trust

Use --untrusted to force external mode on an internal skill:

node src/cli.js scan /path/to/skill --untrusted

Commands

Scan a local skill directory

node /home/claw/.openclaw/workspace/skillguard/src/cli.js scan <path>

Scan with compact output (for chat)

node /home/claw/.openclaw/workspace/skillguard/src/cli.js scan <path> --compact

Check text for prompt injection

node /home/claw/.openclaw/workspace/skillguard/src/cli.js check "<text>"

Batch scan multiple skills

node /home/claw/.openclaw/workspace/skillguard/src/cli.js batch <directory>

Scan a ClawHub skill by slug

node /home/claw/.openclaw/workspace/skillguard/src/cli.js scan-hub <slug>

Score Interpretation

Output Formats

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.