A Go toolkit for turning prose expertise into verifiable, runtime-neutral Agent Skills.
skillet is the shared kernel behind a family of tools.
skillet (Go library): The unified domain core. Holds common definitions, speclint frontmatter schemas, redlines quality rules, skilllens detectors, testprompts, ratchet, and calibration metrics. Ensures all downstream consumers have a single source of truth. For example, when two of them parse the same SKILL.md, hash the same artifact, or fold the same quotation, they must reach byte-identical answers. skillet provides that logic once, so the tools never drift apart.
This skillet library powers the four specialized command-line tools, and those power the three agent skills.
Nothing lands here on speculation. A package moves into skillet on its second consumer, because one consumer is not evidence that a thing is shared β it is evidence that one tool needed it. Until then it stays where it was written.
| Tool | Does | Uses from skillet |
|---|---|---|
exegesis |
Distills a book into a tree of Agent Skills and gates their structure | skill markdown speclint redlines neutrality skilllens quotecheck textnorm naming manifest finding identity frontmatter atomicfile testprompts ruleset/synthesize |
skillsaw |
Scores, diagnoses, and validates skills against a 9-dimension rubric | skill markdown speclint redlines neutrality skilllens judge ratchet calibration manifest finding identity testprompts |
canonizer |
Turns source documents into coding rulesets and grades them independently | ruleset ruleset/conflict ruleset/distill ruleset/synthesize judge proof markdown skilllens calibration finding textnorm |
agentic-dev-harness |
Five-stage harness for an agent to plan, build, review, and validate its own changes | proof ratchet calibration stats skilllens markdown identity frontmatter atomicfile |
gnosis |
Accretes outside knowledge into a git-backed corpus, gating every claim on evidence | finding markdown frontmatter textnorm identity errs |
steve-skill-market sits one layer
up: it is the Agent Skills catalogue, and several of its skills drive these CLIs rather than
reimplementing them β skillsaw-skill runs the rubric through skillsaw, book2skill
runs the distillation through exegesis, and merge-skills and webapp-review reach for
canonizer. The division is deliberate and is the reason skillet exists: everything
measurable is a CLI, and the agent is reserved for the judgments a deterministic check
cannot make. A skill that reimplemented the scoring would drift from the tool that gates
on it.
- One identity everywhere.
identity.Hashgives a byte-identical content hash across every tool, so hash-pinned manifests cross-check cleanly instead of trusting each tool's word. - Deterministic by default. Parsing, scoring, and scanning are pure functions that run entirely in memory. A model handles only what a deterministic check cannot decide, so results stay reproducible and cheap.
- Auditable verification. A
Findingis a static diagnostic tied to a re-runnableCheck. AManifestcounts as verified only when every skill passes its gates. AProofblocks closing until every declared artifact re-hashes to its recorded digest (no-proof-no-close). - Enforced runtime neutrality.
neutrality.Scanflags the wording or paths that bind a skill to a single agent runtime, the kind that makes other runtimes refuse to install it. - Proper Markdown parsing. goldmark parses
SKILL.mdbodies, so a#inside a code fence never reads as a heading. - Small, focused packages. Each one does a single job and depends on little. Take only what you need.
go get github.com/StevenACoffman/skilletRequires Go 1.26+.
package main
import (
"fmt"
"github.com/StevenACoffman/skillet/identity"
"github.com/StevenACoffman/skillet/judge"
"github.com/StevenACoffman/skillet/skill"
)
func main() {
// Load and identify a skill.
s, err := skill.Load("skills/my-skill")
if err != nil {
panic(err)
}
fmt.Printf("%s %s\n", identity.Hash(s.Raw), s.Name)
// Score model output against deterministic checks.
res, err := judge.Score("Result: 42", []judge.Check{
{Op: judge.OpSectionPresent, Arg: "Result"},
{Op: judge.OpContains, Arg: "42"},
})
if err != nil {
panic(err)
}
fmt.Printf("hard=%.0f soft=%.2f\n", res.Hard, res.Soft) // hard=1 soft=1.00
}Each package does one job and depends on little. Take only what you need.
| Package | Purpose |
|---|---|
skill |
Load and parse Agent Skills (SKILL.md): frontmatter plus Markdown body. Discovery is contained in the tree (os.Root) and reports entries it could not read; BrokenLinks is the shared broken-link check. |
markdown |
Structured view of a skill body via goldmark (headings, fences, lists, tables). |
speclint |
Validate SKILL.md frontmatter against the agentskills.io spec (name rules, length caps, field types, allowed keys; unknown keys and long descriptions warn). The single source of truth for the spec's drift-prone data. |
neutrality |
Red-light scan that flags runtime-binding wording, so a skill installs in any runtime; DynamicContext finds Claude Code's !`cmd` syntax. |
frontmatter |
Split a leading --- YAML block from the Markdown body. Drops a leading byte-order mark and normalizes CRLF, so a caller that forgets to cannot get an empty header instead of an error. |
redlines |
book2skill's mechanical Quality Red Lines: the six RIA-TV++ segments, the per-quotation word ceiling, and a description that states its trigger. |
skilllens |
The three SkillLens quality detectors β failure mechanisms, softening phrases, blacklist sections β returning located evidence rather than diagnostics, so each consumer sets its own severity. |
timeseries |
Detect a regression against a rolling baseline rather than a fixed threshold. |
hidden |
The one hidden-character scan: zero-width, bidirectional and tag codepoints, with the exact context rules (joiners, three flag emoji, a leading byte-order mark). Strip removes them with an offset map back to the original. |
textnorm |
Fold the differences between two copies of the same words that nobody means as differences: whitespace runs and typographic characters. The single normalizer, so no two guards disagree about what counts as the same words. |
quotecheck |
The fabrication guard: given quotations and the texts they claim to come from, report which cannot be found. Three outcomes β found, missing, and unchecked, because "nobody looked" is not the claim "this is fine". |
| Package | Purpose |
|---|---|
ruleset |
Typed model of a distilled ruleset. Each Rule carries a severity, level, rationale, β/β example pair, and source anchor. Render and Parse round-trip. |
ruleset/distill |
Fill a per-source distillation prompt for each source document. |
ruleset/synthesize |
Assemble distilled rulesets into one synthesis prompt. |
ruleset/conflict |
Find decidable inconsistencies between rules β severity and level divergence, section collisions. Exact predicates only; no threshold, no similarity score. |
naming |
Derive filenames and human titles for the distillation pipeline. |
testprompts |
Conservatively derive judge checks from expected-output prose. |
| Package | Purpose |
|---|---|
finding |
The one shared diagnostic type (severity, category, path, message) every linter and gate emits. |
judge |
Deterministic rule-judge: hard = all checks pass, soft = fraction passed. |
manifest |
Build the machine-readable record of a verified skill tree. |
proof |
No-proof-no-close gate: every declared artifact must exist and match its digest. |
identity |
Content-identity hashing shared across tools, so an artifact has one identity everywhere. |
| Package | Purpose |
|---|---|
stats |
Small deterministic statistics (Wilson score intervals and friends). |
calibration |
Measure how well stated confidences match observed outcomes (ECE, MCE, Brier). The reliability complement to stats. |
ratchet |
Keep/revert gate and activation confusion matrix for optimization loops. |
| Package | Purpose |
|---|---|
errs |
Error-code vocabulary, and the bridge that reads it off a toerr error. |
atomicfile |
Atomic file writes: a crash never leaves a half-written file. |
fsutil |
Small fs.FS-shaped filesystem helpers. |
See skillet.modelith.md for the full domain model.
See LICENSE.