OKF Agent Skills
Cross-harness agent skills for maintaining an
Open Knowledge Format bundle — a lightweight, file-based
knowledge base of Markdown concepts — from Claude Code, OpenAI Codex, and
OpenCode. One okf router skill dispatches to five leaf skills:
| Skill | Job |
|---|
okf-read | Safe inspection: navigate a bundle from its root index to a concept body using ordinary file tools. |
okf-write | The sole path for bounded mutations — create, revise, format, relate, machine-verify. |
okf-lifecycle | Narrow automatic synchronization, plus explicit reconciliation. |
okf-review | Reads, validates, and reports trust tiers and staleness. It never confirms, approves, or mutates. |
okf-setup | Inspects the /setup config files and, once approved, bootstraps the bundle-root index.md via init and repairs .okf-workspace.json; for a monorepo, plan detects package boundaries and builds one sub-agent brief per package and aggregate reports their results into the shared workspace manifest; discover scans the active project (or, scoped to one monorepo package, its own subtree) and classifies each candidate source document as markdown, unsupported, other, or ambiguous; migration-plan turns that inventory into a fully-determined migration plan — migrate, skip, retain as residue, or blocked pending one compact batched round of user decisions; partition groups an executable plan into shards by directory locality, builds each shard's fresh-context worker brief, and validates a worker's returned shard against it; assemble combines every validated shard into one staged bundle, blocking on a cross-shard concept-target collision, surfacing an exact cross-shard duplicate as a candidate, resolving a cross-shard link or naming the migration-caused relationship loss when it cannot, and marking the result partial while any shard blocker remains; migration-validate gates that staged bundle before publication — structural/conformance and link-integrity checks reused from the write gate, every selected source cross-checked against its own recorded disposition, and a semantic-fidelity disclosure that stays false unless a human review was actually declared, however clean the rest of the check comes back; publish promotes a validated staged bundle into real bundle concepts by delegating one okf-write create call per concept through the same delegation bridge a sub-agent uses, never writing a concept directly; report turns migration signals into post-setup analytics for the agent to render. Direct invocation only. |
The skills are backed by a zero-dependency Node.js runtime (scripts/lib/)
driven through one thin wrapper script per skill. See
docs/spec/okf-agent-skills-v0.1.0.md
for the full behavioral specification and
docs/spec/okf-agent-skills-v0.1.0-completion.md
for the decisions that closed this release's remaining open items — cited
below as D5–D11.
Install
npx skills add 'artemVeduta/okf-agent-skills#v0.1.0'
This is the one documented base install command, exact #v0.1.0 Git-ref
syntax included. It places the router, the four leaf skills, and their
wrapper scripts into one of the two canonical skills stores — the project
.agents/skills/ store or the global ~/.agents/skills/ store — and creates
harness-specific links only where a harness requires them. Each skill carries
its own copy of the runtime under <skill-root>/scripts/, and each SKILL.md
runs node <skill-root>/scripts/<skill-name>.js, so an installed skill is
independently executable and never resolves its wrapper from your working
directory or PATH.
The base install only makes the skills discoverable. It does not wire a
native session-start hook into any harness, does not create the OKF bundle
the skills operate on, and does not turn on any automatic behavior. Two
separate steps close those gaps, and the base install performs neither of
them:
- Install a native adapter (below) to wire the read-only orientation hook
into a harness's session start.
- Create the workspace manifest and bundle root (below) — this release
cannot create them for you.
Claude Code
The repo root is a self-contained Claude Code plugin. After base install the
repo lands at ~/.claude/skills/okf-agent-skills/ and Claude Code
auto-discovers .claude-plugin/plugin.json at startup. No separate adapter
install step.
If the base install skipped Claude Code linkage, install from the
marketplace inside an active Claude Code session:
/plugin marketplace add artemVeduta/okf-agent-skills
/plugin install okf-agent-skills@okf-agent-skills