vsov

Okfy — AI skill for Claude Code

AI community

Knowledge engineering for AI agents: distill corpora too big for any context window into small, verified, git-native knowledge bundles.

How to install Okfy

This entry records only its repository, not the path inside it, so there is no exact command to give. Open vsov/okfy and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Okfy does

Knowledge engineering for AI agents: distill corpora too big for any context window into small, verified, git-native knowledge bundles.

Alternatives in AI

  • Paritok 4b V1 — Non-destructive compression gateway for AI coding agents 1.4k ★
  • Late CLI — High-performance AI agent for long-horizon tasks and local models 442 ★
  • Compound Knowledge Plugin — AI-powered workflows for knowledge work: brainstorm, plan, review, execute, and save learnings 186 ★

README

OKFy

Tooling that eases context assembly for models. When a full knowledge base is too large for any context window — or actively harmful, diluting the model's attention with task-irrelevant material — OKFy extracts knowledge from corpora (codebases, docs, research collections) into purpose-shaped **OKF Bundles** and gives models precise access to just the slice a task needs. An OKF Bundle is a self-contained directory of Markdown concepts with YAML frontmatter, shaped by a declared **Purpose** and consumable by any agent — even one without OKFy installed: raw file traversal works, the CLI makes it fast, MCP makes it a tool surface.

The pipeline is split by responsibility. Everything deterministic — validation, indexing, BM25 retrieval, lexicon-driven query expansion, segmentation, eval records, write gates, packaging — lives in an agent-neutral Python core (`core/`, PyYAML is its only dependency, zero LLM calls). The LLM-driven work — the Purpose Interview, schema design, blind parallel extraction, consolidation, and the judgment inside a lexicon or an eval verdict — is an agent workflow driven by Claude Code plugin commands that call that core CLI. The core is the machine; the agents supply judgment on top of it. Retrieval is deliberately **vector-free**: BM25 plus a reviewed, machine-readable lexicon closes the cross-language gap deterministically, so the same query returns the same answer, every run, auditable.

**Extraction quality is not self-certified.** OKFy makes no claim that a bundle is good because the model that built it said so. Acceptance is a replayable artifact: `okfy eval run` replays the bundle's own test queries deterministically, an LLM-judge may *propose* verdicts, but only an **owner** verdict counts toward release — a bundle grading its own output is a closed loop this design refuses to trust. The verdicts, the query-expansion contract, and every "this concept is no longer current" flag are recorded inside the bundle, not in a chat transc