marketing-x

Installation
SKILL.md

marketing-x

Tracks X (Twitter) user profiles for new posts since the last check, archives every fetched tweet locally, and writes a per-run JSON record. Designed to be invoked daily via /loop so Claude can summarize what's new without re-paying for old data.

Always run doctor before the first check of a session — it catches missing creds, broken cache paths, and sync problems before you burn API credits.

Setup

Setup workflow (what Claude does when invoked for setup)

When the user says any of "set up x-monitor", "configure x-monitor", "install x-monitor on this Mac", "share x-monitor across my machines":

  1. First Mac (the one with credentials): run uv run python x_monitor.py setup --share-credentials. This creates the iCloud cache home, migrates any local data into it, merges X_MONITOR_HOME into settings.json, and copies the credentials file into the synced home so the second Mac can pick them up automatically.
  2. Second Mac: run uv run python x_monitor.py setup. Detects the iCloud-stashed credentials and installs them at ~/.config/x-monitor/credentials.json (mode 600). No scp needed.
  3. After setup completes, tell the user to restart Claude Code so X_MONITOR_HOME is picked up by future sessions.
  4. If setup reports ✗ no credentials, do not proceed — surface the printed instructions and stop.

If the user just says "set up x-monitor" without specifying which Mac, ask which machine they're on (the one with credentials, or a fresh one). On unsure, default to plain setup (read-only credential install) — it's safe to run on either machine.

What setup does (manual reference)

Installs
2
GitHub Stars
26
First Seen
Oct 29, 2026