modiqo/skillspec
SkillSpec makes agent skills followable, testable, and provable with Doctor risk reports, guided imports, structured contracts, and alignment proof.
What it solves
AI agents often struggle to follow complex instructions written in prose (like SKILL.md files), frequently skipping critical safety rules or using undeclared tools. SkillSpec solves this by transforming these prose-based skills into structured contracts that agents must follow, providing a verifiable record of execution to ensure the agent didn't just claim "done" without proof.
How it works
SkillSpec provides a CLI and a plugin system that integrates with agent harnesses (such as Claude Code or Codex). It operates through a three-step loop:
- Assess: The
doctorcommand analyzes a skill's prose to identify risks like buried obligations or excessive token load. - Port: It converts the prose skill into a
skill.spec.ymlcontract specifying routes, forbidden actions, dependencies, and required proof. - Prove: It generates an alignment summary after execution, allowing users to audit which steps were completed and whether any forbidden actions were taken.
Additionally, the boundary tool analyzes what a skill can reach (network hosts, file paths, binaries) to create least-privilege security policies.
Who it’s for
Developers and operators of AI agents who need high reliability and auditability for the skills their agents use, especially when moving from throwaway prototypes to production-ready skills.
Highlights
- Risk Scoring: A
doctortool that scores agent follow-through risk based on context-position effects and token limits. - Structured Contracts: Moves load-bearing instructions from prose to a YAML-based specification.
- Audit Trails: Produces alignment summaries to prove an agent followed the specified route and provided required proof.
- Security Mapping: The
boundaryfeature maps a skill's reach and emits deny-by-default policies to constrain agent capabilities. - Harness Agnostic: Works across different platforms like Codex and Claude Code via plugins.
Related
- Project
- Project
- Project
- Project
- Project