Supporting the Open Knowledge Format
Start with a small OKF v0.2 knowledge base, keep it portable as it grows, and give agents the format guidance they need.
The Open Knowledge Format (OKF) is a portable convention for agent-readable knowledge: Markdown files, YAML frontmatter, and standard links. Use this workflow when the knowledge base may move between tools, teams, or organizations and you want that portability built in from the first file.
OpenKnowledge's Open Knowledge Format starter pack creates the minimum useful OKF v0.2 bundle. It also enables the OKF plugin, which warns when later edits would be misread by another OKF consumer.
OKF here means Google's Open Knowledge Format. The format keeps its conformance floor deliberately small: every non-reserved document needs parseable YAML frontmatter with a non-empty type. Read the OKF v0.2 specification.
Start with the OKF pack
Seeding needs an initialized project. Run ok init, then pick Open Knowledge Format in the starter-pack picker, or run:
ok seed --pack okfThe pack adds:
| Path | What it provides |
|---|---|
index.md | The bundle root, declaring okf_version: "0.2" and linking to Getting started |
concepts/getting-started.md | A typed guide to the bundle's purpose and conventions |
concepts/.ok/templates/concept.md | A starting shape for new concepts, including type: Concept and status: draft |
| Project configuration | The OKF plugin enabled for this project |
okf-knowledge-base | Project skill that teaches agents the format's types, provenance, links, indexes, and logs |
Existing files with the same paths are left alone. Re-seeding fills only what is missing.
Keep the bundle portable
The starter gives the project a conformant starting point. Three habits keep it portable:
- Give every non-reserved
.mddocument parseable frontmatter with a non-emptytype. - Keep reserved
index.mdandlog.mdfilenames lowercase. An index normally has no frontmatter; only the bundle-root index may declareokf_version. - Use standard Markdown links. OpenKnowledge understands
[[wiki-links]], but another OKF consumer may not.
Types are an open vocabulary. Choose a useful, stable name for the concept instead of forcing every document into a fixed taxonomy.
Use the plugin for ongoing feedback
The starter pack shapes the initial files; the OKF project plugin watches what happens afterward. Its warnings are advisory and never block a save or an agent edit.
The plugin:
- checks document structure, frontmatter, reserved files, links, and
.mdxuse; - advertises generated OKF schemas to agents so they can read the contract before writing;
- offers the companion OKF agent skill when it is not already in the project;
- can optionally maintain an
index.mdin every Markdown folder.
Open Settings → Plugins → OKF to tune its rules or generated indexes. See the OKF plugin page for the controls and complete rule reference.
You can also enable the plugin in an existing project without seeding the starter pack. It reports portability gaps but does not rewrite your documents. Index generation is a separate opt-in because those files are machine-owned.
Work with agents
The project skill gives an agent the judgment the deterministic rules cannot: choosing useful types, recording only real provenance, and preserving trust and lifecycle metadata without inventing it.
Try:
The plugin checks the resulting shape. The skill guides the content decision.
Further reading
- OKF plugin. Enable the plugin, install its recommended skill, tune rules, and opt into generated indexes.
- Content rules overview. Where warnings appear in the editor, CLI, and agent tools.
- Open Knowledge Format v0.2 specification. The portable format OpenKnowledge implements.
Worldbuilding
A living encyclopedia for a story you're writing: characters, places, factions, and lore, each on its own page that links to the others. Mention someone new and the AI adds a page for them; contradict your own canon and it flags it. Built on the Worldbuilding starter pack.
Ingest meetings
Get meeting transcripts into your knowledge base as markdown, where they are searchable, linkable, and answerable. OpenKnowledge does not record meetings. You bring a recorder, OK holds the result.