okf

okf is a skill for Claude Code, Codex from lorsabyan/okf-skill. It costs 163 tokens per session (4,247 once invoked), scanned A, original, Apache-2.0.

A guide for working with Open Knowledge Format (OKF), a vendor-neutral way to store curated knowledge as Markdown files with YAML metadata in a directory called a bundle. Bundles can describe datasets, tables, metrics, APIs, playbooks, and computations.

In plain words
What is it for?
Use it to create, check, read, link, version, and navigate OKF knowledge bundles.
Why use it?
It lets tools and people share structured knowledge using ordinary files, without needing a special software library or registry.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [dataset](../datasets/sales.md) ← parent dataset from a table.

Good fit Use it to create, check, read, link, version, and navigate OKF knowledge bundles.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/lorsabyan/okf-skill
agentmods
npx agentmods add skills/lorsabyan/okf-skill/okf

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for okf

README.md
[![agentmods](https://agentmods.dev/badge/skills/lorsabyan/okf-skill/okf/github.svg)](https://agentmods.dev/skills/lorsabyan/okf-skill/okf)
Your own site
<a href="https://agentmods.dev/skills/lorsabyan/okf-skill/okf"><img src="https://agentmods.dev/badge/skills/lorsabyan/okf-skill/okf/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for okf

Your own site · 80×15
<a href="https://agentmods.dev/skills/lorsabyan/okf-skill/okf"><img src="https://agentmods.dev/badge/skills/lorsabyan/okf-skill/okf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 163 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,247 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00163 $0.04247
Opus 5.5 $0.00065 $0.01699
Sonnet 5.5 $0.00033 $0.00849
Haiku 4.5 $0.00016 $0.00425

Measured 2mo ago against content hash e0394020f83b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

okf scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/generate_index.py, scripts/validate_okf.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

okf/SKILL.md · 360 lines

How it starts

The opening of the file, as written. The whole thing — 360 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Open Knowledge Format (OKF)

OKF v0.2 is a vendor-neutral format for representing knowledge — the metadata, context, and curated insight around data and systems — as plain markdown files with YAML frontmatter, organized in a directory tree called a bundle. No SDK, no registry, no required tooling: if you can read a file you can consume OKF, and if you can git clone you can ship it.

The full specification is in references/SPEC.md. Read it when you need exact rules (reserved filenames, conformance, attested-computation contracts, versioning). This file covers the 90% you need for day-to-day work.

This skill targets v0.2. v0.1 bundles are still valid input — see Reading v0.1 bundles at the end.

Core model

  • Bundle — a directory tree of .md files. The unit of distribution.
  • Concept — one markdown file describing one unit of knowledge (a table, a metric, an API, a playbook, an idea). Its concept ID is the file path without .md (e.g. tables/users.md → tables/users).
  • Reserved filenames — index.md (directory listing) and log.md (change history) are never concept docs.
  • Links — standard markdown links between concepts express relationships; the surrounding prose conveys the relationship's meaning. Broken links are legal (they mark not-yet-written knowledge).

Concept document format

Every concept file = YAML frontmatter + markdown body:

---
type: BigQuery Table            # REQUIRED — the only required field
title: Customer Orders          # recommended: display name
description: One row per completed customer order.   # recommended: one line
resource: https://console.cloud.google.com/bigquery?p=acme&d=sales&t=orders
tags: [sales, orders]
generated: { by: reference_agent/gemini-2.5-pro, at: 2026-07-13T00:00:00Z }
verified: { by: human:ahormati, at: 2026-07-14T09:00:00Z }
status: stable                  # draft | stable | deprecated
stale_after: 2026-12-31T00:00:00Z   # absolute instant; stale when now >= this
sources:
  - id: bq-schema
    resource: https://console.cloud.google.com/bigquery?p=acme&d=sales&t=orders
    title: BigQuery table schema
    author: team:data-platform
    last_modified: 2026-07-01T00:00:00Z
# any extra producer-defined keys are allowed
---

One row per completed customer order across web, mobile, and marketplace
channels. The grain is the order, not the line item — per-line detail lives in
[order_lines](order_lines.md). Covers 2019-01-01 onward.[^bq-schema]

# Schema

| Column        | Type   | Description                                     |
|---------------|--------|-------------------------------------------------|
| `order_id`    | STRING | Unique order identifier.                        |
| `customer_id` | STRING | FK to [customers](customers.md).                |

# Common query patterns

```sql
SELECT COUNT(*) FROM `acme.sales.orders`;
```

[^bq-schema]: BigQuery table schema

Read the full file on GitHub · 360 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 360 lines · 163 tokens per session scan A e0394020f83b

Subscribe to this mod's changes

okf is a skill published in the GitHub repository lorsabyan/okf-skill (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 163 tokens to every session and 4,247 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

okf compared with skills from other repositories

okf next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
okflorsabyan/okf-skillSkill62mo agoApache-2.0A163Claude Code, Codex
backfillscaccogatto/okf-skillsSkill4393d agoMITA80Claude Code
okfscaccogatto/okf-skillsSkill4393d agoMITA127Claude Code, Codex
validatescaccogatto/okf-skillsSkill4393d agoMITA82Claude Code
visualizescaccogatto/okf-skillsSkill4393d agoMITA111Claude Code
okf-proserradura/okfSkill1832mo agoApache-2.0A56Claude Code
ingestboykush/scrapsSkill45yesterdayMITA62Claude Code