Skip to main content
skill CX Codex

okf-produce — Claude Code skill for building OKF bundles

The okf-produce Claude Code skill turns readable source material into an Open Knowledge Format (OKF) bundle and records its context. It activates for requests to create or update a knowledge base, even when OKF is not named.

no license ★ 105 updated 2026-10-31

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add wmahfoudh/okf --skill okf-produce -a claude-code
Open on GitHub

What okf-produce does

The skill converts material the model can read into an OKF bundle, with a separate context describing its sources. Inputs can include document and data folders, databases, existing knowledge bases, individual files, or messages. Later runs update the bundle and context.

The model reviews the material and writes the content; commands inventory files, create source records and indexes, check text, and calculate metrics. The okf-validate validator checks the bundle and context against the OKF 0.2 specification. Python 3.10 or later and PyYAML are required.

What it helps with

  • build an OKF bundle from a document folder
  • convert an existing knowledge base to OKF
  • update a bundle after source files change
  • record where the source material came from

Example prompts for the agent

  • Create an OKF bundle from this document folder and record its sources.
  • Convert this knowledge base to OKF.
  • Update the OKF bundle using these new files.

How to install okf-produce

1Skills CLI (Vercel)

npx skills add wmahfoudh/okf --skill okf-produce -a claude-code

2Manually: put the files in place

~/.claude/skills/okf-produce/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/okf-produce/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about okf-produce

How do I install okf-produce in Claude Code?

Run npx skills add wmahfoudh/okf --skill okf-produce -a claude-code. The skill file is at ~/.claude/skills/okf-produce/SKILL.md.

What does okf-produce do?

It builds an OKF bundle from source material and creates a context with source records. Later runs update both; its commands also build indexes and run checks.

What does okf-produce require?

It requires Python 3.10 or later and PyYAML.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set8

okf-writer The okf-writer Claude Code subagent drafts concepts from source records under a run’s rules. It handles one part of a bulk produced with okf-produce. CX Codex ★ 105repo stars okf-runner The okf-runner Claude Code subagent runs one computation or read-only check from a brief. It returns a run record with the tool output and any error. CX Codex ★ 105repo stars okf-derivation-reader The okf-derivation-reader Claude Code subagent answers a task set using an OKF bundle. It works from the bundle alone, without task references or extra context. CX Codex ★ 105repo stars okf-faithfulness-reader The okf-faithfulness-reader Claude Code subagent checks concept claims against the passages cited in their footnotes. It flags unsupported claims, conflicting facts, and questions the sources leave open. CX Codex ★ 105repo stars okf-comparison-reader The okf-comparison-reader subagent for Claude Code, Codex, and Cursor checks task answers against references. It evaluates queries, rules, numbers, and answers stating that the bundle contains no information. CX Codex ★ 105repo stars okf-validate The okf-validate Claude Code skill checks an Open Knowledge Format (OKF) bundle against version 0.2 of its specification and explains each finding. It runs when a bundle is reviewed or after a producer creates or updates one. CX Codex +1 ★ 105repo stars okf-answer The okf-answer Claude Code skill answers questions using Open Knowledge Format bundles. It can also run bundle computations and save answers on request. CX Codex +1 ★ 105repo stars

Project sponsors

Companies that keep this analytics open