skill-comply
/skill-comply
Visualize whether skills, rules, and agent definitions are actually followed — auto-generates scenarios at 3 prompt strictness levels, runs agents, classifies behavioral sequences, and reports compliance rates with full tool call timelines. Use when checking whether agents actually follow the skills, rules, and definitions they were given, rather than assuming they do.
- Author
- ginaservice ↗
- Repository
- ginaservice-skills ↗
- Licence
- MIT
- Last repository change
- 28.10.2026
Assessment and security
- Files in this package
- 23
- Scripts
- 15
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 15 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/__init__.py, scripts/classifier.py, scripts/grader.py, scripts/parser.py, scripts/report.py, scripts/run.py, scripts/runner.py, scripts/scenario_generator.py, scripts/spec_generator.py, scripts/utils.py, tests/test_classifier.py, tests/test_grader.py, tests/test_parser.py, tests/test_runner.py, tests/test_utf8.py
What it does and when to use it
Visualize whether skills, rules, and agent definitions are actually followed — auto-generates scenarios at 3 prompt strictness levels, runs agents, classifies behavioral sequences, and reports compliance rates with full tool call timelines. Use when checking whether agents actually follow the skills, rules, and definitions they were given, rather than assuming they do.
Original author description
Visualize whether skills, rules, and agent definitions are actually followed — auto-generates scenarios at 3 prompt strictness levels, runs agents, classifies behavioral sequences, and reports compliance rates with full tool call timelines. Use when checking whether agents actually follow the skills, rules, and definitions they were given, rather than assuming they do.
How it works
- Supported Targets
- When to Activate
- Usage
- Key Concept: Prompt Independence
- Report Contents
SKILL.md preview
---
name: skill-comply
description: "Visualize whether skills, rules, and agent definitions are actually followed — auto-generates scenarios at 3 prompt strictness levels, runs agents, classifies behavioral sequences, and reports compliance rates with full tool call timelines. Use when checking whether agents actually follow the skills, rules, and definitions they were given, rather than assuming they do."
category: testing
allowed-tools: "Read, Grep, Glob, Bash, Edit, Write"
file_names: ["SKILL.md", "fixtures/compliant_trace.jsonl", "fixtures/noncompliant_trace.jsonl", "fixtures/tdd_spec.yaml", "prompts/classifier.md", "prompts/scenario_generator.md", "prompts/spec_generator.md", "pyproject.toml", "scripts/__init__.py", "scripts/classifier.py", "scripts/grader.py", "scripts/parser.py", "scripts/report.py", "scripts/run.py", "scripts/runner.py", "scripts/scenario_generator.py", "scripts/spec_generator.py", "scripts/utils.py", "tests/test_classifier.py", "tests/test_grader.py", "tests/test_parser.py", "tests/test_runner.py", "tests/test_utf8.py"]
metadata:
origin: ECC
architecture: GINA-Sovereign-Multi-Agent
security_charter: GINA-SEC-7L-2026
memory_topology: 3-tier-L1-L2-L3
sandbox_policy: "--cap-drop=ALL"
dlp_leakage_score: "0.00"
---
# 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
```bash
# Full run
uv run python -m scripts.run ${GINA_HOME:-~/.gina}/rules/common/testing.md
# Dry run (no cost, spec + scenarios only)
uv run python -m scripts.run --dry-run ${GINA_HOME:-~/.gina}/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.
Files in this package (23)
- SKILL.md 3 KB
- pyproject.toml 1 KB
- fixtures/compliant_trace.jsonl 1 KB
- fixtures/noncompliant_trace.jsonl 1 KB
- fixtures/tdd_spec.yaml 1 KB
- prompts/classifier.md 1 KB
- prompts/scenario_generator.md 2 KB
- prompts/spec_generator.md 2 KB
- scripts/__init__.py 1 KB
- scripts/classifier.py 3 KB
- scripts/grader.py 8 KB
- scripts/parser.py 3 KB
- scripts/report.py 6 KB
- scripts/run.py 5 KB
- scripts/runner.py 10 KB
- scripts/scenario_generator.py 2 KB
- scripts/spec_generator.py 3 KB
- scripts/utils.py 1 KB
- tests/test_classifier.py 3 KB
- tests/test_grader.py 20 KB
- tests/test_parser.py 3 KB
- tests/test_runner.py 22 KB
- tests/test_utf8.py 10 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · ginaservice/ginaservice-skills | 100 | MIT |
| affaan-m/ECC | 100 | MIT |
| SHRIJANAGAIN/Nemo-Cli | 100 | Apache-2.0 |
Database snapshot: 13.11.2026 · package version bc499cf51a90 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100f-comply
Measure whether a Topping Out rule actually binds, by tempting it at three prompt strictness levels in a throwaway working directory and grading what the session executed, deterministically. Use for /f-comply, "does this rule actually work", "test the NEVERs", "is RULES.md being… - 95writing-for-agents
This skill should be used when creating or editing skills, agent definitions, AGENTS.md, CLAUDE.md, or reference documents intended for agents. - 100tool-discovery
Recommend the right agents and skills for any task. Covers both heavyweight agents (Agent tool) and lightweight skills (Skill tool). Triggers on: which agent, which skill, what tool should I use, help me choose, recommend agent, find the right tool. - 100writing-skills
Use when creating new skills, editing existing skills, or verifying that a skill actually changes agent behaviour before deployment (baseline run without the skill, then with). Complements skill-creator, which scaffolds structure and frontmatter; this skill supplies the test. - 100testing-skills
Use when creating or editing a skill that enforces discipline, before deploying it, and when an existing skill is being ignored, argued with, or followed only when convenient. Triggers include writing a new skill, changing a skill's rules, discovering an agent found a loophole… - 90review-skills
Reviews Agent Skills. Use when auditing skills in a codebase, checking a new or edited SKILL.md, or verifying that a skill follows the Agent Skills spec.