# Okf consume

> Okf consume is an open-source agent skill for knowledge and memory. Answers questions from an Open Knowledge Format bundle and reports trust and freshness. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/open-knowledge-format/open-knowledge-format/tree/main/skills/okf-consume
- **Repository:** https://github.com/open-knowledge-format/open-knowledge-format
- **GitHub stars:** 394
- **License:** Apache-2.0
- **Skill name:** okf-consume
- **Collection:** https://github.com/open-knowledge-format/open-knowledge-format
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/open-knowledge-format/open-knowledge-format/tree/HEAD/skills/okf-consume)
- [Network calls found in its scripts](https://github.com/open-knowledge-format/open-knowledge-format/tree/HEAD/skills/okf-consume)
- [License: Apache-2.0](https://github.com/open-knowledge-format/open-knowledge-format/tree/HEAD/skills/okf-consume)

## Features

- **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?

## Install

### Claude Code

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

```sh
/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`:

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Okf generate](https://ai-powered.com/skills/okf-generate): Okf generate is an open-source agent skill for developer tools.
- [Research](https://ai-powered.com/skills/research-hec-ovi-2): Research is an open-source agent skill for web search and scraping.
- [Nvidia ontology query](https://ai-powered.com/skills/nvidia-ontology-query): Nvidia ontology query is an open-source agent skill for knowledge and memory.
- [Mini context graph](https://ai-powered.com/skills/mini-context-graph): Mini context graph is an open-source agent skill for knowledge and memory.
- [Consolidate](https://ai-powered.com/skills/consolidate-onebrain-ai): Consolidate is an open-source agent skill for knowledge and memory.
- [Graph](https://ai-powered.com/skills/graph): Graph is an open-source agent skill for files and documents.
- [onebrain-ai](https://ai-powered.com/skills/search-onebrain-ai): onebrain-ai is an open-source agent skill for knowledge and memory.
- [Connect](https://ai-powered.com/skills/connect-onebrain-ai): Connect is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/okf-consume
