/open-knowledge-format:open-knowledge-formatfrom open-knowledge-format
Author, validate, migrate and consume Open Knowledge Format (OKF) bundles, Google Cloud's vendor-neutral spec (v0.2) for agent-readable knowledge as markdown with YAML frontmatter. Use whenever OKF, "knowledge bundle", okf_version or "LLM wiki" comes up; when writing or generating markdown-plus-frontmatter knowledge for AI agents to consume; when turning a repo, wiki, Obsidian vault, data catalogue or schema into something agents can read; when checking conformance of concepts, index.md/log.md, or the type/sources/generated/verified/status/stale_after frontmatter families; when working with Attested Computation contracts, executors, attesters or receipts; and when migrating a v0.1 bundle to v0.2. Also use when someone asks whether their agent-knowledge folder follows the standard, or compares it with AGENTS.md, CLAUDE.md, llms.txt or RAG pipelines. Not for the Open Knowledge Foundation (okfn.org), an unrelated non-profit sharing the abbreviation.
Trending skills
7-day visitors to each skill page
Ships in open-knowledge-format. 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.
OKF represents knowledge as a directory of markdown files with YAML frontmatter. No SDK, no schema
registry, no runtime. A conformant bundle is readable with cat and shippable with git clone.
Published by Google Cloud's Data Cloud team in the GoogleCloudPlatform/knowledge-catalog repo
(okf/SPEC.md, Apache 2.0). v0.1 landed 12-13 June 2026, v0.2 on 25 July 2026. It is explicitly an
early-stage spec, not a ratified standard, and its authors describe it as a starting point.
State this honestly when relevant: OKF fixes structural interoperability (a folder layout, two
reserved filenames, one required field, a handful of optional trust fields). It does not fix
semantic interoperability. There is no registry of type values, so two producers can describe the
same thing incompatibly and both remain conformant. Adoption outside Google's own tooling was still
thin as of August 2026. Do not oversell it as an industry standard, and do not pretend a bundle
solves retrieval, serving or governance by itself.
| Situation | Go to |
|---|---|
| Create a new bundle from scratch | Authoring |
| Add or edit one concept | Concept anatomy plus references/field-reference.md |
| Check a bundle is conformant | Validation |
| Migrate a v0.1 bundle | references/field-reference.md §migration |
| Sanctioned, checkable computations | references/attested-computations.md |
| Read a bundle as an agent | Consuming |
Load reference files only when the task needs them. The spec itself is small; the reference files carry the field-by-field detail that would otherwise bloat this file.
bundle/
index.md # optional. Directory listing, for progressive disclosure.
log.md # optional. Chronological change history.
<concept>.md # a concept at the root
<subdir>/
index.md
<concept>.md
index.md and log.md are reserved at every level and must not be used as concept documents.
Every other .md file is a concept. Directory layout is a producer choice: organise by whatever
structure the knowledge actually has. Distribute as a git repo (preferred, since it gives history,
attribution and diffs), an archive, or a subdirectory of a larger repo.
A concept's ID is its path within the bundle minus the .md suffix.
---
type: BigQuery Table # the only always-required field
title: Customer Orders
description: One row per completed customer order across all channels.
resource: https://console.cloud.google.com/bigquery?p=acme&d=sales&t=orders
tags: [sales, orders, revenue]
generated: { by: reference_agent/gemini-2.5-pro, at: 2026-05-28T14:30:00Z }
---
# Schema
| Column | Type | Description |
|------------|--------|-----------------------------------|
| `order_id` | STRING | Globally unique order identifier. |
# Joins
Joined with [customers](/tables/customers.md) on `customer_id`.
Rules worth holding in mind while writing:
type is a free string. Pick something self-explanatory (Metric, Playbook, API Endpoint,
Reference). Be internally consistent across a bundle, because consumers route and filter on it.resource identifies the underlying asset. Omit it for abstract concepts; do not invent a URI.# Schema, # Examples, # Computation. Use them when they apply so
consumers can find the same things in the same place./tables/customers.md) is recommended over
relative, because it survives a file being moved within its subdirectory. Links are untyped edges;
the nature of the relationship lives in the surrounding prose.Optional trust families (sources, generated, verified, status, stale_after) and the actor
convention are in references/field-reference.md. Add them when the information is real. Fabricated
provenance is worse than absent provenance, because absence is itself a legible signal: an
unverified concept is meant to be distinguishable from a verified one.
type, title, description; add resource and tags where they
mean something.index.md per directory once the contents settle, reusing each concept's description
as the entry text.log.md if the bundle will travel without its git history. If it lives in git and stays
there, say so and let the commit log do the job rather than maintaining a parallel record.okf_version: "0.2" in the frontmatter of the bundle-root index.md. That is the only
place frontmatter is permitted in an index file.For agent-generated bundles, populate generated: { by, at } on each concept. by uses the actor
convention (<producer>/<version>, human:<id>, process:<id>). Trust tiers are derived from the
human: prefix on verified entries, so getting the prefix right is what makes human sign-off
visible downstream.
scripts/validate_okf.py implements the §11 conformance rules plus the soft checks worth surfacing.
python3 "${CLAUDE_PLUGIN_ROOT}"/skills/open-knowledge-format/scripts/validate_okf.py path/to/bundle
python3 "${CLAUDE_PLUGIN_ROOT}"/skills/open-knowledge-format/scripts/validate_okf.py path/to/bundle --strict # warnings become failures
python3 "${CLAUDE_PLUGIN_ROOT}"/skills/open-knowledge-format/scripts/validate_okf.py path/to/bundle --json # machine-readable
(Outside a plugin install, the script is at scripts/validate_okf.py relative to
this skill.)
Errors (a bundle fails on these):
.md file with no parseable YAML frontmatter blocktypeindex.md, or a root index.md carrying keys other than okf_versionlog.md date heading that is not YYYY-MM-DDAttested Computation concept with no runtime, or with neither a computation path nor a
# Computation fenceWarnings only: missing description, unrecognised status, actor strings that do not match the
convention, stale_after already in the past, broken bundle-relative links, footnote labels with no
matching sources[].id, missing index.md. Conformance is deliberately permissive: consumers must
not reject a bundle for unknown types, unknown keys, broken links or absent optional fields, so the
validator must not either.
Read it the way the format is designed to be read, rather than flattening it into a blob:
index.md. Descend one level at a time. Progressive disclosure exists so an
agent can see what is available before spending context on it.type. Treat unknown types as generic concepts.verified: absent means unverified, non-human: actors mean
machine-confirmed, a human:<id> actor means human-reviewed. Trust tiers are advisory signals,
not access control, so use them to caveat an answer rather than to hard-block one.stale_after: a concept is stale when today is on or after that date. Say so in the answer
instead of silently using stale content.status: deprecated as "kept for links and history", not as current knowledge.type as a controlled vocabulary. It is not, which is exactly the semantic gap to flag
when someone expects cross-organisation interoperability from it.verified with attestation. verified says a definition still matches policy and lives
in the bundle. Attestation says a single run produced a value the sanctioned way and is a runtime
artefact that never gets stored in the bundle.timestamp (a v0.1 field superseded by generated.at) or a body # Citations list
(superseded by sources) in new work.sources[].id, because agents reorder these lists and positional indices misattribute silently.references/field-reference.md — every frontmatter field, the actor convention, source
credibility signals, index and log formats, full conformance rules, v0.1 to v0.2 migration.references/attested-computations.md — the Attested Computation type, executor and attester
contracts, receipts, and the consumer flow.Authoritative source: okf/SPEC.md in GoogleCloudPlatform/knowledge-catalog. When a question
turns on an exact rule and the reference files are ambiguous, fetch the spec rather than guessing;
it is a single self-contained file and it moves.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub pvliesdonk/claude-plugins --plugin open-knowledge-format