/schliff:schlifffrom schliff
Lints, scores, and audits instruction files (SKILL.md, AGENTS.md, CLAUDE.md) deterministically. Verifies commands resolve in the repo and provides CI-gating via score thresholds.
Ships in schliff. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Scores one instruction file per dimension and turns that score into a CI gate.
uv on PATH (it provides uvx). No API key. Expects an instruction-file path
for most commands; see each command's --help.
These run anywhere uv is available: no plugin, no checkout. All except badge
and demo accept --json for machine-readable output.
uvx schliff score <file> — score one instruction file, per-dimension breakdownuvx schliff doctor --skill-dirs <dir> — grade every skill in a directoryuvx schliff verify <file> --min-score 75 — CI gate; exits 1 below the thresholduvx schliff check-commands <file> --repo <dir> — do the file's commands resolve?uvx schliff suggest <file> — ranked fixes with estimated score impactuvx schliff badge <file> — markdown score badgeuvx schliff compare <a> <b> — two files side by sideuvx schliff demo — score a built-in bad skill to see the output shapePin the version in CI: uvx [email protected] verify <file> --min-score 75.
Example 1 — score a skill:
$ uvx schliff score SKILL.md
structure 95/100 triggers 95/100 quality 90/100
Structural Score 87.4/100 [A] Tokens: 1,044 / 2,000 (ok)
Grades run S · A · B · C · D · E · F. 4/7 dims in the readout means no eval
suite was found beside the file, so only the deterministic dimensions could be
measured and the score is capped — a coverage statement, not a quality verdict.
verify scales its threshold by that same coverage, so a missing eval suite
never fails CI on its own.
Example 2 — is the file telling the truth?
$ uvx schliff check-commands AGENTS.md --repo .
resolved 'make test' make target 'test' defined in Makefile
dangling 'npm run lint' package.json has no script 'lint'
dangling is claimed only when absence is provable; anything unresolvable is
reported unknown, never as a defect.
uvx schliff doctor --skill-dirs <dir> — find the worst file.uvx schliff suggest <file> — see the ranked fixes and their impact.uvx schliff score <file> to confirm the delta.uvx schliff verify <file> --min-score 75 in CI.Only with the full plugin from schliff's own marketplace (/plugin marketplace add Zandereins/schliff, then /plugin install schliff@schliff). A skill-only mirror
and the uvx path above do not ship these commands, which also need python3 >= 3.10:
/schliff:analyze · /schliff:doctor · /schliff:init · /schliff:bench ·
/schliff:eval · /schliff:report · /schliff:mesh · /schliff:triage ·
/schliff:auto
Produces per-dimension scores, a composite grade, and a gate-usable exit code.
A gate result exits 1 with the finding on stdout: verify below the threshold or
with --regression, and check-commands finding a dangling command. Other
failures exit 1 or 2, depending on the command, and print the cause on stdout or
stderr.
Use when measuring or gating the quality or honesty of an instruction file. Do not use for authoring from scratch, application-code linting, or runtime behaviour testing. schliff measures — it does not write.
check-commands reports dangling → fix the file or the repo, re-run it.__init__.py (opens in a new tab)eval-suite.json (opens in a new tab)hooks/hooks.json (opens in a new tab)hooks/session-injector.js (opens in a new tab)references/improvement-protocol.md (opens in a new tab)references/metrics-catalog.md (opens in a new tab)references/skill-patterns.md (opens in a new tab)references/state-management.md (opens in a new tab)scripts/__init__.py (opens in a new tab)scripts/achievements.py (opens in a new tab)scripts/analyze-skill.sh (opens in a new tab)scripts/auto-improve.py (opens in a new tab)scripts/cli.py (opens in a new tab)scripts/doctor.py (opens in a new tab)scripts/drift.py (opens in a new tab)scripts/episodic-store.py (opens in a new tab)scripts/episodic_store.py (opens in a new tab)scripts/eval_split.py (opens in a new tab)scripts/evolve/__init__.py (opens in a new tab)scripts/evolve/budget.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub zandereins/schliff --plugin schliffOther plugins' skills for the same job