/living-docs:okf-knowledge-formatfrom living-docs
Authors and validates knowledge as OKF (Open Knowledge Format) bundles — directories of markdown files with YAML frontmatter, required type field, reserved index.md/log.md files, and relative cross-links. Use when structuring markdown knowledge for agent consumption or checking conformance.
Ships in living-docs. 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.
Represent knowledge as an OKF bundle: a directory tree of UTF-8 markdown files with YAML frontmatter, designed to be read by humans, written by agents, and exchanged across organizations with no required tooling. "If you can cat a file, you can read OKF." This skill is the repo's standard for how knowledge markdown is structured — frontmatter shape, reserved files, cross-links, and conformance.
The authoritative rules live in the vendored spec at reference/SPEC.md (OKF v0.1). This SKILL.md is the operational summary; when a detail is ambiguous, open reference/SPEC.md and follow it.
Provenance — not ours. OKF is a published, vendor-neutral standard from Google Cloud Platform (OKF v0.1, 2026-06-12), not a format coined in this repo. We adopt and vendor it (
reference/SPEC.mdis refreshed from upstream viascripts/update-spec.sh). Source: GOOGLE CLOUD PLATFORM, Open Knowledge Format — Specification v0.1 — full citation in../../references/prior-art-landscape.md.
This SKILL.md is a slim stub — a trigger plus a task->topic router. The living-docs CLI holds the full OKF details and discloses them progressively. Before authoring anything, load the topic for your task:
living-docs read guide --list — discover every topic.living-docs read guide <topic> --skill okf-knowledge-format — load that topic.Piped output is minified JSON (machine default); --plain for human text, --json to force JSON. Topics: conformance, model, procedure, concept, index, log, about. The vendored spec lives at reference/SPEC.md.
This stub is a pure router (ADR 0017): it triggers and points at topics — it holds no rules inline. The five conformance hard rules that define OKF (§9) are a topic, not stub prose; load them before authoring or checking a bundle: living-docs read guide conformance --skill okf-knowledge-format.
living-docs read guide conformance --skill okf-knowledge-format.living-docs read guide concept --skill okf-knowledge-format.index.md → living-docs read guide index --skill okf-knowledge-format; or a log.md → living-docs read guide log --skill okf-knowledge-format.type, or reviewing the core model / frontmatter fields / bundle structure → living-docs read guide model --skill okf-knowledge-format.scripts/update-spec.sh) → living-docs read guide procedure --skill okf-knowledge-format.reference/SPEC.md (opens in a new tab)reference/SPEC.source.md (opens in a new tab)rules/about.md (opens in a new tab)rules/conformance.md (opens in a new tab)rules/model.md (opens in a new tab)rules/procedure.md (opens in a new tab)scripts/update-spec.sh (opens in a new tab)templates/concept.md (opens in a new tab)templates/index.md (opens in a new tab)templates/log.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
okf, knowledge-format, frontmatter, conformance, markdown-structure
4 skills in this plugin
/living-docsRun a project's engineering decisions as a living log — MADR-lite ADRs (edited in place, retired with Deprecated, never deleted) for decisions expensive to reverse, issues for the work (and its cheap-to-reverse choices), research artifacts, an optional PRD, a project constitution, and living Mermaid architecture views, where every record has exactly one home, indexes never drift, and a record is earned by materiality, not written per layer. Use when setting up or maintaining project docs, writing an ADR/PRD/constitution/issue/research note, drawing or updating an architecture diagram, or enforcing the no-drift maintenance rule./living-docs-driftCheck whether the live records of a living-docs bundle still match the code they cite, and write a dated advisory drift report. Use when the owner asks whether the docs, architecture views, constitution, open issues or Accepted ADRs have drifted from the code. Runs a driver script that resolves each record's code anchors and asks a configurable judge command; never a gate./research-artifactsOrganize, format, and index research as OKF-conformant knowledge bundles — dated, sourced, append-only snapshots of the external evidence behind a decision (technology evaluations, library comparisons, industry-practice surveys). Use when recording research output, structuring a docs/research/ session, enforcing source discipline (primary sources, vendor-COI flags, inference-vs-fact labels, confidence levels), or wiring the research → decision → issue traceable chain. Pairs with deep-research (which gathers/verifies the evidence) and living-docs (which owns the ADR/issue artifacts research feeds into).npx claudepluginhub ejklock/living-docs-skill --plugin living-docsOther plugins' skills for the same job