Skip to content

CLI reference: Monitor

8 commands. Every command runs on your own computer; nothing is sent to a social network unless a publishing command is run by the owner with its live switches.

One short read-only line for Claude Code’s status line (version, drafts, queued, needs review, ideas, PAUSED); never creates a database, reads no stdin, no network

Terminal window
reachweaver statusline [-h]

No options.

Offline status, attempts, overdue and uncertain sends, provider cooldowns; never auto-retry

Terminal window
reachweaver queue-health [-h] [--stale-minutes STALE_MINUTES]
Option Description
--stale-minutes STALE_MINUTES Mark sending claims older than this threshold as stale (5..10080)

Read-only needs_review posts grouped by sanitized error code + reconcile steps; never retries

Terminal window
reachweaver dead-letter [-h] [--json]
Option Description
--json Machine-readable grouping

Read-only operational counts (claims, failures by send class, cooldowns, pause, dead letters, stale sending, due age) as JSON or Prometheus text

Terminal window
reachweaver ops-metrics [-h] [--format {json,prometheus}] [--since SINCE]
[--stale-minutes STALE_MINUTES] [--optout OPTOUT] [--out OUT]
[--now NOW]
Option Description
--format FORMAT Output format (default json) One of: json, prometheus.
--since SINCE Count audit events from this ISO 8601 time or a relative 30m/24h/7d (default: all time, as Prometheus counters)
--stale-minutes STALE_MINUTES Mark sending claims older than this threshold as stale (5..10080)
--optout OPTOUT Opt-out list JSON (default $REACHWEAVER_OPTOUT or config/optout.json if present); queued posts mentioning it are counted, never named
--out OUT Atomically write this file (mode 0644), e.g. a node_exporter textfile-collector *.prom path; an existing file is replaced only if named *.prom or *.json, never the database or a symlink
--now NOW Evaluate at this ISO 8601 time instead of the clock (reproducible output)

One redacted read-only report: overall readiness, per-account adapter, budget and queue, dead letters and ops-metrics totals; exit 1 when blocked; never contacts providers

Terminal window
reachweaver ops-summary [-h] [--json] [--since SINCE] [--stale-minutes STALE_MINUTES]
[--optout OPTOUT] [--now NOW]
Option Description
--json Machine-readable report (default: short text)
--since SINCE Count audit events from this ISO 8601 time or a relative 30m/24h/7d
--stale-minutes STALE_MINUTES Mark sending claims older than this threshold as stale (5..10080)
--optout OPTOUT Opt-out list JSON (default $REACHWEAVER_OPTOUT or config/optout.json if present); queued posts mentioning it are counted, never named
--now NOW Evaluate at this ISO 8601 time instead of the clock (reproducible output)

Offline credential hygiene: env variable NAMES only, never values; exit 1 on findings

Terminal window
reachweaver credentials-audit [-h] [--history FILE] [--json]
Option Description
--history FILE Also scan this shell history file for literal REACHWEAVER_* secrets (line numbers only); repeatable
--json Machine-readable names-only report

Read-only: broken, redirected or preview-less links in stored posts; offline unless –online (robots.txt first, one GET per page, never posts)

Terminal window
reachweaver link-health [-h] [--status STATUS] [--account ACCOUNT]
[--campaign CAMPAIGN] [--online] [--allow-origin ORIGIN]
[--max-links MAX_LINKS] [--json]
Option Description
--status STATUS Post status to scan; repeat (default: approved, scheduled, published)
--account ACCOUNT Only posts of this account id
--campaign CAMPAIGN Only posts of this campaign
--online Allow one GET per distinct landing page (robots.txt first)
--allow-origin ORIGIN With –online: also follow redirects to this https origin; repeat
--max-links MAX_LINKS Distinct pages fetched per run, 1..50 (default 25)
--json Machine-readable result

Read-only: everything that happened to one post, oldest first: its audit events and, with –log, the worker-log lines and runs that handled it (issue #26)

Terminal window
reachweaver trace [-h] [--log FILE] [--json] post_id
Option Description
post_id
--log FILE A publish –log-json file to join (repeat); ‘-’ reads standard input, e.g. journalctl -u reachweaver -o cat | reachweaver trace ID –log -
--json Machine-readable trace