Command Palette

Search for a command to run...

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

skill-snitch

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

Security auditing for MOOLLM skills - static analysis and runtime surveillance

SimHackerот SimHacker★ 63 звезды на GitHub

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

Skill Snitch Protocol

Skill Snitch audits MOOLLM skills for security issues through static analysis and runtime surveillance. It's prompt-driven - no Python code, just orchestration via LLM tool calls.

Skill Type Detection

skill-snitch distinguishes between skill types and applies appropriate requirements:

MOOLLM Skills (Strict Requirements)

MOOLLM skills are identified by:

  • Presence of CARD.yml and/or SKILL.md
  • Tags containing "moollm"
  • References to other skills/* or PROTOCOLS.yml
  • Use of K-lines/K-refs

Required files:

  • CARD.yml - Interface, methods, tools, advertisements
  • SKILL.md - Protocol documentation
  • README.md - GitHub-facing documentation

Anthropic/Generic Skills (Flexible)

Non-MOOLLM skills (Anthropic MCP skills, generic tools) have no strict file requirements:

  • May use .mdc files (Anthropic format)
  • Often standalone with no cross-references
  • No CARD.yml/SKILL.md required

Classification Output

classification:
  type: moollm      # moollm | anthropic | generic | hybrid
  confidence: high
  missing_requirements:
    - README.md     # If MOOLLM but missing
  recommendations:
    - "Add README.md for GitHub visibility"

Hybrid Skills

Skills with some MOOLLM elements but incomplete structure:

  • Has CARD.yml but no SKILL.md
  • References MOOLLM protocols but lacks proper structure
  • Flagged for review

Auto-Initialize / Heal

On first invocation, check for and create missing user files:

.moollm/skill-snitch/
├── config.yml          # User preferences
├── ignore.yml          # Patterns/paths to skip
├── trust-overrides.yml # Manual trust level overrides
├── scan-history.yml    # Log of past scans
├── last-scan.yml       # Most recent scan results
└── trust-cache.yml     # Cached trust assessments

INIT Protocol

1. Check if .moollm/skill-snitch/ exists
   - If not: mkdir -p .moollm/skill-snitch/
   
2. For each required file, check existence:
   - config.yml
   - ignore.yml  
   - trust-overrides.yml
   - scan-history.yml
   
3. Create missing files from templates (see below)

4. Report: "skill-snitch initialized" or "skill-snitch healed: created X files"

File Templates

config.yml

# skill-snitch configuration
version: 1

startup_scan:
  enabled: false
  min_severity: medium
  
scan_defaults:
  include_examples: false
  follow_dependencies: true
  max_depth: 3
  
trust_defaults:
  unknown_skill: yellow
  no_card_yml: orange
  external_network: orange
  shell_commands: yellow

ignore.yml

# Patterns and paths to ignore during scans
version: 1

paths:
  - "skills/cursor-mirror/scripts/cursor_mirror.py"  # Contains pattern definitions
  - "**/*_test.py"
  - "**/examples/**"
  
patterns:
  - name: "pattern_definition"
    description: "Regex pattern definitions (not actual secrets)"
    match: 'AuditPattern\(|r".*\(\?i\)|PATTERN_REGISTRY'
    
  - name: "documentation_example"
    description: "Examples in docs"
    match: '```.*\n.*password.*\n.*```'
    
categories_to_skip:
  - info  # Skip INFO-level findings

trust-overrides.yml

# Manual trust level overrides
version: 1

overrides:
  # Example:
  # skills/trusted-skill/:
  #   trust: green
  #   reason: "Reviewed by Don on 2026-01-15"
  #   expires: 2026-07-15

scan-history.yml

# Scan history (append-only)
version: 1
scans: []
# Entries added automatically:
# - date: 2026-01-15T20:30:00Z
#   skill: skills/adventure/
#   findings: 3
#   trust: yellow

Scan Protocol

## SCAN Protocol

When asked to scan a skill:

1. **INIT** - Ensure .moollm/skill-snitch/ exists

2. **Load ignore list**
   - Read .moollm/skill-snitch/ignore.yml
   - Merge with skill's own .snitch-ignore if present
   
3. **Read skill metadata**
   - Read {skill_path}/CARD.yml
   - Note: tools, dependencies, methods
   
4. **Static scan**
   For each file in skill:
   - Skip if matches ignore patterns
   - Look for:
     - Shell commands (curl, wget, ssh, nc)
     - External URLs
     - Encoded content (base64, hex)
     - File access outside workspace
     - Undeclared dependencies
   
5. **Output K-REFs**
   For each finding:
   - Emit: {path}:{line} # {pattern} | {severity} - {description}
   
6. **Log scan**
   - Append to .moollm/skill-snitch/scan-history.yml

Fetch-Scan Protocol (Remote URL)

## FETCH-SCAN Protocol

Scan a skill directly from a URL without downloading or installing.

1. **Receive URL**
   - User provides any URL: GitHub repo, directory, file, blog post, README
   
2. **Resolve what it points to**
   - GitHub repo URL → list contents via GitHub API or raw.githubusercontent.com
   - GitHub directory URL → that's a skill directory, fetch its files
   - GitHub file URL → fetch and scan that single file
   - Blog post / README → read it, follow links to find skill files (CARD.yml, SKILL.md, *.py)
   - Organization / user URL → list repos, identify ones that look
Полный SKILL.md на GitHub

Установить skill-snitch в Claude Code и Claude Desktop

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

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

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

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

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

read_file
list_dir

Вложенные файлы

CARD.ymlEXPORTS.ymlGLANCE.ymlREADME.mdSCAN-METHODOLOGY.mdanalyzers/behavioral.ymlanalyzers/consistency.ymlanalyzers/dual-use.ymlanalyzers/provenance.ymlanalyzers/runtime.ymlanalyzers/skill-type.ymlanalyzers/smells.ymlcatalog/README.mdcatalog/anthropic/CATALOG.mdcatalog/anthropic/CATALOG.ymlcatalog/anthropic/algorithmic-art-generative-creative.mdcatalog/anthropic/doc-coauthoring-collaborative.mdcatalog/anthropic/frontend-design-anti-slop.mdcatalog/anthropic/mcp-builder-development.mdcatalog/anthropic/pdf-document-processing.mdcatalog/anthropic/skill-creator-meta-reference.mdcatalog/anthropic/slack-gif-creator-animation.mdcatalog/anthropic/soffice-shared-systems-engineering.mdcatalog/approved/CATALOG.mdcatalog/approved/CATALOG.ymlcatalog/approved/gno-local-search.ymlcatalog/approved/hn-digest-clean.ymlcatalog/approved/inkjet-useful-hardware.ymlcatalog/approved/intellectia-stock-screener-clean.ymlcatalog/approved/sysadmin-toolbox-reference.ymlcatalog/awesome-agent-skills/CATALOG.mdcatalog/awesome-agent-skills/CATALOG.ymlcatalog/awesome-agent-skills/obra-superpowers-process-skills.mdcatalog/awesome-agent-skills/other-collections.mdcatalog/awesome-agent-skills/trailofbits-security-skills.mdcatalog/caution/CATALOG.mdcatalog/caution/CATALOG.ymlcatalog/caution/compact-state-crypto-risk.ymlcatalog/caution/deepthink-privacy-surface.ymlcatalog/caution/emblemai-safety-overrides.yml

FAQ

Что делает скилл skill-snitch?

Security auditing for MOOLLM skills - static analysis and runtime surveillance

Как установить скилл skill-snitch?

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

Скилл skill-snitch запускает скрипты?

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

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

Сравнить skill-snitch с