Logo von Okf

Okf

Organisation
ekar-is
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.

Übersicht

Herausgeberekar-is
Repositoryokf-skills
Skill-Nameokf
Sterne
461
Forks
44
Mitgelieferte Dateien
7
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 7

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von ekar-is auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Okf in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/ekar-is/okf-skills/tree/main/skills/okf
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ekar-is/okf-skills.git /tmp/okf-skills
mkdir -p .claude/skills
cp -r /tmp/okf-skills/skills/okf .claude/skills/okf
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Okf in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Okf automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Okf nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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 only ("2026-06-30", start of that day UTC). Quote them. A date-time without an offset is invalid. Use the date-time form for generated.at and verified[].at.
  • Lifecycle (§5.4–5.5): status: draft|stable|deprecated (absent means stable, any other value means not current), superseded_by: /path/to/new.md on a deprecated concept that has a replacement, and stale_after, an absolute instant, not a TTL. Stale means "check again", not "false". Omit stale_after when no review date is known. To move or rename a concept, leave a short deprecated concept at the old path with superseded_by set to the new one, so old links keep working.
  • Provenance (§5.1): sources: [{ id, resource, title, author, usage_count, last_modified }] plus a usage_window: { from, to } sibling of sources framing every usage_count (an entry may carry its own to override it); a usage_count without a window warns. resource is required per entry and may be a URL, a bundle path, or a scope descriptor. Attribute a specific claim with a markdown footnote whose label is the source's id: …sharded daily.[^ga4-schema] plus a [^ga4-schema]: … definition. The label is the join key, it must match a sources[].id.
  • Attestation (§10): a sanctioned computation is its own concept, type: Attested Computation, carrying runtime (required), parameters, executor, attester, and the computation itself under # Computation (or a computation: path). Concepts that need the value link to it. Never inline a number's SQL into the concept that narrates it.

Reading an older bundle? v0.1 superseded two constructs (Appendix B): timestamp is now generated.at, and a body # Citations list is now sources. A v0.2 bundle (or one declaring no version) may hold bare path fields written from the bundle root: if one does not resolve from its file's directory, try the root (§12.1). Read all of these, write v0.3, and when you touch a legacy concept in maintain mode, fix it as part of the edit. The validator warns on each, and --migrate rewrites a whole bundle.

Templates to copy: concept, index, log.

Default bundle location

By okf-skills convention (not spec), use .okf/ at the repository root unless the project already uses another location. Commit it alongside the code it describes — knowledge as code.

Modes

produce — create or extend a bundle

Starting a brand-new bundle? Use the init fast-path instead of hand-writing the first files — it scaffolds a conformant index.md, log.md, and a getting-started.md concept with full recommended frontmatter in one shot:

bash
uv run "${CLAUDE_SKILL_DIR}/scripts/okf_init.py" <target-dir> [--title "..."]

It refuses to touch a directory that already has .md files unless --force is given. Then extend it:

  1. Read reference/SPEC.md.
  2. Pick the source(s): code (derive concepts from source, READMEs, docstrings, config), data catalogs and warehouses (tables, datasets, metric definitions), docs/wiki (distill pages, policies and process descriptions into concepts, record the originals in sources), manual (decisions, playbooks, glossary terms).
  3. Choose a directory layout by domain (e.g. services/, datasets/, decisions/). One concept per file.
  4. Write each concept from templates/concept.md: set a descriptive type, fill recommended fields, record generated with your own actor and the sources you actually read, cross-link related concepts. Do not add verified (see the honesty rules above).
  5. Add/refresh index.md per directory (and okf_version: "0.3", title, description in the root index frontmatter, which you keep intact when you regenerate the listing). A new bundle gets a dated Creation entry in log.md. Extending an existing one does not.
  6. Validate (see below). Fix every error before finishing.

maintain — keep a bundle in sync with reality

  1. Identify which concepts the change affects (search by resource, path, or topic). This bookkeeping is exactly what agents are good at — touch every affected file in one pass.
  2. Update the body and generated.at (with your own actor in generated.by, never a verified event for your own edit); fix or add cross-links; create new concepts for new assets; mark removed assets status: deprecated (with superseded_by when something replaces them) and note the deprecation in log.md rather than silently deleting context. Facing a whole v0.1 or v0.2 bundle rather than a stray field? Do not hand-edit it, run the validator's --migrate once.
  3. Update the relevant index.md files. Append a dated log.md entry only if the change is a lifecycle event (see What goes in log.md).
  4. Validate.

consume — use a bundle as context

  1. Read the bundle-root index.md first for progressive disclosure (its description says when the bundle applies), then follow links only into the concepts relevant to the task.
  2. Weigh what you read: status: draft/deprecated or an unknown status, a stale_after already past or unparseable, or no current verified event (one at or after generated.at) all mean "check before relying on this". A deprecated concept with superseded_by: follow it and use the replacement. Treat broken links as not-yet-written knowledge, not errors.
  3. Need a number an Attested Computation covers? Run its computation with values bound to the declared parameters — never write your own query.
  4. If you learn something durable while working, switch to maintain and write it back.

Validation (do this before declaring done)

Never eyeball conformance — run the deterministic checker. Invoke the companion validate skill (/okf-skills:validate <bundle-dir> --strict), which ships the checker. If that skill is not installed, run it directly:

bash
uv run "${CLAUDE_SKILL_DIR}/../validate/scripts/okf_validate.py" <bundle-dir> --strict

Resolve every ERROR (hard §11.1 failures). Under --strict warnings also fail the run (exit 1), so clear them too; drop --strict (or use --max-warnings N) if you only want §11 conformance gated. A concept with only type passes --strict. Add --lint if the project wants the okf-skills house style too (warnings for a missing title, description, tags or generated): it is optional and not spec.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill 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 an...

Warum Okf in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Okf besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Okf in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/ekar-is/okf-skills/tree/main/skills/okf ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Okf nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Okf verwenden?

So viele Sie möchten. In TypingMind können Sie Okf mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Okf kostenlos?

Ja. Der Skill wird von ekar-is auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇