skill2-audit

skill2-audit is a skill for Claude Code from blackblue-labs/skill2. It costs 30 tokens per session (489 once invoked), scanned A, original, MIT.

A review tool for checking one coding skill or a whole skill library for structural, safety, linking, size, and trigger problems.

In plain words
What is it for?
Use it to lint skills, inspect their metadata and supporting files, check overlapping triggers, and report findings without changing the library.
Why use it?
It finds evidence-backed issues before they cause broken references, unsafe behavior, unclear activation, or maintenance problems.

Skill for Claude Code

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

Part of the skill2 plugin — 5 skills shipped together

Good fit Use it to lint skills, inspect their metadata and supporting files, check…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blackblue-labs/skill2/skill2-audit
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 blackblue-labs/skill2 --skill skill2-audit
Clone the repo
git clone --depth 1 https://github.com/blackblue-labs/skill2

Made for: Claude Code.

Or install skill2, the plugin that ships this one along with the rest of its 5 skills.

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 skill2-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/blackblue-labs/skill2/skill2-audit.svg)](https://agentmods.dev/skills/blackblue-labs/skill2/skill2-audit)
Your own site
<a href="https://agentmods.dev/skills/blackblue-labs/skill2/skill2-audit"><img src="https://agentmods.dev/badge/skills/blackblue-labs/skill2/skill2-audit.svg" alt="Measured on agentmods" 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 489 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00489
Opus 5 $0.00015 $0.00244
Sonnet 5 $0.00006 $0.00098
Haiku 4.5 $0.00003 $0.00049

Measured 7d ago against content hash 7186f0d853a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

skill2-audit scanned grade A with 0 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 7d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/_runtime/skill2/__init__.py, scripts/_runtime/skill2/cli.py, scripts/_runtime/skill2/lint.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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/skill2-audit/SKILL.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Audit Skill Libraries

Find evidence-backed defects without changing the library.

Scope

Target Checks
One Skill Frontmatter, description, links, resources, scripts, secrets, local paths, size
Skill Library Every single-Skill check plus duplicate names, ownership, scope, and static trigger overlap

Ownership

  • Audit owns static structure, safety, references, metadata, and trigger overlap.
  • Test owns live activation and outcome behavior.
  • Visualize owns inventory/usage/test evidence and conservative lifecycle review candidates.
  • Create owns applying approved structural changes.

Method

  1. Run uv run --script <skill-dir>/scripts/run -- lint <target> --json first for a single Skill or a library. Save and use its static findings as evidence.
  2. Manually review what CLI cannot prove: description semantics, ownership, scope, and trigger overlap.
  3. If CLI is unavailable or fails: state limitation / inconclusive. Never claim clean.
  4. Do not execute scripts. Do not auto-fix.

Checks

  • Missing or invalid SKILL.md and frontmatter
  • Directory/name mismatch
  • Workflow summaries or ambiguous triggers in description
  • Broken relative links and unused resources
  • Non-executable or risky scripts
  • Secrets and accidental machine-local paths
  • Oversized bodies that should use progressive disclosure
  • Static trigger overlap across sibling skills
  • Project-only instructions inside a global package

Severity

Level Meaning
P0 Install or execution breaks
P1 Triggering or ownership is wrong
P2 Safety or maintenance risk
P3 Cleanup or style debt

Output

Return severity, file, evidence, impact, and smallest suggested change. Do not apply fixes unless requested.

uv run --script <skill-dir>/scripts/run -- lint skills/<name> --json
uv run --script <skill-dir>/scripts/run -- lint skills --json
uv run --script <skill-dir>/scripts/run -- scan skills/<name> --json
uv run --script <skill-dir>/scripts/run -- scan skills --json

Read the full file on GitHub · 62 lines

Files

What ships with it

7 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. 7d ago First seen · 62 lines · 30 tokens per session scan A 7186f0d853a6

Subscribe to this mod's changes

skill2-audit is a skill published in the GitHub repository blackblue-labs/skill2 (33 stars, last pushed 23d ago), licensed MIT. It adds 30 tokens to every session and 489 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.