BetaYou are reading docs for the beta channel (
3.0.0-beta.15). Features may change before the next stable release.Switch to stable →insights
ak insights collect
Collect native runtime observations
Use ak insights collect for the operation described below. The command help records its arguments, effects, and options.
Command contract
Collect native runtime observations
Synopsis
Collect native runtime observations. Unknown measurements remain unavailable; invocation success is not quality.
Effects: Reads local transcript metadata only after collection consent; writes local observations.
Exit status: 0 success 1 invalid input or unavailable local data 2 invalid arguments
ak insights collect [flags]Examples
ak insights collect --runtime codex --json
ak insights collect --helpOptions
--execution-id string Managed execution owning this entire selected source; use on first import
--file string Optional selected JSONL source
-h, --help help for collect
--json Emit machine-readable JSON (implies --no-interactive)
--no-interactive Disable interactive prompts (CI-safe)
-q, --quiet Suppress non-error output on stderr
--runtime string claude-code or codex
--session-id string Opaque source session ID for stable correlation
-V, --verbose Extra diagnostic output on stderr (loses to --quiet)
-y, --yes Assume yes for all promptsSEE ALSO
- ak insights - Measure skill and agent effectiveness