Skip to content

dokimi context

usage: dokimi context [-h] {trace} ...

positional arguments:
  {trace}
    trace     Prompt size at every model call of a Claude Code stream-json trace: what start-up
              loaded, how the history grew, compactions, which tool results weighed most, failed
              and repeated tool calls. Several traces print as one comparison table.

options:
  -h, --help  show this help message and exit

dokimi context trace

usage: dokimi context trace [-h] [--window WINDOW] [--calls] [--json] traces [traces ...]

positional arguments:
  traces           `claude -p --output-format stream-json --verbose` output files

options:
  -h, --help       show this help message and exit
  --window WINDOW  Context window of the model in tokens; adds the peak's fill fraction
  --calls          Also give every call's token counts and every compaction event
  --json           Print the summaries as JSON