OKF (Open Knowledge Format) is portable knowledge: Markdown files with YAML frontmatter that both humans and agents read from one source. This gem is the Ruby-native way to work with it. Its companion agent skill authors and curates a bundle. The `okf` command-line tool validates the result for v0.1 (§9) conformance, lints its curation quality, and answers questions about it: ranked full-text search, and a progressive-disclosure map that reads a large bundle a directory at a time rather than loading it whole. `okf server` opens it as an interactive knowledge graph and `okf render` bakes that same page into one self-contained HTML file you can host anywhere. A per-user registry names your bundles, so every verb reaches them by @slug from any directory and one search can span them all. Everything the CLI does also runs in-process through a library API (OKF::Bundle and friends), and the graph server is a mountable Rack app. It adds no service to your stack: rack, webrick and minifts are the only runtime dependencies, and it runs on every Ruby since 2.4.
Required Ruby Version
>= 2.4.0
Authors
Rodrigo Serradura
Versions
- 1.12.0 July 24, 2026 (287 KB)
- 1.11.0 July 22, 2026 (264 KB)
- 1.10.0 July 21, 2026 (246 KB)
- 1.9.0 July 19, 2026 (184 KB)
- 1.8.0 July 17, 2026 (158 KB)