Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Author, maintain, and consume Open Knowledge Format (OKF) knowledge bundles — portable markdown + YAML frontmatter that both humans and agents read. Use when capturing project knowledge (services, APIs, schemas, metrics, runbooks, decisions) into an OKF bundle, when updating one after code or docs change, or when a repository contains an `.okf/` (or other OKF) bundle that should inform the task. Triggers on: "document this in OKF", "update the knowledge bundle", "capture this as a concept", or a
.claude/skills/scaccogatto-okf/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 79% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 84% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 43% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 25% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 62% | 0% |
OKF represents knowledge as a directory of markdown files with YAML frontmatter. It is minimal by design: no schema registry, no runtime, no SDK. Your job is to produce, maintain, and consume OKF bundles conformant with the spec, not your memory of it.
Always read the canonical spec before non-trivial work: reference/SPEC.md. It is the verbatim OKF v0.2 specification and the source of truth for every rule below.
A bundle is conformant (§11) iff: every non-reserved .md file has a parseable YAML frontmatter block, and every such block has a non-empty type field. Everything else is soft guidance. Consumers MUST tolerate missing optional fields, unknown types, and broken links — never reject a bundle over them.
.md) is the concept ID.type is required. Add title, description, tags whenthey aid consumption; add resource (a canonical URI) only for concepts bound to a real asset — omit it for abstract concepts.
Conventional headings: # Schema, # Examples, # Computation.
form (/services/auth-api.md). A link asserts a relationship; its kind lives in the surrounding prose, not the link.
index.md (directory listing, no frontmatter, except thebundle-root index, which may carry okf_version and this plugin's upkeep: enforced opt-in flag) and log.md (ISO-dated change history, newest first). Never use these names for concepts.
generated: { by, at } — who produced the current contentand when. verified: [{ by, at }] — who confirmed it since (a bare mapping is one entry). Write by in the actor convention (§7): <producer>/<version> for an agent, human:<id> for a person, process:<id> for an automated job. Use human: whenever a person authored or signed off — consumers key trust tiers off that prefix.
status: draft|stable|deprecated (absent meansstable) and stale_after, an absolute ISO 8601 datetime (a bare date is tolerated), not a TTL.
usage_count, last_modified }] plus a usage_window: { from, to } sibling of sources framing every usage_count (an entry may carry its own to override it); a usage_count without a window warns. resource is required per entry and may be a URL, a bundle path, or a scope descriptor. Attribute a specific claim with a markdown footnote whose label is the source's id: …sharded daily.^ga4-schema] plus a ^ga4-schema]: … definition. The label is the join key, it must match a sources].id.
type: Attested Computation, carrying runtime (required), parameters, executor, attester, and the computation itself under # Computation (or a computation: path). Concepts that need the value link to it. Never inline a number's SQL into the concept that narrates it.
Reading a v0.1 bundle? Two constructs were superseded (§13.1): timestamp is now generated.at, and a body # Citations list is now sources. Read both, write v0.2 — and when you touch a legacy concept in maintain mode, migrate its frontmatter as part of the edit. The validator warns on both.
Templates to copy: concept, index, log.
Use .okf/ at the repository root unless the project already uses another location. Commit it alongside the code it describes — knowledge as code.
Starting a brand-new bundle? Use the init fast-path instead of hand-writing the first files — it scaffolds a conformant index.md, log.md, and a getting-started.md concept with full recommended frontmatter in one shot:
bashuv run "${CLAUDE_SKILL_DIR}/scripts/okf_init.py" <target-dir> [--title "..."]
It refuses to touch a directory that already has .md files unless --force is given. Then extend it:
docstrings, config), docs/wiki (distill pages into concepts, record the originals in sources), manual (decisions, playbooks, metrics).
services/, datasets/,decisions/). One concept per file.
descriptive type, fill recommended fields, record generated and the sources you actually read, cross-link related concepts.
index.md per directory (and okf_version: "0.2" in the rootindex). Append a dated entry to log.md.
resource, path, ortopic). This bookkeeping is exactly what agents are good at — touch every affected file in one pass.
generated.at (with your own actor in generated.by);fix or add cross-links; create new concepts for new assets; mark removed assets status: deprecated and note the deprecation in log.md rather than silently deleting context. Facing a whole v0.1 bundle rather than a stray field? Do not hand-edit it — run the validator's --migrate once.
index.md files and append a dated log.md entrydescribing what changed.
index.md first for progressive disclosure, then followlinks only into the concepts relevant to the task.
status: draft/deprecated, a stale_after alreadypast, or no verified entry all mean "check before relying on this". Treat broken links as not-yet-written knowledge, not errors.
Attested Computation covers? Run its computation withvalues bound to the declared parameters — never write your own query.
write it back.
Never eyeball conformance — run the deterministic checker. Invoke the companion validate skill (/okf:validate <bundle-dir> --strict), which ships the checker. If that skill is not installed, run it directly:
bashuv run "${CLAUDE_SKILL_DIR}/../validate/scripts/okf_validate.py" <bundle-dir> --strict
Resolve every ERROR (hard §11 failures). Under --strict warnings also fail the run (exit 1), so clear them too; drop --strict (or use --max-warnings N) if you only want §11 conformance gated.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 25,044 | 56,869 | +127% | 1 | 1 | 0% | 452 | 2,482 | +449% | 0 | 0 | — |
case-02 | fail→fail | 7,195 | 7,620 | +6% | 1 | 1 | 0% | 231 | 2,299 | +895% | 0 | 0 | — |
case-03 | fail→fail | 7,618 | 9,299 | +22% | 1 | 1 | 0% | 360 | 2,521 | +600% | 0 | 0 | — |
case-04 | pass→pass | 11,898 | 4,927 | -59% | 1 | 1 | 0% | 1,844 | 2,630 | +43% | 0 | 0 | — |
case-05 | fail→pass | 10,911 | 14,534 | +33% | 1 | 1 | 0% | 1,840 | 3,300 | +79% | 0 | 0 | — |
case-06 | pass→pass | 7,589 | 3,612 | -52% | 1 | 1 | 0% | 1,210 | 2,317 | +91% | 0 | 0 | — |
case-07 | fail→pass | 9,558 | 6,993 | -27% | 1 | 1 | 0% | 1,355 | 2,492 | +84% | 0 | 0 | — |
case-08 | pass→pass | 10,453 | 5,088 | -51% | 1 | 1 | 0% | 1,552 | 2,499 | +61% | 0 | 0 | — |
case-09 | pass→pass | 6,380 | 6,635 | +4% | 1 | 1 | 0% | 964 | 2,479 | +157% | 0 | 0 | — |
case-10 | pass→pass | 7,768 | 4,798 | -38% | 1 | 1 | 0% | 753 | 2,512 | +234% | 0 | 0 | — |
case-11 | fail→pass | 12,375 | 4,900 | -60% | 1 | 1 | 0% | 1,916 | 2,740 | +43% | 0 | 0 | — |
case-12 | pass→pass | 8,577 | 5,292 | -38% | 1 | 1 | 0% | 1,117 | 2,784 | +149% | 0 | 0 | — |
case-13 | pass→pass | 10,558 | 5,046 | -52% | 1 | 1 | 0% | 1,523 | 2,664 | +75% | 0 | 0 | — |
case-14 | fail→pass | 15,479 | 3,218 | -79% | 1 | 1 | 0% | 1,843 | 2,297 | +25% | 0 | 0 | — |
case-15 | fail→pass | 13,916 | 6,989 | -50% | 1 | 1 | 0% | 1,804 | 2,918 | +62% | 0 | 0 | — |
case-16 | pass→pass | 25,987 | 4,997 | -81% | 1 | 1 | 0% | 1,713 | 2,458 | +43% | 0 | 0 | — |
case-17 | pass→pass | 6,839 | 3,837 | -44% | 1 | 1 | 0% | 1,109 | 2,260 | +104% | 0 | 0 | — |
case-18 | pass→pass | 11,219 | 3,881 | -65% | 1 | 1 | 0% | 1,445 | 2,419 | +67% | 0 | 0 | — |
case-19 | pass→pass | 8,955 | 6,731 | -25% | 1 | 1 | 0% | 1,259 | 2,686 | +113% | 0 | 0 | — |
case-20 | pass→pass | 6,409 | 6,879 | +7% | 1 | 1 | 0% | 757 | 2,594 | +243% | 0 | 0 | — |
case-21 | pass→pass | 11,334 | 9,877 | -13% | 1 | 1 | 0% | 1,874 | 3,259 | +74% | 0 | 0 | — |
case-22 | fail→pass | 12,254 | 3,724 | -70% | 1 | 1 | 0% | 1,723 | 2,365 | +37% | 0 | 0 | — |
case-23 | fail→pass | 12,038 | 9,130 | -24% | 1 | 1 | 0% | 1,776 | 3,429 | +93% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted, and 20 counted toward the lift figure. The other 3 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +30 percentage points is the difference between those two pass rates over the 20 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 9/3/2026 | +55% |
| gemini-3.6-flash | verified | 8/27/2026 | +45% |
Other measured skills in the registry, with their headline benchmark lift.