Logo von Okf Reader

Okf Reader

Community
xSAVIKx
okf-reader

Guidance for AI agents on how to parse, traverse, and query Open Knowledge Format (OKF) bundles efficiently — minimizing token usage and avoiding slow recursive directory walks. Use when reading, navigating, analyzing, or answering questions about an existing OKF bundle. Instructions-only; no binary required.

Übersicht

HerausgeberxSAVIKx
Repositoryokf-skills
Skill-Nameokf-reader
Sterne
38
Forks
2
Mitgelieferte Dateien
1
LizenzApache-2.0
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.

  • 1 mitgelieferte Dateien

    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 xSAVIKx auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Okf Reader 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 — liest 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/xSAVIKx/okf-skills/tree/master/skills/okf-reader
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Ü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 lesen kann, 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/xSAVIKx/okf-skills.git /tmp/okf-skills
mkdir -p .claude/skills
cp -r /tmp/okf-skills/skills/okf-reader .claude/skills/okf-reader
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Okf Reader 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 Reader 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 Reader 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-Keys.

  • 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.

OKF Bundle Reader Guidance Skill

Procedural rules for reading and traversing any OKF bundle efficiently, no matter how its producer organized it. Following them reduces token consumption, speeds execution, and avoids recursive directory walks.

OKF is deliberately flexible: the directory layout, the concept type values, and whether concepts cross-link are all producer-defined. So these rules key off the spec's universal structures — frontmatter type, index.md, markdown links, and resource — and never off any one source's conventions (there is no required tables/ folder, no fixed type vocabulary, no guaranteed cross-links).

When to Use

Load this skill whenever you are tasked with reading, parsing, querying, or analyzing an existing OKF bundle.

Instructions for Agents

1. Index-first discovery (descend nested indexes)

  • Rule: NEVER recursively read or load every markdown file at startup.
  • Protocol:
    1. Read the bundle-root index.md first if present — it is the directory listing.
    2. Follow its links to map the available concepts. The index may be flat (every concept — including container/directory concepts — listed at the root as peers) or hierarchical (subdirectories carry their own index.md or sub-index concept). Descend any nested indexes for progressive disclosure instead of walking the tree.
    3. If there is no index.md, discover concepts cheaply — a shallow listing or a *.md glob — without reading bodies yet.
    4. Sanity-check it is an OKF bundle: concept files have YAML frontmatter with a type; the root index.md may declare okf_version.

2. Route directly to a concept (layout is producer-defined)

  • Rule: Do not assume a fixed directory layout. There is no required tables/ (or any other) folder — producers organize concepts however suits the domain (SQL connectors group under tables/; filesystem/git bundles mirror the source tree; others differ).
  • Protocol:
    • Resolve a concept's location from the index.md links — use each link target verbatim; do not guess, strip, or rewrite paths (filenames and separators are producer-defined).
    • When the layout mirrors a source path, the concept file is usually that path; otherwise trust the index links or the directory tree.
    • Open only the one file you need — don't list or read its siblings.

3. Frontmatter-first parsing

  • Rule: To identify, filter, or catalog concepts, read only the top frontmatter — not the bodies.
  • Protocol:
    • Parse the YAML block between the first two ---.
    • Use type (an arbitrary producer-defined kind — e.g. Table, File, Metric, Playbook, Attested Computation), title, description (the one-line summary — the most useful field for cataloging), and resource (canonical URI of the underlying asset).
    • OKF v0.2 Metadata Families:
      • Generation & Timestamp: Read generated.by (actor) and generated.at (ISO 8601 timestamp). Fall back to legacy timestamp if generated is absent.
      • Trust Tier: Derive trust from verified: human-reviewed if any verified[].by starts with human:, machine-confirmed if verified by processes/agents only, unverified if absent.
      • Freshness & Staleness: Check stale_after (YYYY-MM-DD). A concept is stale when today >= stale_after.
      • Lifecycle Status: Read status (draft | stable | deprecated; default: stable).
      • Provenance: Read sources array (id, resource, title, author, usage_count, last_modified) and usage_window. Resolve inline footnote claim citations ([^source-id]).
      • Attested Computations: Concepts with type: Attested Computation declare runtime, parameters, computation (or # Computation body fence), executor, and attester.
    • The bundle stores knowledge about an asset, not its contents — for filesystem/git bundles the body may be only metadata. To read the asset itself, dereference its resource URI: for file://, drop the scheme and URL-decode to a local path; other schemes (bq://, postgres://, git://, …) identify the asset but need the matching connector or credentials to fetch.

4. Search by name or keyword with grep

  • Rule: To find a field, key, column, or any keyword across the bundle, don't open files one by one.
  • Protocol: Run grep/ripgrep across the bundle directory and open only the files that match. For frontmatter-only filters, grep anchored lines (e.g. ^type:, ^title:, ^status:).

5. Follow links for relationships — when they exist

  • Rule: Relationships are expressed as standard markdown links between concepts; don't infer them. Some bundles are richly cross-linked; others (e.g. filesystem/git) encode structure only as index/tree containment and have no body links — tolerate their absence rather than forcing a graph.
  • Protocol: Scan a concept body for links to other concept files and follow them to build a relationship view. Treat a broken link as not-yet-written knowledge, not an error.

6. Source-side catalog: .okf-metadata.yaml

  • Rule: When pointed at a source directory (not a bundle) that has been ingested, a .okf-metadata.yaml at its root is a flat path: description catalog — read it directly for an instant index, no bundle required.
  • Protocol: Inside a bundle you don't need it — the same descriptions already live in each concept's frontmatter description (Rule 3). Reach for .okf-metadata.yaml only when summarizing the source itself.

7. Navigating Attested Computations (type: Attested Computation)

  • Rule: When answering questions that require calculating a metric or running a formula, check for an Attested Computation link instead of improvising custom queries.
  • Protocol:
    1. Follow links from narrative concepts (Metric, Playbook) to target Attested Computation documents.
    2. Inspect contract frontmatter: runtime (bigquery, postgres, dbt, python), parameters list (name, type, required), executor resource, and attester resource.
    3. Supply required parameter values as declared — do not edit or rewrite the sanctioned query under # Computation (or in computation: <file>).
    4. Pass execution receipts to the attester script to confirm run fidelity and provenance before presenting final values.

8. Trust, Staleness, and Provenance Gating (OKF v0.2)

  • Rule: Weight facts according to their trust tier, recency, and lifecycle status.
  • Protocol:
    • Trust Tier: Classify trust as human-reviewed (highest; verified by human:<id>), machine-confirmed (verified by process: / tools), or unverified (no verified entry). Surface trust status when presenting critical business figures.
    • Staleness: Compare today's date against stale_after (YYYY-MM-DD). If today >= stale_after, flag the fact as stale or suggest re-verification.
    • Lifecycle Status: Respect status (draft | stable | deprecated). Ignore deprecated concepts for active decision-making unless historical context is requested.
    • Per-Claim Attribution: When reading bodies with inline footnotes [^source-id], resolve attribution by joining source-id against sources[].id in frontmatter. Inspect author, usage_count, and last_modified credibility signals to gauge source authority.

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 Reader?

Guidance for AI agents on how to parse, traverse, and query Open Knowledge Format (OKF) bundles efficiently — minimizing token usage and avoiding slow recursive directory walks. Use when reading, navigating, analyzing, or answering questions about an existing OKF bundle. Instructions-only; no binary required.

Warum Okf Reader in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Okf Reader 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 Reader in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/xSAVIKx/okf-skills/tree/master/skills/okf-reader 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 Reader nutzen?

Jedes Modell, das Sie in 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 Reader verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Okf Reader damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Okf Reader kostenlos?

Ja. Der Skill wird von xSAVIKx auf GitHub unter der Lizenz Apache-2.0 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: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. 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 benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

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