audit-plugin

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

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.

agentmods
npx agentmods add commands/justinjdev/fellowship/audit-plugin
Clone the repo
git clone --depth 1 https://github.com/justinjdev/fellowship

Made for: Claude Code.

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. Scan, not verified.
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 $0.00017 $0.00624
Opus 5 $0.00009 $0.00312
Sonnet 5 $0.00003 $0.00125
Haiku 4.5 $0.00002 $0.00062

Measured yesterday against content hash e4266bc0ae81, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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. yesterday 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 18d ago), licensed Apache-2.0. It adds 17 tokens to every session and 624 once invoked, about $0.0001 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-31.

Related

Other commands, from other repositories

auto-mode

Idea-to-running-code lifecycle orchestration. 10-phase pipeline with 5 hard decision gates, wave-based parallelism, and STATE.json resumability. Composes /deep-research, /auto-swarm-nth, /production-upgrade, /security-audit, and /ship into a single end-to-end flow.

ShaheerKhawaja/ProductionOS · 68 tokens

max-research

Nuclear-scale autonomous research — deploys 500-1000 agents in ONE massive simultaneous wave for exhaustive topic saturation. Deep-research methodology × auto-swarm scale = maximum parallel intelligence. WARNING: Extreme resource consumption.

ShaheerKhawaja/ProductionOS · 48 tokens

omni-plan

ProductionOS flagship — 13-step orchestrative pipeline with tri-tiered evaluation, recursive convergence, CEO/Eng/Design review chain, CLEAR framework evaluation, multi-model judge tribunal, and autonomous PIVOT/REFINE/PROCEED decisions. Targets 100% production-ready output.

ShaheerKhawaja/ProductionOS · 62 tokens

auto-swarm-nth

Nth-iteration agent swarm — spawns parallel agent waves, evaluates strictly per wave, re-swarms gaps until 100% coverage and 10/10 quality. Can invoke any ProductionOS skill or command within waves.

ShaheerKhawaja/ProductionOS · 51 tokens

frontend-upgrade

Full-stack frontend upgrade pipeline — fuses /production-upgrade iterative audit with /plan-ceo-review vision and /plan-eng-review rigor. Deploys parallel auto-swarm agents for iterative audit and execution. Enriched with /deep-research for competitive parity.

ShaheerKhawaja/ProductionOS · 56 tokens

omni-plan-nth

Nth-iteration omni-plan — recursive orchestration that chains ALL ProductionOS skills and agents, evaluates strictly per iteration, and loops until 10/10 is achieved. Each iteration can invoke any command or skill in the system.

ShaheerKhawaja/ProductionOS · 51 tokens