openknowledge spec
August 3, 2026 ยท View on GitHub
Use okn spec to print an embedded OKF specification. The latest
selector resolves to the latest embedded version.
Usage
okn spec latest
okn spec 0.2
okn spec 0.1
okn spec --help
Arguments and flags
| Name | Kind | Description |
|---|---|---|
| `latest | argument |
Example output
okn spec latest prints the embedded spec Markdown:
# Open Knowledge Format (OKF)
**Version 0.2**
OKF is an open, human- and agent-friendly format for representing
*knowledge*: the metadata, context, and curated insight that surrounds data
and systems.
Use cases
- Inspect the pinned format rules available to the CLI.
- Generate or compare local
SPEC.mdcontent. - Confirm supported spec versions before validation or export.
Source anchors
packages/cli/internal/okf/spec.gopackages/cli/internal/okf/assets/specs/0.1.mdpackages/cli/internal/okf/assets/specs/0.2.mdpackages/cli/cmd/openknowledge/main.goUpdate notes
Update this page when embedded spec versions, version resolution, or spec attribution changes.