agentsclimarketplace

Skill guardian

Skill 0xtresser/skill-guardian

86,948 agent skills exist. Under 3% are worth installing. Skill Guardian intercepts skill installations to scan for security threats, detect duplicates, and assess necessity — so only high-value skills make it into your agent's context window.

Install
npx -y skills add 0xtresser/skill-guardian

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Pre-installation security gate for agent skills. This skill should be used when the user or agent attempts to install any skill — including requests like "install X", "add X skill", "help me set up the X skill", "npx skills add", or when the agent autonomously decides to install a skill. Also triggers on skill cleanup and audit requests like "clean up my skills", "check installed skills", "any unused skills", "review my skills", or "audit my skill list". Do NOT use for MCP server installation, npm/pip package installation, or non-skill tooling.

SKILL.md

5.3 KB, as published. Nobody here has run it

Skill Guardian

Pre-installation security scan + necessity assessment gate. Cleanup auditor for installed skills.

Hard Rule

Before executing ANY npx skills add, complete ALL steps in the Installation Gate below.

  • Never install without completing the full gate.
  • Never install without explicit user confirmation.
  • Never skip steps for efficiency.
  • Never install silently in the background.

Installation Gate

Execute these 4 steps sequentially when intercepting any skill installation request.

Step 1: Security Scan

  1. Parse the target skill: extract <owner>/<repo> and <skill-name>.

  2. Clone to temp — do NOT install to the agent skill directory:

    git clone --depth 1 https://github.com/<owner>/<repo>.git /tmp/sg-scan-$$
    
  3. Run security scanner. Try in order, use the first available:

    Option Asnyk-agent-scan (preferred; requires SNYK_TOKEN env var):

    uvx snyk-agent-scan@latest --skills /tmp/sg-scan-$$/<skill-name>/SKILL.md --json
    

    Option B — Legacy mcp-scan (no token needed, outdated):

    uvx mcp-scan@latest --skills /tmp/sg-scan-$$/<skill-name>/SKILL.md
    

    Option C — Neither available → skip to Step 1b.

  4. Interpret scan results by issue code prefix:

    Code prefixSeverityAction
    E (E001–E006)CriticalBlock. Report threat details. No override option.
    TF (TF001–TF002)CriticalBlock. Toxic multi-tool attack chain detected.
    W (W007–W013)WarningWarn user with specifics. Ask whether to proceed.
    NoneCleanContinue to Step 2.
  5. Clean up temp: rm -rf /tmp/sg-scan-$$

Step 1b: skills.sh Audit Data (supplementary or fallback)

No public API exists. Fetch audit pages via web fetch and extract risk levels:

https://skills.sh/<owner>/<repo>/<skill-name>/security/snyk
https://skills.sh/<owner>/<repo>/<skill-name>/security/agent-trust-hub

Risk levels to look for: Safe, Low Risk, Med Risk, High Risk, Critical.

If unreachable → note "audit data unavailable", continue. Do not block on this.

Step 2: Necessity Assessment

Run npx skills list to get all installed skills. Evaluate three dimensions:

Duplicates — Compare the new skill's name and description against every installed skill. Flag if functional overlap exists.

pdf already installed → installing nano-pdf adds nothing. ❌ web-search already installed → installing tavily-search duplicates it.

Environment overlap — Check if existing MCP tools or agent built-in capabilities already cover the same functionality.

❌ Exa Search MCP installed → web-search skill is redundant. ❌ Agent has built-in file read/write → file-util skill adds no value.

Quality signals — Fetch from the skill's page on skills.sh if available:

SignalRed flag
Install count< 100
Source repo stars< 10
Last updated> 6 months ago
PublisherNot a verified org (anthropics/, vercel-labs/, microsoft/)

Step 3: Report and Confirm

Present a single consolidated report covering:

  1. Security — scan result and specific findings
  2. Duplicates — overlap with installed skills (if any)
  3. Environment — overlap with existing MCP tools (if any)
  4. Quality — signal summary
  5. Recommendation — one of: Install / Install with caution / Skip recommended / Blocked

CRITICAL: Wait for explicit user confirmation before proceeding. Do not auto-install.

Step 4: Execute

  • User confirms → npx skills add <owner>/<repo>/<skill-name> → verify with npx skills list.
  • User declines → report "Installation cancelled." Clean up any remaining temp files.

Cleanup Mode

Trigger: user asks to clean up, audit, or review installed skills.

  1. Run npx skills list to enumerate all installed skills.
  2. Assess each skill:
    • Redundant with another installed skill?
    • Covered by an existing MCP tool or agent built-in?
    • Source repo still maintained? (check GitHub last push date)
    • New security issues? (re-check skills.sh audit pages)
  3. Present numbered removal recommendations with reasons.
  4. User selects items → run npx skills remove <skill> for each. Confirm each removal.

Fallback Behavior

ConditionAction
snyk-agent-scan unavailable, no SNYK_TOKENTry legacy mcp-scan. If also unavailable → skills.sh only.
skills.sh unreachableNote "audit data unavailable". Continue with scanner results.
Scanner + skills.sh both unavailableWarn user: no security data could be obtained. Recommend manual review. Still require user confirmation before install.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.