By Zandereins
Deterministically score and improve Claude Code skill files (SKILL.md, CLAUDE.md, .cursorrules) across 7 quality dimensions, run autonomous improvement loops, detect skill conflicts, log failures, and generate reports for continuous skill quality.
Perform a comprehensive analysis of an existing Claude Code skill. Examines all 7 dimensions (structure, triggers, quality, edges, efficiency, composability, clarity), shows both composite score and binary eval pass rate, and provides specific, actionable improvement suggestions ranked by impact.
Run the autonomous self-driving improvement loop. Scores the skill, generates improvement gradients, applies deterministic patches, re-scores, and keeps or reverts changes automatically. Stops on plateau detection or target reached.
Run a full benchmark of a skill's current quality. Measures all 7 dimensions (structure, triggers, quality, edges, efficiency, composability, clarity) and runs binary eval assertions if an eval suite exists. Records results in JSONL format and supports comparison against previous benchmarks to show progress deltas.
Run a health check on all installed skills. Scans skill directories, scores each skill structurally, and produces a summary table with grades and actionable recommendations. Zero arguments needed.
Run the unified evaluation suite against a skill combining 6-dimension scoring with binary assertions. Produces pass rates and composite quality scores.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
The Ruff for AGENTS.md — deterministic quality scores for the instruction files that drive your AI. Same input, same score, on every machine.
That last badge is Schliff scoring this repo's own AGENTS.md — live, and reproducible from your own checkout.
Your AI instruction files silently degrade — and nothing catches it. AGENTS.md is read by Cursor, Codex, Copilot, and Claude Code — one rotting file now quietly degrades four tools. A trigger phrase rots, an edge case slips, the file balloons past its token budget. No error, no red test — just agents that quietly get worse.
Schliff scores AGENTS.md — and the rest of the family (SKILL.md, CLAUDE.md, .cursorrules, system prompts) — against an explicit, versioned rubric. No LLM judge in the critical path. No network. No randomness. A rule engine you can read, pin, and gate CI on.
pip install schliff
schliff score AGENTS.md # or any SKILL.md / CLAUDE.md / .cursorrules
schliff demo # no instruction file handy? score a built-in bad one
This is the real, current output of schliff score AGENTS.md on this repo's own
AGENTS.md — clone and run it yourself:
schliff v8.7.0
structure ██████████ 100/100 perfect
operational_coverage ██████████ 100/100 perfect
efficiency ████████░░ 79/100 good
composability ██████████ 95/100 excellent
clarity ██████████ 100/100 perfect
Structural Score ███████████████████░ 95.8/100 [S]
Tokens: 996 / 3,000 (ok)
Format: agents.md (normalized)
No model produced that number. Run it on another laptop and you get 95.8 again — a score you can't reproduce isn't a measurement, it's a vibe. And we hold ourselves to that: this repo's own badge (scored in isolation) once disagreed with its own CLI (scored in-repo) by ~15 points on the same bytes, because structure was crediting an on-disk references/ neighbourhood instead of the file's content. We fixed the engine, not the file (#10) — now cp AGENTS.md /tmp && schliff score /tmp/AGENTS.md returns the same number as CI and the badge. (The agents.md headline weights structure·operational_coverage·efficiency at 0.4/0.4/0.2; composability and clarity are shown for information, not counted.)
The quick-start and case-study numbers here are reproducible from released schliff==8.7.0 (pip install schliff==8.7.0); the hydra field run below is dated to the version it was measured on. No install? Paste your file into the playground — same engine, with AGENTS.md and SKILL.md tabs.
The SKILL.md for ShieldClaw — a real prompt-injection-defense skill, now archived — is Schliff's reproducible before/after. The fixtures ship in docs/case-studies/shieldclaw/; every number below is the current engine's output, reproducible with schliff score. (For the 28.7 row, score a copy of SKILL-before.md outside that directory — in place, the engine auto-discovers the sibling eval suite.)
| Score | Grade | Dimensions measured | |
|---|---|---|---|
| Before, scored in isolation | 28.7 | F | 4/7 — no eval suite; explicit ceiling warning |
| Before, with its eval suite | 84.5 | B | 7/7 |
| After fixes | 94.6 | A | 7/7 |
Two separate effects, and Schliff refuses to conflate them. Adding the eval suite lifted the measurement ceiling (28.7 → 84.5) — that is coverage, not quality. The quality delta is 84.5 → 94.6, driven by composability 20 → 86 and efficiency 60 → 83 after adding scope boundaries, an I/O contract, and handoffs — structural gaps a linter can't see, caught as a number that was too low.
npx claudepluginhub zandereins/schliff --plugin schliffValidates Claude Code SKILL.md files against ~25 contract rules including structure, triggers, anti-patterns, and naming. Works with Claude Code, Claude Desktop/Web, and Cursor.
Use when reviewing a Claude Code skill, auditing skill quality before publish, or asking "is this skill any good?". Produces structured reports with file:line citations, severity-rated findings cards, and an optional second-opinion pass. Lens variants: full (default), safety, discoverability, architecture, parseability, tests, quick.
Representation Synthesis workflow for auditing agent skills in Claude Code.
Evaluate prompts and skills through parallel execution comparison in git worktrees. Prompt optimization with BP-001~008 patterns, skill creation/update with quality grading, and blind A/B evaluation.
Local-only skill quality and security evaluator for Claude Code/OpenClaw. Scores six dimensions, runs local validators, and stores reports and snapshots under .skill-compass/.
A configurable linter for agent skills, plugins, and AI coding assistant context