Skip to content
affaan-m avatar

Skill Comply

Measures whether agents actually follow skills, rules, and agent definitions through graded behavioral scenarios.

CCM score
69 of 100
skills.sh installs
11.3K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers skills, rules, and agent definitions, auto-generating behavioral specs and scenarios at decreasing prompt strictness levels
  • Runs claude -p in isolated per-scenario sandboxes, classifying tool call traces against spec steps with an LLM and checking ordering deterministically
  • Enforces a per-scenario turn cap (--max-turns) and timeout (--timeout), grading partial traces when a run is cut off
  • Designed for verifying compliance after adding new rules or skills, or as periodic quality maintenance

Install

$ npx -y skills add affaan-m/ecc --skill skill-comply -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/affaan-m/ecc
Categories
Skill & Plugin Building, Agent Workflow & Planning, Testing & QA
First seen
Jul 14, 2026

Questions

What does the skill-comply skill do?

It measures whether agents actually follow skills, rules, or agent definitions they were given. It auto-generates scenarios at three prompt strictness levels, runs agents, and reports compliance rates with full tool call timelines.

Which targets can skill-comply check for compliance?

It supports skills in skills/*/SKILL.md, rules such as rules/common/testing.md and security.md, and agent definitions in agents/*.md. Agent definitions are checked only for whether the agent gets invoked when expected.

How do I install skill-comply?

Run npx -y skills add affaan-m/ecc --skill skill-comply -y in a project. This lets the agent measure whether a skill or rule is followed, even when the prompt does not explicitly support it.

Where does skill-comply rank in its category?

It sits in the Skill & Plugin Building category and ranks in the top 50 on that category page. It measures compliance by generating specs and scenarios from any .md file, then classifying tool calls with an LLM.

Does skill-comply need a special sandbox or accounts?

Each scenario runs in a private temporary directory with a local bare origin and a stub gh command on PATH. Reports note that this does not prove a real PR, merge or hosted check succeeded.

More from affaan-m/ecc

All 257

Similar to Skill Comply

More Skill & Plugin Building