Skip to content
Skill

Okf consume

Answers questions from an Open Knowledge Format bundle and reports trust and freshness

Okf consume is an open-source agent skill for knowledge and memory. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
394
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Okf consume

This skill lets an agent answer questions from an Open Knowledge Format bundle, a folder of Markdown files with YAML frontmatter. For every concept it uses, the agent reports the trust tier, status, freshness and attestation result, so a reader can see how far each definition can be relied on.

The workflow starts by locating the bundle root through its index.md and version field, then narrows down relevant concepts through index files or a bundled Python scan script that filters by type, tag, status and staleness. The agent works through concept links and resolves conflicts between definitions using a fixed order of status, trust tier and freshness.

When a question asks for a value defined by an Attested Computation, the skill runs the bundle's own executor and attester as given, without writing its own query. It expects a readable bundle on the local file system, Python 3.9 or later with PyYAML for the scan script, and, for computed values, whatever credentials the bundle's executor needs. The skill is read-only and points to a separate okf-generate skill for creating or repairing bundles.

When your agent uses it

Answer questions from an Open Knowledge Format (OKF) bundle, a directory of Markdown files with YAML frontmatter, and report the provenance, trust tier, freshness, and attestation status of every concept used. Use this skill when the user points at an OKF bundle or at a directory of Markdown files with index.md files and frontmatter type fields; asks what a metric, table, policy, or procedure means according to that bundle; asks for a number that the bundle defines with an Attested Computation; or asks which concepts are stale, deprecated, or unverified.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (30 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the okf plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add open-knowledge-format/open-knowledge-format
/plugin install okf@open-knowledge-format

Or copy only this skill to ~/.claude/skills/okf-consume:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/open-knowledge-format/open-knowledge-format.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/okf-consume &&
cp -R "$tmp/skills/okf-consume" ~/.claude/skills/okf-consume &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/okf-consume inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/okf-consume to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/open-knowledge-format/open-knowledge-format.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/okf-consume &&
cp -R "$tmp/skills/okf-consume" ~/.agents/skills/okf-consume &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/okf-consume inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/okf-consume to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/open-knowledge-format/open-knowledge-format.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/okf-consume &&
cp -R "$tmp/skills/okf-consume" ~/.cursor/skills/okf-consume &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/okf-consume inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/open-knowledge-format/open-knowledge-format.git --path skills/okf-consume

Or copy the folder to ~/.gemini/skills/okf-consume yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/okf-consume:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/open-knowledge-format/open-knowledge-format.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/okf-consume &&
cp -R "$tmp/skills/okf-consume" ~/.copilot/skills/okf-consume &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/okf-consume inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/open-knowledge-format/open-knowledge-format.git

Then copy open-knowledge-format/skills/okf-consume into your agent's skills folder as okf-consume. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Bundle root detection
Finds the bundle root through its index file and reads the declared OKF version and scope.
Concept scanning
Bundled Python script lists concepts with type, trust, status and freshness, with filters.
Trust and freshness reporting
Reports trust tier, deprecation status and staleness for each concept the answer relies on.
Conflict resolution
Applies a fixed priority order to choose between disagreeing concept definitions and explains the choice.
Attested computation handling
Runs the bundle's own executor and attester for defined values without writing substitute queries.
Read-only operation
Leaves the bundle unchanged and defers creation or repair work to a separate skill.

Good for

  • What does the revenue metric mean according to this OKF bundle?
  • Which concepts in this knowledge bundle are stale or deprecated?
  • Give me the attested value for last quarter's active users from the bundle
  • Find the policy in this bundle about data retention and summarize it
  • Which definitions in this bundle have not been verified by anyone?

Okf consume FAQ

What does Okf consume need to run its scan script?

The scan script needs Python 3.9 or later and the PyYAML package.

Does the skill change the bundle Okf consume reads?

No. The skill is written to only read a bundle and must not modify it. Creating or repairing a bundle is handled by the okf-generate skill.

What happens if a computed value fails attestation?

The skill does not show the value in any form and reports the attestation failure reason instead.

Can Okf consume write its own query when a bundle has no executor?

No. If it cannot execute the bundle's computation, it shows the computation with parameters bound and states that it did not run and is not attested.

How do I install Okf consume in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/okf-consume to use it in all your projects, or to .claude/skills/okf-consume in one project. Or install the okf plugin, which includes it: /plugin marketplace add open-knowledge-format/open-knowledge-format, then /plugin install okf@open-knowledge-format.

Does Okf consume run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Okf consume?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Okf consume?

The closest alternatives to Okf consume are Okf generate, Research, Nvidia ontology query, Mini context graph and Consolidate.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from open-knowledge-format/open-knowledge-format

  1. Generates and validates Open Knowledge Format bundles with sourced, traceable facts

    • Open source
    • 394 GitHub stars
    • Developer tools