Agent skill

Open Knowledge Format

by magnus919 in magnus919/agent-skills

Define knowledge bundles with Google's Open Knowledge Format (OKF) v0.1.

MITAuto-check passedKnowledge Management

Install Open Knowledge Format

skills CLI
$ npx skills add magnus919/agent-skills --skill open-knowledge-format -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install magnus919/agent-skills open-knowledge-format --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/open-knowledge-format .claude/skills/open-knowledge-format && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
open-knowledge-format
GitHub stars
113
Token cost
~2k tokens
SKILL.md length
704 words
Files
14 (incl. scripts, references, assets)
Skills in repo
115
Repo updated
First seen
Licence
MIT

At a glance

Define knowledge bundles with Google's Open Knowledge Format (OKF) v0.1.

  • Works in 3 steps: Every non-reserved .md file contains… → Every frontmatter block contains a… → Reserved filenames (index.md, log.md)…
  • The user mentions OKF
  • SKILL.md covers Core Concepts, Reference Files, Scripts and Assets, plus 7 more sections
  • Runs Python scripts from its folder; calls python3 and git

What it does

Open Knowledge Format is an agent skill from magnus919/agent-skills. Define knowledge bundles with Google's Open Knowledge Format (OKF) v0.1. Use when the user mentions OKF, Open Knowledge Format, Google's knowledge format, LLM wiki bundles, agent knowledge packs, creating OKF bundles, validating OKF documents, or converting knowledge into the OKF standard. Do not use this skill for unrelated requests; route to the nearest named specialist.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 20 other files, including scripts, reference files and assets (for example `README.md`, `assets/concept-template.md` and `assets/example-bundle/datasets/index.md`). Compatibility notes: Portable across any AgentSkills-compatible harness. The validation script requires Python 3.8+ with PyYAML (pip install PyYAML). All examples use standard…

It sits in Knowledge Management, covering LLM wikis. The repository describes itself as: Curated collection of AI agent skills for Hermes and other agent frameworks. The licence is MIT.

When your agent uses it

  • The user mentions OKF
  • Open Knowledge Format
  • Googles knowledge format
  • LLM wiki bundles

Example prompts

  • “/open-knowledge-format”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Portable across any AgentSkills-compatible harness. The validation script requires Python 3.8+ with PyYAML (pip install PyYAML). All examples use standard markdown — readable in any editor or terminal.

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Every non-reserved .md file contains parseable YAML frontmatter
  2. Every frontmatter block contains a non-empty type field
  3. Reserved filenames (index.md, log.md) follow their defined structure

What it can do on your machine

Read from SKILL.md and the folder at commit 96fbe07. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • cloud.google.com
    • gist.github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Portable across any AgentSkills-compatible harness. The validation script requires Python 3.8+ with PyYAML (pip install PyYAML). All examples use standard markdown — readable in any editor or terminal.

    From compatibility in the SKILL.md frontmatter.

Context cost

Open Knowledge Format loads about 2k tokens when it runs, and up to ~5.7k if it reads all its reference files. Until then it costs about 99 tokens; SKILL.md has 704 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from magnus919/agent-skills at commit 96fbe07, republished under its MIT licence (© magnus919). 704 words, ~2,019 tokens.

Download SKILL.mdSave it as .claude/skills/open-knowledge-format/SKILL.md (or your agent's skills folder). This skill also uses 13 other files; get the full folder from GitHub.
name
open-knowledge-format
description
Define knowledge bundles with Google's Open Knowledge Format (OKF) v0.1. Use when the user mentions OKF, Open Knowledge Format, Google's knowledge format, LLM wiki bundles, agent knowledge packs, creating OKF bundles, validating OKF documents, or converting knowledge into the OKF standard. Do not use this skill for unrelated requests; route to the nearest named specialist.
compatibility
Portable across any AgentSkills-compatible harness. The validation script requires Python 3.8+ with PyYAML (pip install PyYAML). All examples use standard markdown — readable in any editor or terminal.
license
MIT
metadata.spec-version
1.0
metadata.skills
okf, open-knowledge-format, knowledge-format, agent-knowledge, llm-wiki
metadata.tags
okf, knowledge-format, google, ai-agents, markdown, knowledge-management

Open Knowledge Format (OKF) — v0.1

Google Cloud published the Open Knowledge Format v0.1 on June 12, 2026 — an open specification that formalizes the LLM-wiki pattern into a portable, vendor-neutral format for AI agent knowledge.

The design is intentionally minimal: a directory of markdown files with YAML frontmatter. No schema registry, no central authority, no required tooling.

"If you can cat a file, you can read OKF; if you can git clone a repo, you can ship it."

Core Concepts

ConceptDefinition
Knowledge BundleA self-contained directory tree of markdown files. The unit of distribution.
ConceptA single unit of knowledge — one markdown file. May describe a table, a metric, a playbook, an API, or any idea.
Concept IDThe file path with .md stripped (e.g. tables/users.md has ID tables/users).
FrontmatterYAML block at the top of each file with structured metadata.
BodyStandard markdown content after the frontmatter.
LinkA markdown link from one concept to another — expresses relationships.

Reference Files

ReferenceLoad whenFile
Spec summaryYou need the full OKF v0.1 specification, conformance criteria, and field definitionsreferences/spec-summary.md
Bundle architectureYou're creating or structuring an OKF bundle — directory layout, index files, cross-linking conventionsreferences/bundle-architecture.md
Use casesYou need real-world examples, third-party implementations, and adoption patternsreferences/use-cases.md

Scripts

ScriptPurposeLoad when
okf-bundle-validate.pyValidate an OKF bundle directory — checks frontmatter, required fields, reserved filenames, and cross-link integrityYou've created or modified an OKF bundle and want to verify conformance

Assets

AssetPurposePath
Concept templateA template markdown file with all recommended frontmatter fields and body sectionsassets/concept-template.md
Example bundleA minimal but complete OKF bundle showing directory structure, index files, and cross-linked conceptsassets/example-bundle/

Bundle Structure

path/to/bundle/
├── index.md                      # Optional. Directory listing for progressive disclosure.
├── log.md                        # Optional. Chronological update history.
├── <concept>.md                  # A concept at the bundle root.
└── <subdirectory>/               # Subdirectories organize concepts into groups.
    ├── index.md
    ├── <concept>.md
    └── <subdirectory>/
        └── …

Files named index.md and log.md are reserved — they have defined semantics and must not be used for concept documents.

Frontmatter Fields

yaml
---
type: <Type name>                  # REQUIRED
title: <Optional display name>
description: <Optional one-line summary>
resource: <Optional canonical URI for the underlying asset>
tags: [<tag>, <tag>, …]            # Optional
timestamp: <ISO 8601 datetime>     # Optional last-modified time
# … other producer-defined key/value pairs
---

Required: type — a short string identifying the kind of concept. Types are NOT registered centrally. Producers pick descriptive values; consumers tolerate unknown types gracefully.

Conventional body sections:

HeadingPurpose
# SchemaStructured description of an asset's columns/fields
# ExamplesConcrete usage examples, often as code blocks
# CitationsExternal sources backing claims in the body

Cross-linking

Concepts link to each other via standard markdown links:

  • Absolute (bundle-relative): Begin with /, relative to bundle root. Recommended — stable when documents move.
  • Relative: Standard markdown relative paths.

A link from concept A to concept B asserts a relationship. The specific kind (references, depends-on, joins-with) is conveyed by the surrounding prose, not by the link syntax.

Consumers MUST tolerate broken links — a link whose target doesn't exist is not malformed; it may represent not-yet-written knowledge.

Show full SKILL.md (278 more words)Show less

Conformance

A bundle is conformant with OKF v0.1 if:

  1. Every non-reserved .md file contains parseable YAML frontmatter
  2. Every frontmatter block contains a non-empty type field
  3. Reserved filenames (index.md, log.md) follow their defined structure

Consumers MUST NOT reject a bundle for: missing optional frontmatter fields, unknown type values, unknown frontmatter keys, broken cross-links, or missing index.md files.

Relationship to Other Formats

FormatHow OKF Differs
Karpathy's LLM WikiOKF specifies the interoperability surface — required fields, reserved filenames, conformance criteria
Obsidian / Notion vaultsOKF is format-only — no tooling, no runtime, no UI. Any editor works
AGENTS.md / CLAUDE.mdOKF is multi-file, hierarchical, cross-linked — not a single convention file
Metadata-as-code reposOKF standardizes the file format so different producers and consumers interoperate
Domain schemas (Avro, Protobuf, OpenAPI)OKF references them — it does not subsume or replace them

Quick Start

bash
# 1. Create a bundle directory
mkdir my-knowledge && cd my-knowledge

# 2. Create a concept file
cat > datasets/sales.md << 'EOF'
---
type: BigQuery Dataset
title: Sales
description: All sales-related tables for the retail business.
tags: [sales]
timestamp: 2026-06-18T00:00:00Z
---
The sales dataset contains [orders](/tables/orders.md) and [customers](/tables/customers.md).
EOF

# 3. Add an index for navigation
cat > index.md << 'EOF'
# Knowledge Bundle

* Sales Dataset (`datasets/sales.md`) - Retail sales data in an example OKF bundle
EOF

# 4. Validate your bundle
python3 scripts/okf-bundle-validate.py .

Gotchas

  • Type values are not registered centrally. Pick descriptive types (BigQuery Table, Playbook, Metric). Consumers should handle unknown types gracefully.
  • File path is the identity. Renaming a file changes its concept ID. Use stable paths or add redirects in documentation.
  • index.md uses no frontmatter (except optionally at the bundle root for okf_version). The body is a markdown list with links.
  • log.md date headings must be ISO 8601 (YYYY-MM-DD).
  • Cross-links are untyped. The relationship semantics live in the prose, not in the link syntax. Graph builders treat all links as directed edges.
  • OKF does not specify a tag-browsing format. Producers that want tag aggregation should synthesize it at consumption time by scanning frontmatter.
  • OKF v0.1 is a draft. The spec will evolve. Minor bumps add backward-compatible features; major bumps may break required fields. Consumers should do best-effort consumption on unknown versions.

© magnus919, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 13 other files (scripts, references, assets) in open-knowledge-format of magnus919/agent-skills.

  • SKILL.md
  • README.md
  • assets/concept-template.md
  • assets/example-bundle/datasets/index.md
  • assets/example-bundle/datasets/sales.md
  • assets/example-bundle/index.md
  • assets/example-bundle/tables/customers.md
  • assets/example-bundle/tables/index.md
  • assets/example-bundle/tables/orders.md
  • evals/evals.json
  • references/bundle-architecture.md
  • references/spec-summary.md
  • references/use-cases.md
  • scripts/okf-bundle-validate.py

Open the folder on GitHubat commit 96fbe07

Compare with similar skills

Open Knowledge Format next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Open Knowledge Format compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Open Knowledge Format this skillmagnus919/agent-skills113—~2kAutomated safety check: PassMIT
Karpathy LLM WikiAstro-Han/karpathy-llm-wiki2.4k—~3.6kAutomated safety check: PassMIT
LLM Wiki Knowledge GraphEgonex-AI/Understand-Anything86k1 repos~1.5kAutomated safety check: PassMIT
Hermes History IngestAr9av/obsidian-wiki3.5k1 repos~2.2kAutomated safety check: NotesMIT
LLM Wikilewislulu/llm-wiki-skill655—~3.7kAutomated safety check: PassNone
Wiki Builderrohitg00/pro-workflow2.9k—~1kAutomated safety check: PassNone

Similar skills

  • Karpathy LLM Wiki

    Astro-Han/karpathy-llm-wiki

    A skill your agent uses when building or maintaining a personal LLM-powered knowledge base.

    2.4k GitHub stars~3.6k tokensUpdated 2 mo ago
    Knowledge ManagementAuto-check passed
  • LLM Wiki Knowledge Graph

    Egonex-AI/Understand-Anything

    Detects a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit relationships and topic clusters.

    86k GitHub starsUsed in 1 repo~1.5k tokens
    Knowledge ManagementAuto-check passed
  • Hermes History Ingest

    Ar9av/obsidian-wiki

    Ingest Hermes agent history into Obsidian as distilled knowledge.

    3.5k GitHub starsUsed in 1 repo~2.2k tokens
    Knowledge ManagementAuto-check: notes
  • LLM Wiki

    lewislulu/llm-wiki-skill

    Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…

    655 GitHub stars~3.7k tokensUpdated 5 mo ago
    Knowledge ManagementAuto-check passed
  • Wiki Builder

    rohitg00/pro-workflow

    Start, structure, and grow a persistent research wiki indexed in pro-workflow's SQLite knowledge base.

    2.9k GitHub stars~1k tokensUpdated 9 days ago
    Knowledge ManagementAuto-check passed
  • Wiki Query

    rohitg00/pro-workflow

    Query pro-workflow wikis via SQLite FTS5 BM25 retrieval. An agent skill from rohitg00/pro-workflow.

    2.9k GitHub starsUsed in 1 repo~554 tokens
    Knowledge ManagementAuto-check passed

More from magnus919/agent-skills

All 115 skills in this repo
  • Artifact Pyramids

    magnus919/agent-skills

    Organize durable agent research outputs as summaries, analysis, and evidence dossiers.

    113 GitHub stars~2.7k tokensUpdated 2 days ago
    Auto-check passed
  • Ascii City Engine

    magnus919/agent-skills

    Build portable, first-person colored ASCII city engines and small GIS-derived city packs.

    113 GitHub stars~1.1k tokensUpdated 2 days ago
    Auto-check passed
  • Color Management

    magnus919/agent-skills

    Manage color workflows with ICC profiles, working spaces, gamut mapping, and color science.

    113 GitHub stars~2.6k tokensUpdated 2 days ago
    Auto-check: notes
  • Data Scientist

    magnus919/agent-skills

    A skill your agent uses for PhD-level expertise in data science, statistics, and machine learning: rigorous statistical analysis, experimental design, causal inference, advanced modeling, research…

    113 GitHub stars~4.1k tokensUpdated 2 days ago
    Auto-check passed
  • Docker Compose

    magnus919/agent-skills

    Use Docker Compose to define, run, debug, and harden multi-container applications.

    113 GitHub stars~2k tokensUpdated 2 days ago
    Auto-check: notes
  • Fpga Development

    magnus919/agent-skills

    Design, review, simulate, and verify FPGA logic using explicit RTL contracts, clock and reset models, CDC analysis, timing constraints, and reproducible implementation evidence.

    113 GitHub stars~2.7k tokensUpdated 2 days ago
    Auto-check passed

Questions about Open Knowledge Format

What does Open Knowledge Format do?

Define knowledge bundles with Google's Open Knowledge Format (OKF) v0.1. Open Knowledge Format is an agent skill from magnus919/agent-skills.1.

When should I use Open Knowledge Format?

Open Knowledge Format fits situations like: the user mentions OKF; open Knowledge Format; googles knowledge format; LLM wiki bundles.

How do I install Open Knowledge Format in Claude Code?

Run `npx skills add magnus919/agent-skills --skill open-knowledge-format -a claude-code`. Or copy the skill folder (open-knowledge-format in magnus919/agent-skills) into .claude/skills/open-knowledge-format in your project. Claude Code loads it when a task matches its description.

How do I install Open Knowledge Format in Codex?

Run `npx skills add magnus919/agent-skills --skill open-knowledge-format -a codex`. Or copy the skill folder (open-knowledge-format in magnus919/agent-skills) into .agents/skills/open-knowledge-format in your project. Codex loads it when a task matches its description.

Can I use Open Knowledge Format in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add magnus919/agent-skills --skill open-knowledge-format -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/open-knowledge-format, .gemini/skills/open-knowledge-format, .github/skills/open-knowledge-format and .opencode/skills/open-knowledge-format in your project.

What does Open Knowledge Format need to run?

Going by SKILL.md and its folder, Open Knowledge Format needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and git). Our summary lists: Python 3. Compatibility (from SKILL.md): Portable across any AgentSkills-compatible harness. The validation script requires Python 3.8+ with PyYAML (pip install PyYAML). All examples use standard markdown — readable in any editor or terminal..

Does Open Knowledge Format access the network?

SKILL.md names 2 domains. As links in the text: cloud.google.com and gist.github.com. This is read from the text; nothing was executed.

Is Open Knowledge Format safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Open Knowledge Format use?

Open Knowledge Format is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Open Knowledge Format use?

About 2k tokens (SKILL.md is roughly 8.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.7k tokens, read only when the agent opens those files.

What are the alternatives to Open Knowledge Format?

Skills that share tags, products or a category with Open Knowledge Format: Karpathy LLM Wiki (Astro-Han/karpathy-llm-wiki, 2.4k stars), LLM Wiki Knowledge Graph (Egonex-AI/Understand-Anything, 86k stars), Hermes History Ingest (Ar9av/obsidian-wiki, 3.5k stars) and LLM Wiki (lewislulu/llm-wiki-skill, 655 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Open Knowledge Format?

magnus919 (a GitHub user) maintains it in magnus919/agent-skills, which has 113 GitHub stars. The repository holds 115 skills in this directory. The repository was last updated on October 6, 2026.

Source: magnus919/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.