Spellwarden — Security skill for Claude Code
Open-source scanner for agent skills, MCP servers, Claude Code configuration and A2A agent cards.
How to install Spellwarden
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open spellwarden-ai/spellwarden and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Spellwarden does
Open-source scanner for agent skills, MCP servers, Claude Code configuration and A2A agent cards. 65 rules mapped to OWASP and NIST, SARIF output. Apache-2.0.
Alternatives in Security
- Anthropic Cybersecurity Skills — 734+ structured cybersecurity skills for AI agents · MITRE ATT&CK mapped · agentskills.io open standard · Work 3.8k ★
- Unifly Audit — Security audit of UniFi configuration 248 ★
- Reflexion — Audit and optimize the .claude/ ecosystem — skills, hooks, guides, patterns, agents, and settings — for qualit 224 ★
README
spellwarden
The Spellwarden scan engine: the baseline rules for agent skills, MCP servers and A2A agent cards, the probe classification against the 2026-07-28 MCP specification, the migration checklist and the curation score. It is the engine of the hosted product at [spellwarden.ai](https://spellwarden.ai) and is published so that the same rules run in your own tooling.
One distribution holds two import packages. `spellwarden_scan` is the engine and is pure code: it never opens a connection, reads a file or an environment variable; you hand it the bytes of a package, a configuration file or the recorded result of a probe, and it hands back findings. `spellwarden_cli` is the `spellwarden` command: it finds the agent content in a repository, runs the engine on it on your machine or CI runner, and writes the reports. The GitHub Action and the GitLab CI component that run the command in pipelines arrive with 1.0.0.
pipx run spellwarden scan . # or: pip install spellwarden, then spellwarden scan .
Python 3.11 or newer. The runtime dependencies are PyYAML and `cryptography`, which verifies the signatures on A2A agent cards.
Scanning a skill package
from spellwarden_scan import RuleSet, scan_skill_package, unpack_zip
files, executable = unpack_zip(open_bytes, with_modes=True) # or any {path: bytes} mapping you built yourself
result = scan_skill_package(files, RuleSet.baseline(), executable_paths=executable)
for finding in result.findings:
print(finding.rule_id, finding.severity, finding.location.path, finding.location.line, finding.evidence)
print(result.sha256, result.metadata.name, result.truncated)
filesmaps POSIX relative paths to bytes.rootnames the directory that holdsSKILL.mdwhen it is not the package root.unpack_zip(data, limits=ArchiveLimits(), with_modes=False, root="")reads a zip held in memory and refuses unsafe archives with anArchiveErrorwhosecodeis one oftoo_large, `too_many_fil
Related Skills
Fp Review
Triage security scanner findings as true or false positives. Generates precise Semgrep rule tuning for FPs and
Hermes Repo Scanner
Pre-install security scanner for Hermes Agent skills — 68 patterns across 10 categories, OWASP ASI-mapped
Secure Coding Core
Baseline rules for any code you write - OWASP Top 10 mapped to concrete habits.
Aisecscan
Static security scanner for Claude Code configuration — settings, permissions, hooks, MCP servers, agents/suba
MCP Agent Security Auditor
Lightweight Fast Pre-Audit Security Scanner & Agent Skill for MCP Servers, Agent Hooks, and Firebase Security
AI Trust
VirusTotal for AI packages. ai-trust check returns a 0-100 trust score from the OpenA2A Registry trust graph,
Related Agents
Semgrep Scanner
Executes Semgrep CLI scans for a specific language category and produces SARIF output. Spawned by the semgrep
Appsec Fp Reviewer
Use to adjudicate SARIF, Semgrep JSON, and security-report findings. Produces a professional evidence-based fi
Sec Researcher
Read-only security research for ClaudeSec — threats, CVEs, attack vectors, and compliance frameworks (NIST, IS