Open Knowledge CLI
August 10, 2026 ยท View on GitHub
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 <codex|claude|opencode> to launch one. Use
search to retrieve knowledge. Use
validate to verify the wiki.
Work locally
Use agent to run an agent task. Use
setup to install skills and harness adapters.
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.