affaan-m avatar

Skill Comply

Installs
11.8k
Repo stars
316k
Repo updated
Dec 1, 2026

TL;DR

skill-comply is a Claude Code skill that measures whether coding agents follow custom skills, rules, and agent definitions by running generated scenarios and classifying tool-call compliance for developers auditing agent

Install if

Developers maintaining Claude agent skills or rules who need measured compliance evidence across prompt strictness levels.

Skip if

Teams without claude CLI access or projects not using markdown skill, rule, or agent definition files.

npx skills add https://github.com/affaan-m/ECC --skill skill-comply
On this page
  1. What skill-comply covers
  2. skill-comply by the numbers
  3. What does Skill Comply produce?
  4. What files ship with skill-comply?
  5. Which skills are related to skill-comply?
  6. What are the Skill Comply forks?
  7. Skill Comply skill FAQ
  8. More in this repo

What skill-comply covers

  • Auto-generates expected behavioral sequences from any SKILL.md, RULE.md or agent definition
  • Creates test scenarios at 3 prompt strictness levels: supportive, neutral, and competing
  • Runs Claude agents, captures full tool-call timelines via stream-json
  • Uses LLM classification + deterministic temporal ordering to score compliance
  • Produces self-contained reports with prompts, specs, traces and compliance rates

skill-comply by the numbers

All-time installs11,781 (11.8k)skills.sh registry
Repo stars★ 316kGitHub
Repo last updatedDecember 1, 2026GitHub
Repositoryaffaan-m/ECC ↗

Data as of Dec 4, 2026 (Skillselion catalog sync)

  • Generates scenarios at 3 prompt strictness levels: supportive, neutral, and competing
  • Captures tool call traces from claude -p via stream-js

What does Skill Comply produce?

Behavioral specs, scenario runs, compliance rate reports, and full tool-call timelines per strictness level.

  • Compliance rate reports
  • Tool call timelines
  • Generated behavioral specs

What files ship with skill-comply?

SKILL.mdMarkdownGitHub ↗

skill-comply: Automated Compliance Measurement

Measures whether coding agents actually follow skills, rules, or agent definitions by:

  1. Auto-generating expected behavioral sequences (specs) from any .md file
  2. Auto-generating scenarios with decreasing prompt strictness (supportive → neutral → competing)
  3. Running claude -p and capturing tool call traces via stream-json
  4. Classifying tool calls against spec steps using LLM (not regex)
  5. Checking temporal ordering deterministically
  6. Generating self-contained reports with spec, prompts, and timelines

Supported Targets

  • Skills (skills/*/SKILL.md): Workflow skills like search-first, TDD guides
  • Rules (rules/common/*.md): Mandatory rules like testing.md, security.md, git-workflow.md
  • Agent definitions (agents/*.md): Whether an agent gets invoked when expected (internal workflow verification not yet supported)

When to Activate

  • User runs /skill-comply <path>
  • User asks "is this rule actually being followed?"
  • After adding new rules/skills, to verify agent compliance
  • Periodically as part of quality maintenance

Usage

# Full run
uv run python -m scripts.run ~/.claude/rules/common/testing.md

# Dry run (no cost, spec + scenarios only)
uv run python -m scripts.run --dry-run ~/.claude/skills/search-first/SKILL.md

# Custom models
uv run python -m scripts.run --gen-model haiku --model sonnet <path>

Key Concept: Prompt Independence

Measures whether a skill/rule is followed even when the prompt doesn't explicitly support it.

Report Contents

Reports are self-contained and include:

  1. Expected behavioral sequence (auto-generated spec)
  2. Scenario prompts (what was asked at each strictness level)
  3. Compliance scores per scenario
  4. Tool call timelines with LLM classification labels
Advanced (optional)

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.

Which skills are related to skill-comply?

What are the Skill Comply forks?

Skill Comply has 1 known copy in the catalog totaling 4.9k installs. They canonicalize to this original listing.

Skill Comply skill FAQ

Who is Skill Comply for?

Developers maintaining Claude agent skills or rules who need measured compliance evidence across prompt strictness levels. Skip if: Teams without claude CLI access or projects not using markdown skill, rule, or agent definition files.

When should I use skill-comply?

User wants to verify agents follow a skill or rule file, measure compliance rates, or audit tool-call behavior sequences.

How does skill-comply measure agent compliance?

skill-comply auto-generates behavioral specs from .md definitions, runs scenarios at supportive, neutral, and competing strictness, executes claude -p, and classifies tool traces into compliance rates.

What inputs does skill-comply accept?

skill-comply accepts any markdown skill, rule, or agent definition file and derives expected behavioral sequences plus test scenarios without manual spec authoring.

Add a skill-comply badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Get the embed code
AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.