Validate plugin manifests, component organization, namespace compliance, and marketplace readiness.
Validates plugin manifests, organization, compliance, and marketplace readiness.
/plugin marketplace add melodic-software/claude-code-plugins/plugin install claude-code-observability@melodic-softwareValidate plugin manifests, component organization, namespace compliance, and marketplace readiness.
Before auditing, initialize the environment:
.claude/temp/) exists.The plugin-development skill provides authoritative validation guidance (auto-loaded when this command runs).
| Argument | Description |
|---|---|
| (none) | Smart mode: audit only modified, never-audited, or stale (>90 days) plugins |
--force | Audit ALL plugins regardless of status |
--local-only | Only audit local/dev repo plugins |
--global-only | Only audit globally installed plugins |
plugin-name | Audit specific plugin(s) by name |
local:name | Explicitly target local plugin |
global:name | Explicitly target global plugin |
Detect all plugin sources in local repo and globally installed locations.
For local discovery, check marketplace repos (plugins/*/plugin.json), single plugin repos (.claude-plugin/plugin.json), and track plugin names for deduplication.
For global discovery, check ~/.claude/plugins/ (Unix) or %USERPROFILE%\.claude\plugins\ (Windows). Skip globals that have local dev versions.
Parse flags and plugin names from the command arguments. Read audit logs for each discovered source to determine audit status (modified, never audited, stale >90 days).
Display mode (SMART or FORCE), sources discovered, deduplication status, and audit queue with batching strategy.
For each plugin, spawn the plugin-auditor subagent with the following context:
Run subagents in parallel batches of 3-5.
Role boundaries:
.claude/temp/ as JSON and markdown filesReport total audited by source, results, and details table. Note that global plugin fixes must be applied manually.
Local dev repo plugins take precedence over globally installed versions. Global plugins are read-only - report findings but recommend manual fixes.
| Platform | Global Plugins |
|---|---|
| Unix | ~/.claude/plugins/ |
| Windows | %USERPROFILE%\.claude\plugins\ |
Plugins may store their manifest in either plugin.json (root) or .claude-plugin/plugin.json (nested). Check both locations during discovery.
All audit results are written to .claude/audit/plugins.md.
Use /audit-log plugins to view current audit status.
User: /audit-plugins
Claude: Discovering plugin sources...
## Audit Plan
**Mode**: SMART
- Local: claude-ecosystem, code-quality, git (3 plugins)
- Global: soft-skills (1 plugin)
- Deduplicated: claude-ecosystem (global skipped)
**Will audit**: 4 plugins in 1 batch
[Spawns plugin-auditor subagents]
## Audit Complete
| Source | Plugin | Result | Score |
| --- | --- | --- | --- |
| local | claude-ecosystem | PASS | 100/100 |
| local | code-quality | PASS | 95/100 |
User: /audit-plugins claude-ecosystem
Claude: PASS (Score: 100/100)