OKF CLI
Search, navigate, validate, and refactor Open Knowledge Format markdown catalogues for human workflows and AI agents.
OKF CLI is a high-performance command-line interface and Model Context Protocol (MCP) server designed to manage Open Knowledge Format (OKF) v0.2 catalogues across multi-bundle markdown repositories. Built for seamless agent integration, it enables AI coding assistants and humans to query content using hybrid BM25 and semantic search, safely refactor concepts with automated link-rewriting, and inspect unified diffs before applying modifications. It also provides robust schema and freshness validation to verify provenance, inspect staleness, and ensure knowledge base integrity across workspaces.
Características Principales
01Previewable unified diffs on dry-run before applying any mutating changes to markdown and frontmatter
02Hybrid search combining local SQLite FTS5/BM25 indexing with optional semantic embeddings and structured filtering
03Provenance and freshness validation enforcing OKF v0.2 specifications, trust tiers, and staleness limits
040 GitHub stars
05Link-safe renaming and archiving that rewrites inbound, outbound, and wikilinks across catalogue bundles
06Seamless agent integration with structured JSON envelopes, MCP server registration, and one-call session onboarding
Casos de Uso
01Providing AI coding assistants and agents with structured, fast access to markdown knowledge bases
02Refactoring and reorganizing multi-bundle documentation without breaking internal links or wikilinks
03Auditing and validating markdown frontmatter schemas, cross-references, and content freshness