skill-warden

skill-warden is a skill for Claude Code from mphinance/alpha-skills. It costs 30 tokens per session (440 once invoked), scanned C, original, MIT.

A security and documentation checker for an AI agent’s skills directory. It looks for unused or incomplete skills, risky shell commands, unsafe external calls, and overlapping trigger phrases.

In plain words
What is it for?
Use it to audit SKILL.md files, produce a health report, identify security warnings, and review skills before approving fixes.
Why use it?
It helps reveal maintenance problems and potentially dangerous instructions before they affect the agent.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mph-kit plugin — 28 skills, 6 commands, 3 agents shipped together

Good fit Use it to audit SKILL.md files, produce a health report, identify security warnings, and review skills before approving fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mphinance/alpha-skills/skill-warden
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mphinance/alpha-skills --skill skill-warden
Clone the repo
git clone --depth 1 https://github.com/mphinance/alpha-skills

Made for: Claude Code.

Or install mph-kit, the plugin that ships this one along with the rest of its 28 skills, 6 commands, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skill-warden

README.md
[![agentmods](https://agentmods.dev/badge/skills/mphinance/alpha-skills/skill-warden/github.svg)](https://agentmods.dev/skills/mphinance/alpha-skills/skill-warden)
Your own site
<a href="https://agentmods.dev/skills/mphinance/alpha-skills/skill-warden"><img src="https://agentmods.dev/badge/skills/mphinance/alpha-skills/skill-warden/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for skill-warden

Your own site · 80×15
<a href="https://agentmods.dev/skills/mphinance/alpha-skills/skill-warden"><img src="https://agentmods.dev/badge/skills/mphinance/alpha-skills/skill-warden.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 440 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00440
Opus 5.5 $0.00012 $0.00176
Sonnet 5.5 $0.00006 $0.00088
Haiku 4.5 $0.00003 $0.00044

Measured 21d ago against content hash ceb920f9e4e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

skill-warden scanned grade C with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/warden_scan.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

`python3 skills/skill-warden/scripts/warden_scan.py [ROOT ...] [--json]` greps every SKILL.md and script for order verbs (`place_order`, `create_order`, `submit`, `--execute`), bypass flags (`--yes`, `confirm=true`, `--q

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

2. **Security Auditing:** Parses shell commands embedded in skills. Flags any usage of destructive flags (e.g., `rm -rf`, `--delete` with `rsync`) or unauthorized external API calls.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`python3 skills/skill-warden/scripts/warden_scan.py [ROOT ...] [--json]` greps every SKILL.md and script for order verbs (`place_order`, `create_order`, `submit`, `--execute`), bypass flags (`--yes`, `confirm=true`, `--q
plugins/mph-kit/skills/skill-warden/SKILL.md · 31 lines

What it actually says

Skill Warden

"Trust, but verify."

With a repository containing over 100+ highly specialized agent skills, technical debt and security risks become non-trivial. Skill Warden automates the health and security audits of the skills/ directory.

Core Directives

  1. Dead Skill Detection: Scans for skills that haven't been invoked in the last 30 days or lack proper SKILL.md formatting.
  2. Security Auditing: Parses shell commands embedded in skills. Flags any usage of destructive flags (e.g., rm -rf, --delete with rsync) or unauthorized external API calls.
  3. Conflict Resolution: Identifies duplicate trigger phrases across different skills.
  4. Grading Matrix: Assigns a health score (0-100) to each skill based on documentation completeness, deterministic behavior, and safety constraints.

Usage

When invoked via "Run Skill Warden" or "Audit my skills":

  1. Recursively read all SKILL.md files.
  2. Generate a skill_audit_report.md artifact detailing warnings, critical errors, and a list of deprecated skills.
  3. Await user confirmation before attempting auto-fixes or deletion of dead skills.

Deterministic scan

python3 skills/skill-warden/scripts/warden_scan.py [ROOT ...] [--json] greps every SKILL.md and script for order verbs (place_order, create_order, submit, --execute), bypass flags (--yes, confirm=true, --quiet), curl | sh, 0.0.0.0, raw PRIVATE_KEY, unpinned fetches, and whether a gate pattern (isatty, input(, exit 10, a token check) sits near an order verb. Output is candidate evidence for a human, never a verdict: a hit can be benign, and a clean scan proves nothing.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago Changed · +4 lines scan B → C ceb920f9e4e7
  2. 3mo ago First seen · 27 lines · 30 tokens per session scan B 060ebd2b77d9

Subscribe to this mod's changes

skill-warden is a skill published in the GitHub repository mphinance/alpha-skills (34 stars, last pushed 22d ago), licensed MIT. It adds 30 tokens to every session and 440 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 3 findings (downloads and executes remote code, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

skill-warden compared with skills from other repositories

skill-warden next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skill-wardenmphinance/alpha-skillsSkill3422d agoMITC30Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code