Command Palette

Search for a command to run...

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

okf

БесплатноЗапускает вложенные скриптыНе проверен

Create, validate, and consume Google Open Knowledge Format (OKF) v0.1 bundles — YAML-frontmatter Markdown knowledge atoms for portable, interoperable AI-agent…

akillnessот akillness★ 63 звезды на GitHub

Об этом скилле

OKF — Open Knowledge Format

Open Knowledge Format (OKF) is an open specification proposed by the Google Cloud Data team that formalizes the LLM-Wiki pattern into a portable, interoperable format. Knowledge is stored as YAML-frontmatter Markdown files inside a directory (a "bundle"). Any producer can write it, any agent can consume it — no proprietary SDK, no special runtime, no lock-in.

Core idea: Just markdown. Just files. Just YAML frontmatter.

When to use this skill

  • You need to create structured knowledge documents an AI agent can parse — table schemas, API specs, metric definitions, runbooks, deprecation notices
  • You want a portable knowledge bundle that survives tool changes (no vendor catalog dependency)
  • You're building a multi-agent context layer where different systems need the same organizational knowledge (join paths, business KPIs, incident guides)
  • You want to cross-link knowledge atoms into a richer relationship graph than a parent/child hierarchy allows
  • You need to publish or distribute knowledge as a tarball, git repo, or filesystem mount
  • You want to formally align your LLM-wiki output with the OKF v0.1 standard

When NOT to use this skill

  • Raw web-source capture and vault-level wiki maintenance → llm-wiki
  • Obsidian vault automation (plugin dev, CLI, URI handoff) → obsidian
  • Durable committed knowledge graphs from code/docs → graphify
  • Web scraping to feed knowledge documents → scrapling
  • Operating the separate okf-memory/okf-agent-memory Go CLI/MCP or bootstrapping its OKF v0.2 project-memory layout → okf-agent-memory

OKF Structure

The bundle directory

knowledge-bundle/
├── tables/
│   ├── orders.md
│   └── customers.md
├── metrics/
│   └── wau.md
├── runbooks/
│   └── outage-response.md
└── concepts/
    └── revenue-calculation.md

Each file is a knowledge atom — one YAML-frontmatter Markdown document. The directory itself is the distributable unit (tarball / git / filesystem mount).

Frontmatter schema (OKF v0.1)

---
type: <string>          # (required) kind of atom: "BigQuery Table", "API Endpoint",
                        #   "Concept", "Runbook", "Metric Definition", "Data Source", …
title: <string>         # (required) human-readable name
description: <string>   # (required) one-sentence summary the agent can quote verbatim
resource: <url>         # (optional) URL to the described resource
tags: [<tag>, …]        # (optional) list for filtering / discovery
timestamp: <ISO 8601>   # (optional) last-updated datetime, e.g. 2026-06-21T10:00:00Z
---

Only type, title, and description are strictly required. Add resource whenever the atom is bound to a live system or URL. timestamp enables freshness checks for consuming agents.

Markdown body sections

Section Purpose
# Overview Free-form context — motivation, ownership, caveats
# Schema Structural description of columns / fields / parameters (table format recommended)
# Examples Concrete usage examples, primarily code blocks
# Joins / # Relations Cross-links to related atoms
# Citations External sources backing the document's claims

Sections are optional; include only those relevant to the atom type.

Instructions

Step 1 — Bootstrap a bundle

# Create the bundle root
mkdir my-knowledge-bundle && cd my-knowledge-bundle

# Scaffold a directory layout
mkdir -p tables metrics runbooks concepts api

For an existing project, place the bundle alongside code or in its own repo:

my-project/
├── src/
├── docs/
└── knowledge/          ← OKF bundle lives here
    ├── tables/
    └── metrics/

Step 2 — Author a knowledge atom

Table atom example

---
type: BigQuery Table
title: Customer Orders
description: One row per completed customer order across all channels.
resource: https://console.cloud.google.com/bigquery?p=acme&d=sales&t=orders
tags: [sales, orders, revenue]
timestamp: 2026-06-21T10:00:00Z
---

# Overview

Primary fact table for order analytics. Owned by the Data Engineering team.
Refreshed hourly from the Kafka `orders` topic.

# Schema

| Column        | Type      | Description                                          |
|---------------|-----------|------------------------------------------------------|
| `order_id`    | STRING    | Globally unique order identifier.                    |
| `customer_id` | STRING    | Foreign key into [customers](/tables/customers.md).  |
| `total_usd`   | NUMERIC   | Order total in US dollars after discounts.           |
| `placed_at`   | TIMESTAMP | When the customer submitted the order (UTC).         |
| `channel`     | STRING    | `web` \| `mobile` \| `api` \| `partner`.             |

# Joins

- Join to [customers](/tables/customers.md) on `customer_id` for user attributes.
- Join to [products
Полный SKILL.md на GitHub

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

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

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

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

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

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

Read
Write
Edit
Bash
Grep
Glob
WebFetch

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

SKILL.toonevals/README.mdevals/evals.jsonreferences/usage.mdscripts/install.sh

FAQ

Что делает скилл okf?

Create, validate, and consume Google Open Knowledge Format (OKF) v0.1 bundles — YAML-frontmatter Markdown knowledge atoms for portable, interoperable AI-agent sharing. Routes: use `okf-agent-memory` for the separate OKF v0.2 Go CLI/MCP project-memory runtime, `llm-wiki` for raw source capture and vault maintenance, `obsidian` for vault automation, `graphify` for durable committed graphs, and `scrapling` for web-content extraction. Triggers on: Google OKF v0.1, open knowledge format, knowledge bundle, OKF document, LLM wiki standard, knowledge atom, agent context format, OKF frontmatter, OKF bundle, knowledge interoperability.

Как установить скилл okf?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл okf запускает скрипты?

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

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

Сравнить okf с