/agent-patterns-plugin:meta-audit [--verbose]from agent-patterns-plugin
Audits .claude/agents/*.md files for missing frontmatter, overprivileged tools, invalid models, and security issues. Validates naming, color codes, and tool boundaries across agent definitions.
Ships in agent-patterns-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
| Use this skill when... | Use custom-agent-definitions instead when... |
|---|---|
Reviewing existing .claude/agents/*.md files for missing frontmatter, overprivileged tools, or wrong models | Authoring a new agent definition file from scratch |
| Validating read-only vs write-enabled agent privilege boundaries before committing | Configuring a single agent's model, allowed-tools, or isolation |
| Auditing agents across an entire project for naming and security consistency | Copying or generalising another project's agents (use meta-assimilate) |
find . -path '*/.claude/agents/*' -name "*.md" -not -name "settings*"find . -path '*/.claude/agents/*' -maxdepth 3 -name "settings.local.json" -type f.claude/agents/For each agent, verify required fields are present:
opus, fable, sonnet, haiku, inherit) or a current full ID (e.g. claude-fable-5-2); a dated ID from a superseded generation (claude-opus-4-7, claude-sonnet-4-6, claude-fable-5-1) is a finding — recommend the alias unless the pin is deliberatelow…max (overrides the session effort while the agent runs; default inherits); recommend low where the body describes mechanical workFlag issues:
context or allowed-tools, and misspelled fields. An unrecognized key is dropped without an error, so it reads as configuration and does nothing (sub-agents.md § Supported frontmatter fields)Evaluate tool assignments for security and appropriateness:
Read-only agents (should NOT have write access):
Write-enabled agents (appropriate write access):
Special privileges (validate necessity):
LSP tool assignments (language-specific):
Check for potential security issues:
Overprivileged agents:
Missing restrictions:
Privilege escalation risks:
Validate configuration consistency:
Naming conventions:
Model assignments:
Tool groupings:
Create comprehensive audit report with:
Executive Summary:
Detailed Findings:
Agent-by-Agent Analysis: For each agent, report:
Action Items:
Structure the report as:
# Claude Agent Configuration Audit
## Executive Summary
- **Total Agents**: X
- **Configuration Issues**: Y
- **Security Concerns**: Z
- **Health Rating**: [EXCELLENT|GOOD|NEEDS_WORK|CRITICAL]
## Critical Issues
[List any critical problems requiring immediate fix]
## Agent Analysis Table
| Agent | Model | Tools | Color | Status | Notes |
| ---------- | ----- | -------- | ----- | --------- | ------ |
| agent-name | ✅/❌ | ✅/⚠️/❌ | ✅/❌ | PASS/FAIL | Issues |
## Security Assessment
[Tool privilege analysis and security concerns]
## Recommendations
[Prioritized action items with file paths]
## Detailed Findings
[Per-agent breakdown with specific issues]
Tool access principles:
Configuration standards:
If --verbose flag is provided:
.claude/rules/agentic-permissions.md § "Task-tool availability"What SKILL.md sets; muted values are Claude Code's defaults
opusnpx claudepluginhub laurigates/claude-plugins --plugin agent-patterns-plugin26 skills in this plugin
/adversarial-reviewAdversarial second-pass review that tries to break code, designs, plans, or ADRs. Use when stakes are high and a normal review already ran./agent-cli-worktree-safetyData-loss invariants for a CLI that runs an agent SDK in a git worktree then force-removes it. Use when building or reviewing such a CLI, or when an agent run reports "no changes" after writing files./agent-teamsConfigure Claude Code agent teams (implicit team, SendMessage, TaskUpdate). Use when running parallel agents, coordinating with messaging, or setting up a lead/teammate architecture.Other plugins' skills for the same job