By ordinary9843
Scores Claude Code artifacts (skills, agents, commands, rules, memories, CLAUDE.md) against official Anthropic best practices and produces actionable A–F grade reports with fix guidance.
A specialist agent for deep, comprehensive auditing of Claude Code plugins and artifacts. Handles multi-file audits, complex improvement sessions, cross-file consistency checks, and expert guidance on Claude Code plugin architecture. Invoked automatically by the review skill for full plugin directory audits, or directly when the user asks for a "deep audit", "expert review", "comprehensive plugin check", or when systemic issues require architectural recommendations.
A devil's advocate agent that critically reviews and debates architectural decisions, skill designs, and evaluation scores. Use when the user asks for a "second opinion", "challenge the score", "debate", "are there any downsides", or when they want to ensure a proposed fix doesn't break the original intent of a Claude Code artifact.
Reviews any Claude Code artifact (SKILL.md, agent .md, .claude/commands/*.md, MEMORY.md, output styles, context files, .claude/rules/*.md, CLAUDE.md), then automatically generates an improved version targeting the highest-impact issues. Shows a before/after diff and asks for confirmation before writing. Follows the additive-only principle: never removes existing content. Auto-detects the file type from the path. Use when the user asks to "fix", "improve", "auto-fix", "enhance", "optimise", "rewrite", or "make better" any Claude Code markdown file — or when a review score is below 80 and the user wants changes applied automatically.
Scores any Claude Code markdown artifact or directory against Anthropic official best practices and produces an actionable A–F grade report. Auto-detects the target type from the path: a directory triggers a full weighted audit; a SKILL.md, agent .md, .claude/commands/*.md, .claude/rules/*.md, MEMORY.md, .claude/output-styles/*.md, context file, or CLAUDE.md each triggers the appropriate rubric automatically. No path = current directory. Use when the user asks to "review", "score", "audit", "grade", "check quality", "evaluate", or "what's wrong with" any Claude Code file or directory.
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Tells you why your Claude Code setup isn't working as well as it should. Scores any Claude Code markdown file — CLAUDE.md, .claude/rules/*.md, SKILL.md, agents/*.md, .claude/commands/*.md, MEMORY.md, .claude/output-styles/*.md, and context files — against Anthropic best practices. Gives you an A–F grade, exact fixes, and a standard shields.io Score Badge for your README.
Most plugin quality improvements are based on intuition ("I feel this is better"). This plugin makes quality measurable with a consistent 100-point scoring rubric derived from Anthropic's official documentation and established community standards.
You can install this plugin either directly within Claude Code or via your standard terminal.
/plugin marketplace add https://github.com/ordinary9843/claude-code-auditor.git
/plugin install code-auditor@claude-code-auditor
claude plugin marketplace add https://github.com/ordinary9843/claude-code-auditor.git
claude plugin install code-auditor@claude-code-auditor
Note: Please restart Claude Code after installation to ensure the plugin loads correctly.
The plugin provides two primary commands that auto-detect the target file type. There is no need to manually specify what kind of file you are evaluating:
/code-auditor:review [path] → score a file or directory (read-only)
/code-auditor:fix [path] → review + apply improvements (confirms before writing)
If no path argument is provided, it defaults to the current working directory.
Two precision tiers are available:
skills/review/references/. Best for quick feedback on a single file.auditor agent for full reference criteria with cross-file consistency checks.| Target | Description |
|---|---|
| Directory | Performs a full weighted audit |
CLAUDE.md | Assesses context file quality (actionability, commands, architecture layout, size limit). |
.claude/rules/*.md | Evaluates rule actionability, scope focus, path targeting, and cross-rule consistency. |
.claude/commands/*.md | Evaluates custom slash command quality (frontmatter, $ARGUMENTS usage, prompt clarity). |
SKILL.md | Evaluates skill rubrics (frontmatter, content, progressive disclosure, structure). |
agents/*.md | Evaluates agent rubrics (frontmatter, role definition, behavioral guidelines). |
MEMORY.md & topic files | Evaluates auto-memory quality (200-line limit, actionability, topic file structure). |
Output styles (.claude/output-styles/*.md) | Evaluates custom output style quality (frontmatter, persona, behavioral rules). |
Context files (template.md, examples/*.md) | Evaluates supporting prompt files (formatting, placeholders, input/output clarity). |
Commands, rules, skills, and output styles must be under
.claude/(project-level) or~/.claude/(global). CLAUDE.md can be placed at the project root or any subdirectory.
The plugin also includes background hooks that fire automatically to assist your development flow:
Both hooks are advisory only (exit 0) and will never block your operations.
/code-auditor:review .
Example Output:
## Plugin Audit: Project Overall: 64/100 — Grade D
Badge: `[](https://github.com/ordinary9843/claude-code-auditor)`
npx claudepluginhub ordinary9843/claude-code-auditor --plugin code-auditorAudit and optimize Claude Code configurations with dynamic best-practice research
Audit CLAUDE.md files against Anthropic best practices
Natural-Language Programming Manager — score, check, fix, and test NL artifacts across Claude Code, Codex CLI, and Antigravity. Tier-aware scoring with per-tool overlays.
Audit Claude Code plugins and skills for best practices, deprecations, compatibility, usability, coverage gaps, duplication, and workflow optimization
Skill and agent authoring tools: generate, audit, and improve Claude Code skills, commands, and agents
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.