/skills:skill-complyfrom skills
Measures whether coding agents actually follow skills, rules, or agent definitions by auto-generating test scenarios at multiple prompt strictness levels, running agents, classifying tool calls, and reporting compliance rates with full timelines.
Ships in skills. 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.
Read when SKILL.md points to them; scripts run unread.
Measures whether coding agents actually follow skills, rules, or agent definitions by:
claude -p and capturing tool call traces via stream-jsonGenerated setup_commands never run blindly: an allowlist admits only benign
file/dir/git commands with no path outside the sandbox (blocked commands are
skipped with a warning), and a failing setup command aborts that scenario
instead of grading it in a half-built sandbox.
plugins/*/skills/*/SKILL.md): Workflow skills like search-routing, tdd-workflow~/.claude/rules/ directory — none exists by default): mandatory rules like testing.md, security.md, git-workflow.mdagents/*.md): Whether an agent gets invoked when expected (internal workflow verification not yet supported)/skill-comply <path>Run from this skill's directory (where pyproject.toml lives):
cd "${CLAUDE_PLUGIN_ROOT}/skills/skill-comply"
# Full run (target: any skill/rule .md — here a real skill from this marketplace repo)
uv run python -m scripts.run "${CLAUDE_PLUGIN_ROOT}/../quality/skills/tdd-workflow/SKILL.md"
# Dry run (no cost, spec + scenarios only)
uv run python -m scripts.run --dry-run "${CLAUDE_PLUGIN_ROOT}/../research/skills/search-routing/SKILL.md"
# Rules work the same way, if you maintain a rules directory
# (e.g. uv run python -m scripts.run ~/.claude/rules/common/testing.md)
# Custom models
uv run python -m scripts.run --gen-model haiku --model sonnet <path>
Measures whether a skill/rule is followed even when the prompt doesn't explicitly support it.
Reports are self-contained and include:
For users familiar with hooks, reports also include hook promotion recommendations for steps with low compliance. This is informational — the main value is the compliance visibility itself.
fixtures/compliant_trace.jsonl (opens in a new tab)fixtures/noncompliant_trace.jsonl (opens in a new tab)fixtures/tdd_spec.yaml (opens in a new tab)prompts/classifier.md (opens in a new tab)prompts/scenario_generator.md (opens in a new tab)prompts/spec_generator.md (opens in a new tab)pyproject.toml (opens in a new tab)scripts/__init__.py (opens in a new tab)scripts/classifier.py (opens in a new tab)scripts/grader.py (opens in a new tab)scripts/parser.py (opens in a new tab)scripts/report.py (opens in a new tab)scripts/run.py (opens in a new tab)scripts/runner.py (opens in a new tab)scripts/scenario_generator.py (opens in a new tab)scripts/spec_generator.py (opens in a new tab)scripts/utils.py (opens in a new tab)tests/test_grader.py (opens in a new tab)tests/test_parser.py (opens in a new tab)tests/test_runner.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub davie521/claude-skills --plugin skills3 skills in this plugin
/rules-distillScan skills to extract cross-cutting principles and distill them into rules — append, revise, or create new rule files/skill-stocktakeUse when auditing Claude skills and commands for quality. Supports Quick Scan (changed skills only) and Full Stocktake modes with sequential subagent batch evaluation.