Commands
Use this index to select a command for your task. Run okn <command> --help to see the exact CLI syntax.
Start here
- setup: Configure a knowledge base and its agent instructions.
- search: Build source-grounded context.
- validate: Validate OKF conformance.
Work locally
- agent: Run a steered Codex, Claude Code, or OpenCode session.
- get: Read an exact page or entrypoint.
- list: Inspect the bundle structure.
- view: Browse the bundle in the local viewer.
Share and connect
- mcp: Serve read-only MCP resources and tools.
- export: Create HTML, JSON, graph, or tar output.
- connect: Register a local or remote bundle.
- disconnect: Remove a connection.
- registry: List, inspect, refresh, and resolve connections.
Automate and operate
- automation: Run jobs, insights, runtimes, and deployments.
Advanced and portable tools
- scaffold: Create a deterministic bundle without an agent.
- prompt: Print maintenance and review instructions.
- ast: Inspect the parsed document model.
- spec: Print an embedded OKF specification.
- version: Print the CLI version.
- telemetry: Inspect or change anonymous product telemetry.
- help: Read about global flags and help.