okf
БесплатноЗапускает вложенные скриптыНе проверенAuthor, maintain, and consume Open Knowledge Format (OKF) knowledge bundles — portable markdown + YAML frontmatter that both humans and agents read. Use when…
от ekar-is★ 460 звёзд на GitHubОб этом скилле
Open Knowledge Format (OKF) skill
OKF represents knowledge as a directory of markdown files with YAML frontmatter. It is minimal by design: no schema registry, no runtime, no SDK. Your job is to produce, maintain, and consume OKF bundles conformant with the spec, not your memory of it.
Always read the canonical spec before non-trivial work: reference/SPEC.md. It is the verbatim OKF v0.3 specification and the source of truth for every rule below.
The hard rules
A bundle is conformant (§11.1) when every frontmatter block parses as a YAML
mapping (no duplicate keys, no custom tags) and the reserved files follow §8
and §9. A concept is a non-reserved .md file with a non-empty type
(§3.2). A .md without frontmatter or type (a README.md, a SKILL.md) is
not a concept: consumers skip it and the validator warns. Files and directories
starting with . are not part of the bundle. Everything else is soft guidance.
Consumers MUST tolerate missing optional fields, unknown types, unknown keys and
broken links, never reject a bundle over them.
Conventions to apply
- One concept = one file. The file path (minus
.md) is the concept ID. - Frontmatter:
typeis required. Addtitle,description,tagswhen they aid consumption; addresource(a canonical URI) only for concepts bound to a real asset — omit it for abstract concepts. - Body: prefer structural markdown (headings, tables, lists, fenced code).
Conventional headings:
# Schema,# Examples,# Computation. - Cross-links and path fields (§6): a value starting with
/resolves from the bundle root, any other value from the directory of its file. Both are valid, and the spec recommends neither (§13.2). This plugin's convention for path fields (computation,executor.resource,attester.resource,superseded_by, an in-bundleresourceorsources[].resource) is the/form: it survives moving the file, and a bare value that a v0.2 bundle meant from the root changes meaning under v0.3. Percent-encode spaces. A link asserts an untyped relationship, its kind lives in the surrounding prose. - Extension keys (§4.1): allowed at any level. Name your own
x-<producer>-<name>(that prefix is reserved for extensions), and keep keys you do not know when you edit a file. - Reserved files:
index.md(directory listing, no frontmatter, except the bundle-root index, which carries the bundle metadata of §8.1:okf_version(quoted),title,description(when an agent should pick this bundle),license, and this plugin's extension keys (§4.1):x-okf-skills-upkeep: enforcedto arm the Stop hook, plusx-okf-skills-recursive: true(or a depthn: levels below the root,trueis 6) to make the hook watch nested git repos. The older unprefixedupkeep/recursivestill work but are deprecated, and/okf-skills:validate --migraterenames them) andlog.md(ISO-dated history, newest first, no frontmatter). Never use these names for concepts. - What goes in
log.md(an okf-skills convention): §9 only says a log records the history of changes. This plugin keeps it to lifecycle events, written in the bundle-rootlog.md: a bundle created, a concept deprecated or retired, one concept superseding another, concepts regenerated after their source changed, a verification pass. Routine edits to a concept do not get an entry: itsgeneratedand git already record them. A log is append-only, so never rewrite or drop an existing entry.
The families (all optional, all worth filling)
- Trust (§5.2):
generated: { by, at }— who produced the current content and when.verified: [{ by, at }]— who confirmed it since (a bare mapping is one entry, and bothbyandatare required). Writebyin the actor convention (§7):<producer>/<version>for an agent,human:<id>for a person,team:<id>for a group,process:<id>for an automated job. Consumers key trust tiers off thehuman:prefix (ateam:sign-off is only machine-confirmed), so it must be true. A verification counts only when itsatis at or aftergenerated.at(§5.3): when you rewrite content, bumpgenerated.atand leave olderverifiedentries as history. The concept is no longer human-reviewed until a human confirms the new text. - Honesty rules for producers. These protect the one thing trust tiers are
for:
- Never write a
verifiedevent for content you generated. Verification is someone else confirming it. - Never invent or infer a
human:<id>, not from git config and not from the OS user. Usehuman:only when a named person actually wrote or confirmed the content and you were told who. If you are unsure, ask. - Record yourself in
generated.byas<producer>/<version>.
- Never write a
- Timestamps (§5): a date-time with an offset (
"2026-06-30T14:00:00Z") or a date o
Установить okf в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditGrepGlobBashВложенные файлы
FAQ
Что делает скилл okf?
Author, maintain, and consume Open Knowledge Format (OKF) knowledge bundles — portable markdown + YAML frontmatter that both humans and agents read. Use when capturing knowledge into an OKF bundle, whether software assets (services, APIs, schemas, runbooks, decisions) or data and business knowledge (tables, datasets, metrics, policies, processes, glossaries), when updating one after its source changes, or when a project contains an `.okf/` (or other OKF) bundle that should inform the task. Triggers on: "document this in OKF", "update the knowledge bundle", "capture this as a concept", or any work in a project that has an OKF bundle.
Как установить скилл okf?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл okf запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic