OKF — Open Knowledge Format
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.
Using this skill (progressive disclosure)
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 skill okf-knowledge-format --list— discover every topic.living-docs skill okf-knowledge-format --topic <topic>— 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 skill okf-knowledge-format --topic conformance.
When to invoke
- Standing up a new knowledge bundle/catalog, or organizing existing markdown knowledge into one.
- Reviewing the five conformance hard rules that define OKF (§9) →
living-docs skill okf-knowledge-format --topic conformance. - Writing a concept document or normalizing its frontmatter →
living-docs skill okf-knowledge-format --topic concept. - Adding or regenerating a directory
index.md→living-docs skill okf-knowledge-format --topic index; or alog.md→living-docs skill okf-knowledge-format --topic log. - Deciding how to cross-link concepts, cite sources, name a
type, or reviewing the core model / frontmatter fields / bundle structure →living-docs skill okf-knowledge-format --topic model. - Checking a corpus for OKF conformance, authoring a concept or maintaining a directory step by step, or refreshing the vendored spec from upstream (
scripts/update-spec.sh) →living-docs skill okf-knowledge-format --topic procedure.