audit-plugin

audit-plugin is a command for Claude Code from justinjdev/fellowship. It costs 17 tokens per session (624 once invoked), scanned A, original, Apache-2.0.

A plugin-checking command that reviews a coding-agent plugin’s skills, commands, and agents for file-size, naming, and structure problems.

In plain words
What is it for?
Use it during plugin development to inspect files, flag files over 500 lines, and check required names and descriptions.
Why use it?
It catches packaging and organization issues before a plugin is released, including oversized instruction files and invalid front matter.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Part of the fellowship plugin — 20 skills, 20 commands, 4 agents, 3 hooks shipped together

Good fit Use it during plugin development to inspect files, flag files over 500 lines, and check required names and descriptions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/justinjdev/fellowship/audit-plugin
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.

Clone the repo
git clone --depth 1 https://github.com/justinjdev/fellowship

Made for: Claude Code.

Or install fellowship, the plugin that ships this one along with the rest of its 20 skills, 20 commands, 4 agents, 3 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/justinjdev/fellowship/audit-plugin/github.svg)](https://agentmods.dev/commands/justinjdev/fellowship/audit-plugin)
Your own site
<a href="https://agentmods.dev/commands/justinjdev/fellowship/audit-plugin"><img src="https://agentmods.dev/badge/commands/justinjdev/fellowship/audit-plugin/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 audit-plugin

Your own site · 80×15
<a href="https://agentmods.dev/commands/justinjdev/fellowship/audit-plugin"><img src="https://agentmods.dev/badge/commands/justinjdev/fellowship/audit-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 624 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.00017 $0.00624
Opus 5.5 $0.00007 $0.00250
Sonnet 5.5 $0.00003 $0.00125
Haiku 4.5 $0.00002 $0.00062

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

Security

Grade A, and why

audit-plugin 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 3mo ago.

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.

.claude/commands/audit-plugin.md · 85 lines

How it starts

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

Audit Plugin

Checks plugin structure against best practices. Run during development to catch issues before release.

Step 1: Collect Files

Gather all plugin files:

  • Skills: plugin/skills/*/SKILL.md
  • Commands: plugin/commands/*.md
  • Agents: plugin/agents/*.md

Step 2: Line Count Check

For each SKILL.md and command file, count lines. Flag any file over 500 lines with a warning:

⚠ plugin/skills/quest/SKILL.md — 313 lines (limit: 500)

Only flag files that exceed the limit. For files that pass, no output needed.

Why 500: Skill content loads fully on invocation. Large skills bloat context and should extract detailed content into supporting files (resources/, reference files) that load on-demand.

Step 3: Frontmatter Validation

For each file, verify YAML frontmatter:

Skills (SKILL.md):

  • Must have name field matching the directory name
  • Must have description field
  • Flag if name doesn't match directory (e.g., plugin/skills/missive/SKILL.md should have name: missive)

Commands:

  • Must have description field
  • Must NOT have name field (commands use filename, not frontmatter name)

Agents:

  • No frontmatter requirements (they use a different format)

Step 4: Name Collision Check

Check skill and command names against Claude Code built-in commands. Flag any collisions:

Built-in names to check against: help, clear, config, status, login, logout, init, doctor, listen, review, compact, cost, memory, permissions, mcp, bug, terminal-setup, fast, slow, model, vim, hooks, install-github-app

✗ plugin/skills/config/SKILL.md — "config" collides with Claude Code built-in

Step 5: Validate Docs

Invoke the validate-docs skill using the Skill tool. Include its output in the final report below.

Step 6: Report

Summarize results:

Plugin Lint Results

  Skills:   9 checked
  Commands: 6 checked
  Agents:   3 checked

  ✓ All checks passed

Or if issues were found:

Read the full file on GitHub · 85 lines

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. 3mo ago First seen · 85 lines · 17 tokens per session scan A e4266bc0ae81

Subscribe to this mod's changes

audit-plugin is a command published in the GitHub repository justinjdev/fellowship (5 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 17 tokens to every session and 624 once invoked, about $0.0001 per session on Opus 5.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-31.

Related

audit-plugin compared with commands from other repositories

audit-plugin next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
audit-pluginjustinjdev/fellowshipCommand52mo agoApache-2.0A17Claude Code
auto-modeShaheerKhawaja/ProductionOSCommand87mo agoMITA68Claude Code
max-researchShaheerKhawaja/ProductionOSCommand87mo agoMITA48Claude Code
omni-planShaheerKhawaja/ProductionOSCommand87mo agoMITA62Claude Code
auto-swarm-nthShaheerKhawaja/ProductionOSCommand87mo agoMITA51Claude Code
frontend-upgradeShaheerKhawaja/ProductionOSCommand87mo agoMITA56Claude Code
omni-plan-nthShaheerKhawaja/ProductionOSCommand87mo agoMITA51Claude Code