What does this skill do?

The Skills Compliance Audit objectively verifies whether an AI agent adheres to the rules, skills, or definitions assigned to it. It generates test scenarios with three levels of difficulty, runs the agent, evaluates its behavior, and produces a comprehensive report showing the compliance rate for each scenario and the timelines for calls to tools.

Validate new rules
After adding or modifying a skill or rule, verify that the agent actually applies it in practice.
Promotion to Production
Before publishing a skill, test its robustness against vague or competitive prompts.
Diagnosis of Deviations
When you suspect that an agent is ignoring instructions in certain contexts, gather objective evidence.
Regular Maintenance
Conduct regular audits to ensure the quality of agents on projects in production.

Usage examples

🧪 Comprehensive audit
Run a complete audit of the testing rule in ~/.claude/rules/common/testing.md and send me the compliance report.
💨 Free simulation
Generate the specification and scenarios for ~/.claude/skills/search-first/SKILL.md in dry-run mode without running the agent.
🎯 Custom Models
Audit mi-agente.md using Haiku as the scenario generator and Sonnet as the model under test.
📊 Compliance Report
Check whether the agent follows the "search-first" skill even when the prompt doesn't explicitly mention it, and show me the scores.

Features

Automatic Generation of Specifications Extracts the expected behavior sequence from the .md file without manual intervention.
Multi-level scenarios Create supportive, neutral, and competitive prompts to measure compliance under different conditions.
Call traces to tools Capture and classify each agent call using stream-json to verify the chronological order of the actions.
Standalone Report Generate a report with specifications, prompts, scores, and timelines—ready for review.
Prompt Independence It checks whether the rule is followed even when the prompt does not mention it, revealing the true robustness of the integration.

Frequently asked questions

Yes. The tool runs the agent using `claude -p` and captures the traces in stream-json format, so you need to have the Claude CLI set up.
It generates only the specification and scenarios without running the agent. It is ideal for reviewing the design before using tokens.
Yes. With `--gen-model` and `--model`, you can specify the scenario-generation model and the model under test independently.
It indicates that the rule relies too heavily on the user reminding the agent of it. The skill suggests promoting rules to hooks to reinforce their enforcement.

Related skills

More skills in the same category:

Skills Compliance Audit

¿Prefieres escuchar el contenido? Genera la narración de audio con un clic.