okf plugin
Open Knowledge Format: the OKF skill, /okf:gem setup and doctor, and a post-edit curation hook that runs the okf CLI's checks.
How to install the okf plugin
Run both commands inside Claude Code. The first adds the marketplace once; the second installs the plugin.
/plugin marketplace add serradura/okf
/plugin install okf@okfgemWhat's inside okf
3 parts read from the plugin's own files.
Commands 1
Run as /okf:name- /okf:gem[search|produce|migrate|maintain|refine|consume|curate|doctor|<okf-cli-verb>] [d
Hand any OKF task to the okf skill — search, author, curate, or doctor a bundle
Skills 1
Claude loads it when the task matches- okf
Be the expert on Open Knowledge Format (OKF) — portable project knowledge as a directory of markdown files with YAML frontmatter that humans and agents read from one source. Use when capturing knowledge into a bundle (a service, schema, metric, decision, runbook: "document this in OKF", "capture this as a concept"), converting existing docs into one ("migrate/OKFy our docs into a bundle"), retrieving from one without reading it whole ("what do we know about X?", "where is X documented?", "search the bundle"), updating one after code or docs change ("update the knowledge bundle"), checking its conformance or curation quality ("validate/lint the bundle"), serving or rendering it as a graph, or working in a repo that already carries an OKF bundle — a `.okf/` directory or a root `index.md` carrying `okf_version`.
Hooks 1
Runs on these events- PostToolUsecommand
Write|Edit|MultiEdit
Using okf in Claude Code
Type a command in a Claude Code session:
/okf:gem [search|produce|migrate|maintain|refine|consume|curate|doctor|<okf-cli-verb>] [dSkills need no command. Claude reads them when your request matches what they describe.
Update, turn off or remove
- Update the plugin (shell)
- claude plugin update okf@okfgem
- Refresh the marketplace
- /plugin marketplace update okfgem
- Turn it off for now
- /plugin disable okf@okfgem
- Remove it
- /plugin uninstall okf@okfgem
Skills in okf
- okfserradura/okf
Be the expert on Open Knowledge Format (OKF) — portable project knowledge as a directory of markdown files with YAML frontmatter that humans and agents read from one source. Use when capturing knowledge into a bundle (a service, schema, metric, decision, runbook: "document this in OKF", "capture this as a concept"), converting existing docs into one ("migrate/OKFy our docs into a bundle"), retrieving from one without reading it whole ("what do we know about X?", "where is X documented?", "search the bundle"), updating one after code or docs change ("update the knowledge bundle"), checking its conformance or curation quality ("validate/lint the bundle"), serving or rendering it as a graph, or working in a repo that already carries an OKF bundle — a `.okf/` directory or a root `index.md` carrying `okf_version`.
22 files187stars
okf plugin questions
How do I install the okf plugin?
In Claude Code run /plugin marketplace add serradura/okf, then /plugin install okf@okfgem.
What does the okf plugin include?
okf bundles 1 command, 1 skill, hooks.
What commands does the okf plugin add?
It adds /okf:gem. Run them in Claude Code with the plugin prefix, for example /okf:gem.
How do I update or remove the okf plugin?
Update it with claude plugin update okf@okfgem in your shell, or from the Installed tab of /plugin. Remove it with /plugin uninstall okf@okfgem.
What license is the okf plugin under?
Apache-2.0, as stated in the plugin's manifest.