Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
affaan-m avatar

Skill Comply

  • 1.4k installs
  • 238k repo stars
  • Updated August 5, 2026
  • affaan-m/ecc

This is a copy of skill-comply by affaan-m - installs and ranking accrue to the original listing.

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

About

skill-comply is an automated compliance measurement skill for coding agents. It auto-generates expected behavioral sequences from any .md skill, rule, or agent definition, then builds scenarios at three prompt strictness levels: supportive, neutral, and competing. The skill runs `claude -p`, captures tool call traces via stream-js, classifies behavioral sequences, and reports compliance rates with full tool call timelines. Use skill-comply when custom agent instructions exist but behavior consistency is unverified. Required tools are Read and Bash, making it suited to CI-style agent definition audits before wider rollout.

  • 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

  • 1,370 all-time installs (skills.sh)
  • +83 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/affaan-m/ecc --skill skill-comply

Add your badge

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

Listed on Skillselion
Installs1.4k
repo stars238k
Last updatedAugust 5, 2026
Repositoryaffaan-m/ecc

How do you test if agents follow custom skills?

Automatically measure whether their custom skills, rules, and agent definitions are actually being followed by coding agents.

Who is it 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 this skill?

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

What you get

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

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

By the numbers

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

Files

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.

Related skills

How it compares

Use skill-comply to verify agent instruction adherence rather than application unit tests or static security scans.

FAQ

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.

AI & Agent Buildingagentsautomation

This week in AI coding

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

unsubscribe anytime.