From okf
Author, initialize, and validate Open Knowledge Format (OKF) bundles — vendor-neutral knowledge as markdown files with YAML frontmatter. Use for creating bundles, scaffolding knowledge catalogs, or checking conformance.
How this skill is triggered — by the user, by Claude, or both
Slash command
/okf:okfThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Open Knowledge Format (OKF) is a vendor-neutral format for representing knowledge
Open Knowledge Format (OKF) is a vendor-neutral format for representing knowledge as plain markdown files with YAML frontmatter, organized in a directory hierarchy. It is not tied to any agent, framework, model provider, or serving system. A bundle is just a directory: version-controllable, portable, lock-in free, readable by humans and LLMs alike, and consumable by anything that reads markdown (Obsidian, Notion, MkDocs, a static file server, a search index, a graph viewer).
Read reference/SPEC.md first — it is the full OKF v0.1 spec, bundled so you can ground every decision in it without network access. When the spec and this skill disagree, the spec wins.
.md file).index.md (progressive disclosure) and log.md (history).To convert an existing pile of notes / a catalog export into an OKF bundle, use the companion okf-refactor skill instead.
.md file MUST have parseable YAML frontmatter.type.index.md, log.md — follow their special structure and
carry NO frontmatter (the sole exception: the bundle-root index.md may carry
okf_version)./tables/orders.md) over relative ones so links survive file moves.title, description, and (for assets)
resource even though only type is strictly required — consumers index on them.When asked to init/scaffold an OKF bundle at <path>:
Confirm <path> (ask if not given). Create the root directory.
Decide the top-level grouping from the domain — directories ARE the coarse
taxonomy (e.g. datasets/, tables/, references/, or concepts/,
playbooks/, …). Don't over-structure; start flat, nest only when a level
earns it.
Write a bundle-root index.md that declares the version and links the groups:
---
okf_version: "0.1"
---
# <Bundle name>
- [Datasets](datasets/) - <group description>
- [Tables](tables/) - <group description>
Add a references/ directory only if you expect standalone citation docs.
Optionally seed a root log.md with an ## <YYYY-MM-DD> / * **Initialization**
entry. Use the real current date.
One concept per file, <group>/<slug>.md. Slug is kebab-case, stable, matches the
asset name where possible.
---
type: <Type name> # REQUIRED — e.g. "BigQuery Table", "API Endpoint", "Playbook"
title: <Display name> # strongly recommended
description: <one-line summary> # strongly recommended — used in indexes/previews
resource: <canonical URI> # for assets that have one
tags: [<tag>, <tag>] # optional, cross-cutting
timestamp: <ISO 8601> # optional, last meaningful change
---
# Schema (when the concept has structured fields — prefer a table)
| Column | Type | Description |
| ------ | ---- | ------------------------------ |
| ... | ... | FK to [other](/group/other.md) |
# Examples (concrete usage in code blocks)
# Citations (external sources)
[1] [Title](https://example.com)
Guidance:
index.mdFor any directory worth navigating, write an index.md with NO frontmatter
(except the root, which keeps okf_version). Group concepts under # sections;
pull each bullet's description from the linked concept's description:
# Tables
- [Orders](orders.md) - one row per completed customer order
- [Customers](customers.md) - one row per customer
Use relative links inside an index (they sit beside their targets). Regenerate the index whenever concepts are added, removed, or re-described.
log.mdAppend directory-level history, newest first, ISO dates:
# Directory Update Log
## 2026-06-14
- **Creation**: Added orders and customers tables.
Run scripts/validate_okf.py <bundle> (bundled with this skill) for a mechanical
check, then eyeball the report. It verifies:
.md has parseable frontmatter with a non-empty type.index.md / log.md carry no frontmatter (root index.md may carry only
okf_version).python3 ${CLAUDE_PLUGIN_ROOT}/skills/okf/scripts/validate_okf.py ./bundles/my_bundle
(Outside a plugin runtime, the script lives next to this SKILL.md under scripts/.)
type.title + description present on concepts; resource on assets.index.md declares okf_version: "0.1"; other index/log files have no frontmatter.npx claudepluginhub duyet/codex-claude-pluginsGuides test-driven development for Django applications using pytest-django, factory_boy, and Django REST Framework. Covers red-green-refactor workflow, conftest fixtures, and coverage reporting.