audit-agent

Audit Claude Code agent definitions against 12 anti-patterns and frontmatter rules.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/julianjab/ia-tools --skill audit-agent-julianjab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-agent
Source: https://github.com/julianjab/ia-tools/tree/main/plugins/scaffold/skills/audit-agent
Command: npx skills add https://github.com/julianjab/ia-tools --skill audit-agent-julianjab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit agent definitions to ensure they meet frontmatter requirements, tool usage, and anti-pattern standards.

Core Features & Use Cases

  • Validate frontmatter fields (name, description, model hints)
  • Detect anti-patterns and tool/permission issues in agent bodies
  • Generate a structured audit report for CI or review

Quick Start

Run the audit-agent tool against an agents/<name>.md file to produce a compliance report.

Frequently Asked Questions about audit-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Claude Code agents for best practices and frontmatter rules?

Auditing Claude Code agents involves validating definition files against 12 anti-patterns and frontmatter rules to identify missing fields, tool-allowlist issues, and model mismatches, returning a structured report for remediation.

What are common anti-patterns and code quality issues in agent definitions?

Common anti-patterns in agent definitions include missing frontmatter fields like name or description, incorrect model hints, and tool permission issues. These quality defects are detected by checking the agent body against established best-practice standards.

Can I use an automated agent audit tool for CI checks and code reviews?

Yes, you can use an agent audit tool during code reviews or CI checks to validate agent definitions. It processes agents/<name>.md files and returns a structured compliance report highlighting severity levels for actionable remediation.

How do I validate frontmatter fields and tool allowlists in my agent files?

Validate frontmatter fields and tool allowlists by running an audit against your agents/<name>.md files. This checks for required metadata like name, description, and model hints, while detecting tool-allowlist issues and other permission defects in the agent body.

What is the best way to detect model mismatches and missing fields in Claude Code agents?

The best way to detect model mismatches and missing fields is to audit agent definitions against predefined frontmatter rules and anti-patterns. This validates references and returns a structured report highlighting severity levels for actionable remediation.