Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add shimo4228/claude-harness --skill skill-complygit clone --depth 1 https://github.com/shimo4228/claude-harnessWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/shimo4228/claude-harness/skill-comply)<a href="https://agentmods.dev/skills/shimo4228/claude-harness/skill-comply"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/skill-comply/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/shimo4228/claude-harness/skill-comply"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/skill-comply.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.02184 |
| Opus 5.5 | $0.00015 | $0.00874 |
| Sonnet 5.5 | $0.00007 | $0.00437 |
| Haiku 4.5 | $0.00004 | $0.00218 |
Grade A, and why
skill-comply scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
skill-comply: Automated Compliance Measurement
Measures whether coding agents actually follow skills, rules, or agent definitions by:
- Auto-generating expected behavioral sequences (specs) from any .md file
- Auto-generating scenarios with decreasing prompt strictness (supportive → neutral → competing), to show whether the target is followed even when the prompt does not support it
- Running
claude -pand capturing tool call traces via stream-json - Classifying tool calls against spec steps using LLM (not regex)
- Checking temporal ordering deterministically
- Generating self-contained reports with spec, prompts, and timelines
It measures runtime adherence only. A static quality audit is skill skill-stocktake / rules-stocktake, a reference-integrity
check is skill skill-health, and a with/without ablation of a skill's effect is skill skill-writer §5.
Supported Targets
- Skills (
skills/*/SKILL.md): Workflow skills like search-first - Rules (
rules/common/*.md): Mandatory rules like security.md, boundary.md - Agent definitions (
agents/*.md): accepted as a target, but invocation is not observable today — every child runs withAgentdenied (scripts/child_settings.pyDENIED_TOOLS), so a step that expects an agent call cannot be seen
Usage
Paths below start at
${CLAUDE_SKILL_DIR}, the directory holding this SKILL.md; an agent that does not substitute the variable reads it as that directory.
# Full run
uv run --frozen --project "${CLAUDE_SKILL_DIR}" python -m scripts.run ~/.claude/rules/common/boundary.md
# Dry run (spec + scenarios only: the two generation `claude -p` calls run, no agent runs)
uv run --frozen --project "${CLAUDE_SKILL_DIR}" python -m scripts.run --dry-run ~/.claude/skills/search-first/SKILL.md
# Custom models
uv run --frozen --project "${CLAUDE_SKILL_DIR}" python -m scripts.run --gen-model <model> --model <model> --classifier-model <model> <path>
# Back to serial (when you hit rate limits)
uv run --frozen --project "${CLAUDE_SKILL_DIR}" python -m scripts.run --concurrency 1 <path>
# Only for specs that need Bash (off by default — read "Trust boundary" below first)
uv run --frozen --project "${CLAUDE_SKILL_DIR}" python -m scripts.run --allow-bash <path>
# Reuse a saved spec to compare across runs (skips LLM regeneration)
uv run --frozen --project "${CLAUDE_SKILL_DIR}" python -m scripts.run --spec results/<skill-name>.spec.yaml <path>
What ships with it
31 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .gitignore 68 B
- fixtures/compliant_trace.jsonl 1.0 KB
- fixtures/noncompliant_trace.jsonl 629 B
- fixtures/tdd_spec.yaml 1.2 KB
- prompts/classifier.md 2.6 KB
- prompts/scenario_generator.md 3.4 KB
- prompts/spec_generator.md 4.2 KB
- pyproject.toml 431 B
- scripts/__init__.py 0 B runs code
- scripts/child_settings.py 3.7 KB runs code
- scripts/classifier.py 3.8 KB runs code
- scripts/grader.py 5.8 KB runs code
- scripts/parser.py 4.5 KB runs code
- scripts/report.py 8.6 KB runs code
- scripts/run.py 30 KB runs code
- scripts/runner.py 27 KB runs code
- scripts/scenario_generator.py 3.2 KB runs code
- scripts/spec_generator.py 3.8 KB runs code
- scripts/target.py 7.0 KB runs code
- tests/test_child_settings.py 3.8 KB runs code
- tests/test_classifier.py 5.6 KB runs code
- tests/test_grader.py 13 KB runs code
- tests/test_parser.py 3.8 KB runs code
- tests/test_report.py 2.8 KB runs code
- tests/test_run_parallel.py 17 KB runs code
- tests/test_runner.py 8.1 KB runs code
- tests/test_sandbox_run_scope.py 6.1 KB runs code
- tests/test_sandbox_setup.py 16 KB runs code
- tests/test_spec_generator.py 1.3 KB runs code
- tests/test_target.py 7.2 KB runs code
- uv.lock 20 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 16d ago Changed · -3 lines 9b9d410408ab
- 22d ago Changed af14528ad85c
- 29d ago Changed ef254e06936c
- 1mo ago Changed · +3 lines b236eb90f9bc
- 1mo ago Changed · -48 tokens per session d1630c41d902
- 1mo ago Changed · -53 lines · -42 tokens per session scan B → A 00314ad1d47e
- 2mo ago Changed · +1 lines · -12 tokens per session 51cafc49bd9b
- 2mo ago Changed f20f84bfad79
- 2mo ago Changed · -10 lines · +92 tokens per session 58aeb8997544
- 2mo ago First seen · 216 lines · 47 tokens per session scan B 0e31e461b6c8
skill-comply is a skill published in the GitHub repository shimo4228/claude-harness (4 stars, last pushed 7d ago), licensed MIT. It adds 37 tokens to every session and 2,184 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
skill-comply compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| skill-complyshimo4228/claude-harness | Skill | 4 | 7d ago | MIT | A | 37 | Claude Code |
| agent-adoption-triageshimo4228/agent-adoption-triage | Skill | 2 | 1mo ago | MIT | A | 143 | Claude Code |
| git-commitadongwanai/learn-workbuddy | Skill | 563 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| pi-triagesky-valley/pi | Skill | 94 | yesterday | MIT | A | 57 | Claude Code |
| pi-parity-reviewsky-valley/pi | Skill | 94 | yesterday | MIT | A | 54 | Claude Code |
| zodanivar/zod-skill | Skill | 24 | yesterday | MIT | A | 217 | Claude Code, Codex |
| trailhead-chartToRvaLDz/trailhead | Skill | 37 | yesterday | MIT | A | 138 | Claude Code |