Knowledge as plain files

The Open Knowledge Format (OKF) is a way to write down what you know about your data, systems and processes, so that both people and AI agents can read it. This site is by okf-skills, an independent toolkit. The format has its own home at open-knowledge-format/open-knowledge-format.

In the spec's words, the format is "a directory of Markdown files with YAML frontmatter". There is nothing to install and nobody to register with. If you can open a text file, you can read it. If you can share a folder or a git repository, you can share it. The specification is short, Apache-2.0 licensed, and developed in the open at open-knowledge-format/open-knowledge-format. It is at version 0.3.

Each file is one concept: a table, a metric, a policy, a service, a runbook, anything worth explaining. A short block of metadata at the top says what kind of thing it is. The rest is ordinary Markdown. Here is a complete, valid concept:

policies/expense-approval.md
---
type: Policy
---

# Expense approval

Expenses over 500 EUR need written approval from your manager
before you pay. Keep the receipt for seven years.

Only type is required. Everything else is optional. OKF in plain words walks through the rest of the format.

Find your way

I want to...Go to
Understand what OKF is and how a bundle is laid outOKF in plain words
Write my first bundle, with or without an AI agentGetting started
Check a bundle in CIGetting started: in CI
Know what each tool here does and what it assumesThe toolkit
Tell the spec apart from this project's habitsSpec and our conventions
Move an older bundle or plugin install to OKF v0.3Upgrading to v0.3
Report a bug, propose a change, or send a pull requestContribute
See a bundle before reading anythingLive demos: storefront, data catalog, this repo's own bundle
You don't need us to use OKF

A bundle is a folder of text files. Any editor works, and the example above is fully conformant as it is. okf-skills is an independent community project, maintained by ekar.is. It is not the official OKF tooling and is not affiliated with the authors of the spec.

The OKF project ships its own agent skills, okf-generate and okf-consume. Start there if you are building a data catalog from existing sources, or answering questions with attested computations. Those are the cases the OKF repository's sample bundles cover.

What okf-skills adds

We built okf-skills for teams that keep a bundle next to their code and want it to stay current as the code changes. It has a few parts:

The validator, the visualizer, the Action and the MCP server work on any OKF bundle, from any domain. The upkeep features (the backfill skill and the hook) assume a git repository and Claude Code. The toolkit lists what each part assumes.

Quickstart

You need git, uv and Python 3.11 or newer. No account or sign-up.

Terminal
git clone https://github.com/ekar-is/okf-skills
uv run okf-skills/skills/okf/scripts/okf_init.py my-bundle
uv run okf-skills/skills/validate/scripts/okf_validate.py my-bundle

The first command gets the scripts. The second creates a small starter bundle in my-bundle/. The third checks it. Then edit the files, add your own concepts, and run the check again. To see the result as a graph:

uv run okf-skills/skills/visualize/scripts/okf_visualize.py my-bundle -o viz.html

If you use Claude Code or another AI coding agent, Getting started shows the plugin and skill installs.