Command reference

oko-cli goals tokens

Computes model-free token, cost, and period insight summaries.

Invocation

oko-cli goals tokens [--file PATH] [--limit N] [--write]

Inputs and options

  • --file selects one transcript; --limit defaults to 20 recent transcripts.
  • --write permits generated long-term wins notes when the local model is available.

Output and state effect

  • Prints token/cost and weekly/monthly insight blocks; --write may generate review notes.

Refusals and safe exits

  • No transcript/token rows produce no token block; note writing is skipped unless macOS 26 and the local extractor are available.