Skip to content

mxr activity

Generated from mxr activity --help. Edit the clap definitions in crates/daemon/src/cli/ and re-run npm run build in site/ to regenerate.

Browse the local user-activity log (the git-reflog for your inbox). Strictly local: never transmitted off-device. See mxr activity --help

mxr activity <COMMAND>
SubcommandPurpose
listList recent activity in reverse chronological order
statsGroup and count activity rows over a time window
topMost-frequent actions in a window. Convenience over stats --group-by action
exportExport matching rows in CSV / JSON / NDJSON
pruneHard-delete rows older than --before. Destructive; confirms unless --yes
redactTombstone rows by id or filter. Destructive; confirms unless --yes
clearConvenience tombstone over a recent time window. Browser-history style
pausePause recording. With --for DURATION, auto-resumes after
resumeResume recording
statusShow current recorder status (paused state, retention defaults)
savedManage saved filter presets. Slug-keyed, like saved searches
tailFollow new activity. Press Ctrl-C to stop
recallResolve a fuzzy time phrase (“yesterday afternoon”, “last hour”) and list activity from that window
replayPrint a prose narrative of what you did in the window
helpPrint this message or the help of the given subcommand(s)
FlagDescription
-h, --helpPrint help

Browse the local user-activity log — the git-reflog of your inbox. Strictly local; never transmitted off-device. See the Activity Log guide for the full design.

Terminal window
mxr activity list --since 24h
mxr activity stats --group-by action --since 7d --format json
mxr activity export --format ndjson --out my-week.ndjson
mxr activity clear --last 1h --yes # tombstone the last hour

Convenience tombstone over a recent time window. Browser-history style

mxr activity clear [OPTIONS] --last <WINDOW>
FlagDescription
--last <WINDOW>[possible values: 1h, 1d, 7d, 30d, all]
--include-importantAlso tombstone important-tier rows (sends, redactions, etc.)
--dry-run
--yes
-h, --helpPrint help

Export matching rows in CSV / JSON / NDJSON

mxr activity export [OPTIONS] --format <FORMAT>
FlagDescription
--since <SINCE>Relative duration (e.g. 1h, 3d, 2w) or ISO date inclusive lower bound
--until <UNTIL>Relative duration or ISO date exclusive upper bound. Defaults to now
--source <SOURCE>Originating client. Repeatable [possible values: human, tui, cli, script, web, daemon, agent, mcp]
--action <ACTION>Exact action token (e.g. mail.archive). Repeatable
--prefix <PREFIX>Match all actions starting with this prefix (e.g. mail.)
--target-kind <TARGET_KIND>Filter by target kind (thread, message, draft, search, …)
--target-id <TARGET_ID>Filter by exact target id
--tier <TIER>Retention tier. Repeatable [possible values: ephemeral, standard, important]
--account <ACCOUNT>Filter by account id
--query <QUERY>FTS5 expression against context_json
--include-redactedInclude tombstoned rows in the result
--format <FORMAT>[possible values: csv, json, ndjson]
--out <OUT>Write to this path instead of stdout
-h, --helpPrint help

List recent activity in reverse chronological order

mxr activity list [OPTIONS]
FlagDescription
--since <SINCE>Relative duration (e.g. 1h, 3d, 2w) or ISO date inclusive lower bound
--until <UNTIL>Relative duration or ISO date exclusive upper bound. Defaults to now
--source <SOURCE>Originating client. Repeatable [possible values: human, tui, cli, script, web, daemon, agent, mcp]
--action <ACTION>Exact action token (e.g. mail.archive). Repeatable
--prefix <PREFIX>Match all actions starting with this prefix (e.g. mail.)
--target-kind <TARGET_KIND>Filter by target kind (thread, message, draft, search, …)
--target-id <TARGET_ID>Filter by exact target id
--tier <TIER>Retention tier. Repeatable [possible values: ephemeral, standard, important]
--account <ACCOUNT>Filter by account id
--query <QUERY>FTS5 expression against context_json
--include-redactedInclude tombstoned rows in the result
--limit <LIMIT>Page size. Capped server-side to 500 [default: 50]
--cursor <CURSOR>Resume from a previous cursor: --cursor TS,ID
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
-h, --helpPrint help

Pause recording. With --for DURATION, auto-resumes after

mxr activity pause [OPTIONS]
FlagDescription
--for <FOR>
--quiet
-h, --helpPrint help

Hard-delete rows older than --before. Destructive; confirms unless --yes

mxr activity prune [OPTIONS] --before <BEFORE>
FlagDescription
--before <BEFORE>Relative duration (e.g. 90d) or ISO date. Required
--tier <TIER>[possible values: ephemeral, standard, important]
--dry-run
--yes
-h, --helpPrint help

Resolve a fuzzy time phrase (“yesterday afternoon”, “last hour”) and list activity from that window

mxr activity recall [OPTIONS] <PHRASE>
FlagDescription
<PHRASE>Time phrase to resolve
FlagDescription
--limit <LIMIT>[default: 50]
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
-h, --helpPrint help

Tombstone rows by id or filter. Destructive; confirms unless --yes

mxr activity redact [OPTIONS]
FlagDescription
--ids <IDS>… Comma-separated row ids
--since <SINCE>Relative duration (e.g. 1h, 3d, 2w) or ISO date inclusive lower bound
--until <UNTIL>Relative duration or ISO date exclusive upper bound. Defaults to now
--source <SOURCE>Originating client. Repeatable [possible values: human, tui, cli, script, web, daemon, agent, mcp]
--action <ACTION>Exact action token (e.g. mail.archive). Repeatable
--prefix <PREFIX>Match all actions starting with this prefix (e.g. mail.)
--target-kind <TARGET_KIND>Filter by target kind (thread, message, draft, search, …)
--target-id <TARGET_ID>Filter by exact target id
--tier <TIER>Retention tier. Repeatable [possible values: ephemeral, standard, important]
--account <ACCOUNT>Filter by account id
--query <QUERY>FTS5 expression against context_json
--include-redactedInclude tombstoned rows in the result
--dry-run
--yes
-h, --helpPrint help

Print a prose narrative of what you did in the window

mxr activity replay [OPTIONS]
FlagDescription
--since <SINCE>[default: 1h]
--limit <LIMIT>[default: 200]
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
-h, --helpPrint help

Resume recording

mxr activity resume
FlagDescription
-h, --helpPrint help

Manage saved filter presets. Slug-keyed, like saved searches

mxr activity saved <COMMAND>
SubcommandPurpose
listList all saved filter presets
saveSave the current filter under a slug
deleteDelete a preset by slug
openApply a preset and list the matching rows
helpPrint this message or the help of the given subcommand(s)
FlagDescription
-h, --helpPrint help

Group and count activity rows over a time window

mxr activity stats [OPTIONS]
FlagDescription
--since <SINCE>Relative duration (e.g. 1h, 3d, 2w) or ISO date inclusive lower bound
--until <UNTIL>Relative duration or ISO date exclusive upper bound. Defaults to now
--source <SOURCE>Originating client. Repeatable [possible values: human, tui, cli, script, web, daemon, agent, mcp]
--action <ACTION>Exact action token (e.g. mail.archive). Repeatable
--prefix <PREFIX>Match all actions starting with this prefix (e.g. mail.)
--target-kind <TARGET_KIND>Filter by target kind (thread, message, draft, search, …)
--target-id <TARGET_ID>Filter by exact target id
--tier <TIER>Retention tier. Repeatable [possible values: ephemeral, standard, important]
--account <ACCOUNT>Filter by account id
--query <QUERY>FTS5 expression against context_json
--include-redactedInclude tombstoned rows in the result
--group-by <GROUP_BY>[default: action] [possible values: action, day, source, target-kind, hour]
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
-h, --helpPrint help

Follow new activity. Press Ctrl-C to stop

mxr activity tail [OPTIONS]
FlagDescription
--since <SINCE>Relative duration (e.g. 1h, 3d, 2w) or ISO date inclusive lower bound
--until <UNTIL>Relative duration or ISO date exclusive upper bound. Defaults to now
--source <SOURCE>Originating client. Repeatable [possible values: human, tui, cli, script, web, daemon, agent, mcp]
--action <ACTION>Exact action token (e.g. mail.archive). Repeatable
--prefix <PREFIX>Match all actions starting with this prefix (e.g. mail.)
--target-kind <TARGET_KIND>Filter by target kind (thread, message, draft, search, …)
--target-id <TARGET_ID>Filter by exact target id
--tier <TIER>Retention tier. Repeatable [possible values: ephemeral, standard, important]
--account <ACCOUNT>Filter by account id
--query <QUERY>FTS5 expression against context_json
--include-redactedInclude tombstoned rows in the result
-n, --lines <LINES>Initial backfill — show this many recent rows before tailing [default: 20]
--interval <INTERVAL>Poll interval in seconds [default: 2]
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
-h, --helpPrint help