Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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: type is required. Add title, description, tags when they aid consumption; add resource (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-bundle resource or sources[].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: enforced to arm the Stop hook, plus x-okf-skills-recursive: true (or a depth n: levels below the root, true is 6) to make the hook watch nested git repos. The older unprefixed upkeep / recursive still work but are deprecated, and /okf-skills:validate --migrate renames them) and log.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-root log.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: its generated and 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 both by and at are required). Write by in 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 the human: prefix (a team: sign-off is only machine-confirmed), so it must be true. A verification counts only when its at is at or after generated.at (§5.3): when you rewrite content, bump generated.at and leave older verified entries 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 verified event 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. Use human: 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.by as <producer>/<version>.
  • Timestamps (§5): a date-time with an offset ("2026-06-30T14:00:00Z") or a date o
Полный SKILL.md на GitHub

Установить okf в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Grep
Glob
Bash

Вложенные файлы

agents/openai.yamlreference/APACHE-2.0.txtreference/SPEC.mdscripts/okf_init.pytemplates/concept.mdtemplates/index.mdtemplates/log.md

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить okf с