You wrote a good SKILL.md. But did the agent actually follow it, or skip the
late safety rule, grab an undeclared tool, and report "done" with no proof?
SkillSpec tells you. Run one command and get a risk report. Then turn any
skill into a contract the agent has to follow, with a record you can inspect at
the end.
No new agent runtime. No orchestration platform. Just a CLI and a small
skill.spec.yml that lives next to your SKILL.md.
Star History
See It In 30 Seconds
Point Doctor at any skill, a local folder or a public GitHub URL:
skillspec doctor ./my-skill
SkillSpec Doctor
================
Target: ./my-skill Shape: simple_skill
Agent follow-through risk: HIGH (74/100)
Findings
- description is short and generic -> automatic discovery may be unreliable
- active skill load is 8,482 tokens -> above the balanced target
- 14 must/never obligations appear after 60% of the body -> easy to miss
- tools and commands are used, but dependencies are never declared
- no tests and no progress/trace surface -> "done" can't be checked
Likely consequence
An agent may follow the broad task but skip a late safety gate, use an
undeclared tool, or claim completion without evidence.
Next step
Ask your agent: /skillspec import ./my-skill, compile it, test it, install it,
and print the alignment summary.
No install required to try it. Paste a public skill URL into the hosted page:
A SKILL.md is just text. The harness loads it and hopes the model reads the
right part. For a throwaway skill, that can be fine. For a skill you rely on,
"hope" is not a plan:
Buried rules get skipped. The important "never do X" sits at line 400,
and models are most reliable at the start and end of context, not the middle.
Every miss grows the prose. Each failure becomes another paragraph, which
makes the next miss more likely.
You only see the final answer. There is no durable record of which route
ran, which steps happened, or what was skipped.
SkillSpec moves the load-bearing parts out of prose and into a small structured
contract:
when to use the skill
which route to take
what is forbidden
what dependencies must exist
what checks must pass
what proof should exist at the end
Install
Install the CLI:
curl -fsSL https://skillspec.sh/install.sh | sh
skillspec --version
Or with Cargo:
cargo install skillspec
skillspec --version
Then add the plugin to your harness.
Claude Code:
claude plugin marketplace add modiqo/skillspec --sparse .claude-plugin plugins/skillspec
claude plugin install skillspec@skillspec
claude plugin list