Skip to content

mxr contacts

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

Surface relationship analytics from the materialized contacts table

mxr contacts [OPTIONS] <COMMAND>
Subcommand Purpose
asymmetry Rank contacts by reply imbalance (|inbound - outbound| / max)
decay List contacts where the most recent inbound is older than the outbound by more than –threshold-days days. Surfaces “going cold” relationships
refresh Force a full refresh of the materialized contacts table
help Print this message or the help of the given subcommand(s)
Flag Description
--format <FORMAT> [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Surface relationship asymmetry or decay.

Terminal window
mxr contacts asymmetry --limit 20
mxr contacts decay --threshold-days 45

Rank contacts by reply imbalance (|inbound - outbound| / max)

mxr contacts asymmetry [OPTIONS]
Flag Description
--min-inbound <MIN_INBOUND> Filter out contacts with fewer than this many inbound messages [default: 3]
--limit <LIMIT> [default: 50]
--account <ACCOUNT>
-h, --help Print help

List contacts where the most recent inbound is older than the outbound by more than –threshold-days days. Surfaces “going cold” relationships

mxr contacts decay [OPTIONS]
Flag Description
--threshold-days <THRESHOLD_DAYS> [default: 30]
--max-lookback-days <MAX_LOOKBACK_DAYS> Upper bound: ignore contacts whose last inbound is older than this. Default ~3 years keeps focus on relationships you might still rebuild; raise for a wider audit [default: 1095]
--limit <LIMIT> [default: 50]
--account <ACCOUNT>
-h, --help Print help

Force a full refresh of the materialized contacts table

mxr contacts refresh
Flag Description
-h, --help Print help