OKF v0.2 frontmatter: what the spec requires, and two ways to check a folder A developer has published a breakdown of Google Cloud's Open Knowledge Format (OKF) v0.2 spec, noting that only one frontmatter field — a non-empty `type` — is strictly required for a markdown folder to be conformant, with `title`, `description`, `resource` and `tags` merely recommended. The writeup includes a short Python script that walks a directory, skips the reserved `index.md` and `log.md` files, and flags any note lacking a frontmatter block or non-empty `type` while listing missing recommended fields. I make JidoSeal. Free and local; the scan engine is proprietary; JidoSeal also sells optional certificates. If you keep notes, docs or a knowledge base as markdown with YAML frontmatter, and you point an AI tool at them Claude Code, Cursor, Copilot, Codex, Gemini CLI, Zed, a local model , Google Cloud's Open Knowledge Format OKF is worth ten minutes. It is a small, open spec for exactly that kind of folder: "a directory of markdown files with YAML frontmatter", meant to be "authored by people, generated by agents... and consumed by both". This post covers what v0.2 actually requires, which is less than most people assume, and then two ways to check a folder against it. The spec is short. You can read all of it at https://github.com/GoogleCloudPlatform/open-knowledge-format/blob/main/SPEC.md https://github.com/GoogleCloudPlatform/open-knowledge-format/blob/main/SPEC.md . Here is the part that matters for frontmatter. A bundle is just a folder. Every .md file in it is a "concept document", except two reserved filenames: index.md a directory listing and log.md an update history . Subfolders are fine, and git is the recommended way to ship it. One field is required: type . Section 4.1 lists it as the only required key, and says "a concept carrying just type is fully conformant". Its values are free text that you choose policy , procedure , Metric , Playbook ... . Nobody registers them centrally, and consumers must handle types they don't recognise. So this file is valid OKF v0.2: --- type: policy --- Leave policy Employees accrue leave monthly. Four fields are recommended: title , description one sentence , resource a URI for the thing the note describes, if there is one , and tags a YAML list . If title is missing, a consumer may derive it from the filename. Optional families, if you want more: generated: { by, at } records who or what wrote the content. verified is a list of { by, at } entries. A consumer derives a trust tier from it: no by: human: