Validates agent configurations for model selection, tool permissions, focus areas, and approach quality. Use when reviewing, auditing, improving agents, or learning agent best practices.
npx skills add https://github.com/majiayu000/claude-skill-registry --skill agent-audit
Advanced agent validation guidance:
Validates agent configurations for model selection, tool restrictions, focus areas, and approach methodology.
Basic audit workflow:
Example usage:
User: "Audit my evaluator skill"
→ Reads skills/evaluator/SKILL.md
→ Validates model (Sonnet), tools, focus areas, approach
→ Generates report with findings and recommendations
Must be fixed for agent to function correctly:
Should be fixed for optimal agent performance:
Polish for excellent agent quality:
Identify the agent file to audit:
# Single agent
Read skills/evaluator/SKILL.md
# Find all agents
Glob agents/*.md
Check model field:
model: sonnet # Good - default choice
model: haiku # Check: Is agent simple enough?
model: opus # Check: Is complexity justified?
Decision criteria:
haiku): Simple read-only analysis, fast response needed, low cost prioritysonnet): Default for most agents, balanced cost/capabilityopus): Complex reasoning required, highest capability neededCommon issues:
See model-selection.md for detailed decision matrix.
Check allowed_tools or allowed-patterns:
allowed_tools:
- Read
- Grep
- Glob
- Bash
Validation checklist:
Common patterns:
See tool-restrictions.md for security analysis.
Target: 5-15 focus areas that are specific, concrete, and comprehensive
Quality criteria:
Specific vs Generic:
Concrete vs Vague:
Coverage:
Example analysis:
## Focus Areas
- Defensive programming with strict error handling ✓
- POSIX compliance and cross-platform portability ✓
- Safe argument parsing and input validation ✓
- Robust file operations and temporary resource management ✓
- Production-grade logging and error reporting ✓
Score: 5/5 areas, all specific and concrete → GOOD
See focus-area-quality.md for scoring methodology.
Check approach section completeness:
Required elements:
Example complete approach:
## Approach
1. Analyze requirements and constraints
2. Design solution using defensive programming principles
3. Implement with POSIX compliance
4. Add comprehensive error handling
5. Test on multiple platforms
6. Document with inline comments
Output: Production-ready Bash script with full error handling
Incomplete approach (missing steps, no output format):
## Approach
Write good Bash scripts following best practices.
See approach-methodology.md for templates.
Check for progressive disclosure:
Single file agents:
Directory-based agents:
Targets:
Scoring:
See resource-organization.md for detailed validation criteria.
File size assessment:
# Count lines
wc -l skills/evaluator/SKILL.md
Targets:
If oversized:
Compile findings into standardized report format. See report-format.md for the complete template.
For detailed validation criteria in each area, see the reference files:
For detailed troubleshooting guidance, see common-issues.md.
Common patterns include:
Use the standardized template in report-format.md for all agent audit reports.
Invocation pattern:
User: "Audit my agent"
→ audit-coordinator invokes audit-agent
→ audit-agent performs specialized validation
→ Results returned to audit-coordinator
→ Consolidated with evaluator findings
Sequence:
Report compilation:
This skill is part of the audit skill family:
For comprehensive audits, use audit-coordinator which will invoke the appropriate specialists.
Status: PASS
Strengths:
Score: 9/10 - Excellent agent design
Status: NEEDS WORK
Issues:
Critical fixes:
Score: 4/10 - Requires significant improvement
See examples.md for complete audit reports.
For detailed guidance on each validation area, consult the reference files linked at the top of this document.
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Replace with description of the skill and when Claude should use it.
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Take majiayu000/claude-skill-registry-agent-audit from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.