Open Knowledge CLI Documentation
Frontmatter2 fields
okf_version
0.1
okf_bundle_title
Open Knowledge CLI Documentation

Open Knowledge CLI

Flexible knowledge bases in Markdown that your agents can create, retrieve, maintain, validate, and publish.

Get started

curl -fsSL https://openknowledge.sh/install | bash
okn setup

This documentation uses okn as the preferred command. The full openknowledge command remains available.

The published documentation is at openknowledge.sh/wiki. It is the exported version of this OKF wiki.

Workflows

Create, retrieve, and verify

Use setup to print an open-ended setup prompt. Copy the output into an agent that already works in the project. Alternatively, use okn setup --agent --runtime <runtime> to launch one. Use search to retrieve knowledge. Use validate to verify the wiki.

Work locally

Use agent to run an agent task. Use integration to install one runtime skill. Use get to read one document. Use list to inspect the content tree. Use view to browse the wiki.

Share and connect

Use mcp to serve MCP tools. Use export to publish portable output. Use connect to add a source. Use disconnect to remove a source. Use registry to inspect the registry.

Automate and operate

Use automation for jobs, insights, runtime services, and deployments.

Use advanced tools

Use scaffold for deterministic bundle creation. Other advanced tools are prompt, ast, and spec.

Reference

Powered by OpenKnowledge.sh