From claude-prospector
Audit a project's effective Claude Code configuration — custom and plugin-provided agents and skills — and produce a structured overlap/conflict report with keep / modify / drop recommendations scoped to the project's stated objectives. Trigger this skill whenever the user types `/claude-audit`, asks to "audit my claude config", "find overlap in my agents", "check for skill conflicts", "are any of my agents duplicates", "what's redundant in my setup", or any similar request to review the agent/skill surface for the current project. Also trigger after a fresh plugin install when the user wants to verify nothing new collides with what's already there.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-prospector:claude-auditThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Produce a deterministic overlap/conflict report for the project's effective Claude Code
Produce a deterministic overlap/conflict report for the project's effective Claude Code
configuration. The audit considers user-scope (~/.claude/), project-scope
(<project>/.claude/), and plugin-provided sources together — because that is what the agent
actually loads at runtime.
The output is a single markdown report. The skill itself does not modify any files. All recommendations are presented to the user; they decide what to change.
Before evaluating overlaps, read the project's CLAUDE.md (and any README.md) at the repo
root to understand what the project does. Specific things to extract:
Recommendations later are scoped to these. A python skill is not "redundant" just because
the project also uses TypeScript — it might still be load-bearing for tooling scripts.
If no project-level CLAUDE.md exists, fall back to the user-level ~/.claude/CLAUDE.md and
note that the audit is using the user-scope objective only.
Run the built-in CLI subcommand and capture its markdown output:
python -m claude_prospector audit --project-dir <project-root>
This single command covers all four deterministic steps:
~/.claude/agents/,
~/.claude/skills/*/SKILL.md), project-scope (.claude/agents/,
.claude/skills/*/SKILL.md), the plugin cache (latest version per
(marketplace, plugin) only), and Windows Claude Desktop
~/AppData/Roaming/Claude/…/skills-plugin/ if present.(_type, name);
any group with more than one entry is a collision.mcp__*
mentions and PowerShell/Bash references; cross-references against
each agent's tools: frontmatter and warns on mismatches.The command also reports cache-hygiene findings: stray temp_git_*
clone leftovers and plugin names duplicated across multiple marketplace
directories.
Use --format json for machine-readable output with keys inventory,
collisions, overlaps, tool_coupling, and cache_hygiene.
Produce a single markdown document with these sections, in order:
# Claude Config Audit — <project name or "user-scope only">
## Project objective
<one paragraph paraphrased from the project CLAUDE.md, or "User-scope audit — no project CLAUDE.md found.">
## Inventory
- **Custom agents**: N (`name1`, `name2`, ...)
- **Custom skills**: N (`name1`, ...)
- **Plugin agents**: N from M plugins
- **Plugin skills**: N from M plugins
- **Effective total exposed to runtime**: N agents, M skills
## Direct name collisions
| Name | Sources | Descriptions diverge? | Tools diverge? | Recommendation |
| --------------- | -------------------------------- | --------------------- | -------------- | ------------------------------------ |
| `code-reviewer` | custom, superpowers, feature-dev | No (near-identical) | Yes | Keep custom; disable plugin variants |
## Semantic overlaps
| Pair | Jaccard | Verdict | Recommendation |
| ---------------------------------------- | ------- | --------------------------------------------- | ------------------------------------------------ |
| `git` (custom) ↔ `anthropic-skills:git` | 0.92 | True duplicate with project-specific addendum | Extract addendum to dedicated skill, drop custom |
## Tool-coupling concerns
| Agent | Skill passed in | Missing tool | Recommendation |
| ------------- | --------------- | ------------------------------ | ------------------------------------------------------------------------------- |
| `code-writer` | `powershell` | `PowerShell` (only has `Bash`) | Translate guidance to POSIX in delegation, or pass to agent that has PowerShell |
## Recommendations summary
| Item | Action | Priority | Rationale |
| ------------------------- | --------------------- | -------- | --------------------------- |
| Drop `feature-dev` plugin | uninstall via /plugin | high | 3 overlap items in one move |
...
Order recommendations by leverage — a single action that resolves multiple overlaps should rank above a single-item fix. Where the user has stated objectives in their CLAUDE.md, mark recommendations that conflict with those objectives as "verify with user before acting" rather than asserting them.
After delivering the report, ask the user:
Do not start making changes without explicit user confirmation. This skill is read-only audit + recommendation; modifications are tracked separately.
A user might think "my config is fine, I only have 8 custom agents." But what loads at runtime includes ~50 plugin skills and ~5 plugin agents. Overlaps appear at the boundary between custom and plugin, and that boundary is invisible if you only audit one side.
The same set of skills can be over-broad for one project and under-broad for another. A
python skill is essential in a Python repo and dead weight in a pure-Rust repo. The audit
should prefer keeping skills the project plausibly needs and dropping ones it does not —
which requires knowing what the project does.
superpowers:writing-skills — for authoring new skills if the audit recommends extracting
oneclaude-md-management:claude-md-improver — for the CLAUDE.md side of the same hygiene workclaude-prospector:usage-analysis — for the cost-side view (which skills/agents are actually consumed)Audit reports are routinely 50–200 lines once every agent and skill is enumerated with a keep / modify / drop recommendation. Save the full report to <repo>/.tmp/<YYYY-MM-DD>-claude-audit.md and return a short chat reply listing:
Do NOT paste the full report body inline — the file is the artifact, the chat reply is the pointer. The user opens the file for the full keep/modify/drop tables; the reply surfaces only what shapes their next decision.
npx claudepluginhub davepoon/buildwithclaude --plugin claude-prospectorProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.