scaccogatto/okf-skills

The OKF toolkit for Claude Code — author, maintain, validate & visualize Open Knowledge Format bundles. Plugin, agent skills, and a GitHub Action.

What it solves

This project provides a toolchain for the Open Knowledge Format (OKF), a vendor-neutral way to store system knowledge as a directory of Markdown files with YAML frontmatter. It allows both humans and AI agents to maintain a portable, version-controlled knowledge base that includes metadata for trust, provenance, and staleness, preventing agents from relying on outdated or unverified information.

How it works

The toolkit implements the OKF v0.2 specification. It provides tools to produce, validate, and visualize knowledge bundles. It uses a deterministic conformance checker to ensure bundles adhere to the spec. For existing projects, it can "backfill" a knowledge bundle by analyzing git history and session transcripts using a map-reduce process with specialized sub-agents.

Who it’s for

Developers and teams using AI coding agents (like Claude Code, Cursor, or Codex) who want a structured, machine-readable way to document their systems that agents can actually use and maintain.

Highlights

  • Multi-channel distribution: Available as a Claude Code plugin, agent skills via skills.sh, a GitHub Action for CI validation, and a read-only MCP server.
  • Deterministic Validation: Includes a standalone conformance checker that can migrate v0.1 bundles to v0.2.
  • Knowledge Backfilling: Automatically reconstructs knowledge bundles from repository history using an event-analyzer and bundle-weaver agent architecture.
  • Interactive Visualization: Generates a self-contained HTML graph of the knowledge bundle, computing trust tiers and staleness at render time.
  • Enforced Upkeep: An optional "Stop hook" that prevents an agent from finishing a task if tracked files changed but the corresponding OKF documentation was not updated.

Related

  • Project
  • Project
  • Project
  • Project
  • Project