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

NameKindDescription
`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.md content.
  • Confirm supported spec versions before validation or export.

Source anchors

  • packages/cli/internal/okf/spec.go
  • packages/cli/internal/okf/assets/specs/0.1.md
  • packages/cli/internal/okf/assets/specs/0.2.md
  • packages/cli/cmd/openknowledge/main.go

Update notes

Update this page when embedded spec versions, version resolution, or spec attribution changes.