open-knowledge-format
Skill1 starsChanged 6 months agoMITView on GitHub
Use when creating, inspecting, validating, converting, or maintaining Open Knowledge Format (OKF) knowledge bundles made of Markdown files with YAML frontmatter, index files, logs, citations, and cross-links for human and AI-agent consumption.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- mindroom-ai/mindroomtheir own version, first seen Oct 6, 2026
- magnus919/agent-skillstheir own version, first seen Jul 21, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- mindroom-ai/mindroom★ 319same name
- magnus919/agent-skills★ 109same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
44 rules. About 0 are common, 31 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈31
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill to create, inspect, validate, convert, and maintain knowledge bases that follow the Open Knowledge Format, abbreviated as …
- Distinctive: line 16
Use this skill when the user asks to:
- Distinctive: line 18
Create an OKF bundle from project docs, schemas, APIs, metrics, runbooks, wiki pages, or notes.
- Distinctive: line 24
Add citations, cross-links, examples, tags, or schema sections to OKF documents.
- Distinctive: line 27
Do not use this skill for ordinary Markdown writing unless the user explicitly wants OKF-compatible knowledge files or bundle design.
- Distinctive: line 31
Use the OKF v0.1 rules below as the working baseline.
- Distinctive: line 33
Prefer local package files for reusable content:
- Very specific: line 56
Every non-reserved .md concept file must begin with parseable YAML frontmatter.
- Very specific: line 87
Do not generate okf_version in subdirectory indexes such as concepts/index.md, references/index.md, or insights/index.md.
- Distinctive: line 111
Use standard Markdown links to connect concepts.
- Distinctive: line 113
Prefer bundle-relative links for cross-directory references because they are stable when documents move:
- Distinctive: line 125
When generating or editing a bundle, verify internal Markdown links against the actual file tree.
- Very specific: line 139
When a concept makes factual claims based on external or source material, add a # Citations section at the bottom.
- Distinctive: line 150
Create one Markdown file per concept.
- Very specific: line 151
Add YAML frontmatter with at least type.
- Distinctive: line 152
Add concise body sections such as Overview, Details, Schema, Examples, Relationships, and Citations when useful.
- Distinctive: line 153
Add links between related concepts.
- Very specific: line 155
Ensure only the bundle-root index.md has optional okf_version frontmatter.
- Very specific: line 165
Add title, description, tags, and resource where available.
- Distinctive: line 166
Add cross-links rather than duplicating repeated explanations.
- Distinctive: line 168
Verify generated links against the final file tree.
- Distinctive: line 175
All Markdown files are UTF-8.
- Distinctive: line 177
Every concept file starts with parseable YAML frontmatter.
- Very specific: line 178
Every concept frontmatter has a non-empty type.
- Distinctive: line 207
Read direct child concept files and subdirectories.
- Distinctive: line 210
Use relative links within the same directory and bundle-relative links for cross-directory references.
- Very specific: line 212
Do not add frontmatter to non-root index.md files.
- Very specific: line 213
Do not use index.md as a concept article or long-form content page.
- Distinctive: line 219
Put newest entries first.
- Very specific: line 220
Use ISO date headings, for example ## 2026-06-16.
- Distinctive: line 226
Keep one concept per file.
- Distinctive: line 227
Keep concept bodies concise and structured.
- Distinctive: line 228
Use clear Markdown headings, tables, and lists.
- Distinctive: line 231
Do not invent a mandatory type registry.
- Distinctive: line 232
Do not replace domain-specific formats such as OpenAPI, SQL DDL, Protobuf, or Avro.
- Distinctive: line 233
Do not embed secrets, credentials, private tokens, or sensitive internal URLs.
- Distinctive: line 234
Use citations for source-backed claims.
- Distinctive: line 235
Prefer links over duplicated content.
- Distinctive: line 236
Prefer bundle-relative links for cross-directory concept references.
- Very specific: line 237
Treat index.md as navigation and log.md as traceability.
- Very specific: line 238
Never add YAML frontmatter to non-root index.md files.
- Distinctive: line 261
When reading an OKF bundle, treat unknown types as generic concepts.
- Distinctive: line 265
Before finalizing OKF output, verify:
- Very specific: line 270
Only the bundle-root index.md has optional okf_version frontmatter.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Open Knowledge Format Skill
Purpose
Use this skill to create, inspect, validate, convert, and maintain knowledge bases that follow the Open Knowledge Format, abbreviated as OKF.
OKF represents knowledge as a directory of Markdown files with YAML frontmatter, normal Markdown links, optional directory indexes, optional update logs, and citations. Keep outputs useful for both humans and agents.
When to use
Use this skill when the user asks to:
- Create an OKF bundle from project docs, schemas, APIs, metrics, runbooks, wiki pages, or notes.
- Convert existing material into OKF concept files.
- Validate whether a directory follows OKF v0.1.
- Generate OKF concept documents.
- Generate or update
index.mdfiles. - Generate or update
log.mdfiles. - Add citations, cross-links, examples, tags, or schema sections to OKF documents.
- Design an agent-readable knowledge catalog for software, data, product, or enterprise knowledge.
Do not use this skill for ordinary Markdown writing unless the user explicitly wants OKF-compatible knowledge files or bundle design.
Source of truth
Use the OKF v0.1 rules below as the working baseline. When exact format details matter, consult the upstream OKF references linked from README.md.
Prefer local package files for reusable content:
templates/concept.mdfor the full concept document template.examples/software-project-okf/for a minimal OKF bundle example.
OKF v0.1 essentials
Bundle
An OKF bundle is a self-contained directory tree of Markdown files. It can live in a Git repository, a subdirectory, a zip/tar archive, or a static filesystem location.
Concept document
A concept is one unit of knowledge represented by one Markdown file.
The concept ID is the file path inside the bundle without the .md suffix.
Example:
tables/orders.md -> tables/ordersEvery non-reserved .md concept file must begin with parseable YAML frontmatter.
Required frontmatter:
type: <Concept Type>Recommended frontmatter:
title: <Human-readable title>
description: <One-sentence summary>
resource: <Optional URI for the underlying asset>
tags: [<tag1>, <tag2>]
timestamp: <ISO 8601 datetime>Unknown frontmatter fields are allowed and should be preserved.
Reserved files
The following filenames are reserved and must not be treated as normal concept documents:
index.md: directory listing for progressive disclosure.log.md: chronological update history.
Hard rule for index.md frontmatter:
- The bundle-root
index.mdmay include YAML frontmatter only to declareokf_version. - Non-root
index.mdfiles must not contain frontmatter. - Do not generate
okf_versionin subdirectory indexes such asconcepts/index.md,references/index.md, orinsights/index.md.
Valid bundle-root index.md version declaration:
---
okf_version: "0.1"
---Valid subdirectory index.md shape:
# Concepts
## Business Concepts
- [Compliance Checking](./compliance_checking.md) - Compliance checking related concept.index.md should primarily provide navigation. Do not place concept body content, long explanations, or source material in index.md; create concept files instead and link to them.
Links
Use standard Markdown links to connect concepts.
Prefer bundle-relative links for cross-directory references because they are stable when documents move:
[Customers](/tables/customers.md)Relative links are also valid for nearby files:
[Neighbor](./neighbor.md)When generating or editing a bundle, verify internal Markdown links against the actual file tree. Broken links are warnings for consumers, but production-quality bundles should fix them before delivery.
Common path mistake to avoid:
<!-- Wrong when target is inside the same concepts subtree -->
[Calculation Validation](../industry/calculation_validation.md)
<!-- Prefer -->
[Calculation Validation](/concepts/industry/calculation_validation.md)Citations
When a concept makes factual claims based on external or source material, add a # Citations section at the bottom.
Citation links may point to external URLs, bundle-relative files, or files under a references/ directory.
Workflows
Create an OKF bundle
- Identify the knowledge domain and intended consumers.
- Propose a compact directory structure.
- Extract candidate concepts.
- Create one Markdown file per concept.
- Add YAML frontmatter with at least
type. - Add concise body sections such as Overview, Details, Schema, Examples, Relationships, and Citations when useful.
- Add links between related concepts; prefer bundle-relative links for cross-directory references.
- Generate directory-level
index.mdfiles when navigation matters. - Ensure only the bundle-root
index.mdhas optionalokf_versionfrontmatter; subdirectory indexes must not have frontmatter. - Generate or update
log.md. - Validate the bundle before reporting completion.
Convert existing material to OKF
- Inventory the provided sources.
- Split large documents into atomic concepts.
- Map each concept to a file path and
type. - Preserve source references in
# Citations. - Add
title,description,tags, andresourcewhere available. - Add cross-links rather than duplicating repeated explanations.
- Generate indexes and logs.
- Verify generated links against the final file tree.
- Report converted files, skipped material, assumptions, and follow-up gaps.
Validate an OKF bundle
Check these items:
- All Markdown files are UTF-8.
- Reserved files are handled as
index.mdorlog.md. - Every concept file starts with parseable YAML frontmatter.
- Every concept frontmatter has a non-empty
type. - Recommended fields are present where useful.
- The bundle-root
index.mdmay haveokf_versionfrontmatter. - Non-root
index.mdfiles do not have frontmatter. index.mdfiles focus on navigation and progressive disclosure.- Markdown links are syntactically valid.
- Internal links resolve against the actual bundle file tree.
- Broken links are warnings for consumption, but should be fixed before delivery when possible.
log.mddate headings useYYYY-MM-DD.- External claims have citations.
Return validation results using this structure:
# OKF Validation Report
## Summary
## Errors
## Warnings
## RecommendationsGenerate index.md
For each directory:
- Read direct child concept files and subdirectories.
- Extract
titleanddescriptionfrom frontmatter where available. - Group entries by type or subdirectory.
- Use relative links within the same directory and bundle-relative links for cross-directory references.
- Keep entries concise.
- Do not add frontmatter to non-root
index.mdfiles. - Do not use
index.mdas a concept article or long-form content page.
Generate log.md
For each relevant directory:
- Put newest entries first.
- Use ISO date headings, for example
## 2026-06-16. - Use short bullets.
- Link to affected concept files.
Output rules
- Keep one concept per file.
- Keep concept bodies concise and structured.
- Use clear Markdown headings, tables, and lists.
- Preserve producer-defined frontmatter fields.
- Tolerate unknown
typevalues. - Do not invent a mandatory type registry.
- Do not replace domain-specific formats such as OpenAPI, SQL DDL, Protobuf, or Avro; link to or cite them instead.
- Do not embed secrets, credentials, private tokens, or sensitive internal URLs.
- Use citations for source-backed claims.
- Prefer links over duplicated content.
- Prefer bundle-relative links for cross-directory concept references.
- Treat
index.mdas navigation andlog.mdas traceability. - Never add YAML frontmatter to non-root
index.mdfiles.
Recommended type names
OKF does not require a central type registry. Use descriptive type names, such as:
Database TableBigQuery TableDatasetMetricAPI EndpointAPI SchemaBusiness ConceptSystemModuleComponentRunbookPlaybookDecisionReferencePolicySOP
When reading an OKF bundle, treat unknown types as generic concepts.
Quality checklist
Before finalizing OKF output, verify:
- The bundle or file paths are clear.
- Concept files have required frontmatter.
- Reserved files are not accidentally treated as concepts.
- Only the bundle-root
index.mdhas optionalokf_versionfrontmatter. - Subdirectory
index.mdfiles have no frontmatter. index.mdfiles are navigational and not concept bodies.- Internal links resolve correctly.
- Links are useful and not excessive.
- Citations are present for factual source material.
- The result can be read by humans and selectively loaded by agents.
- Long examples or templates are placed in
templates/orexamples/, not duplicated inside this skill file.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

