Roam

From mvanhorn/printing-press-library · View interactive version

Roam is an AI agent skill from the GitHub repository mvanhorn/printing-press-library. Every Roam HQ surface — chat, transcripts, On-Air events, SCIM, webhooks — in one local-first CLI with offline... Trigger phrases: `search roam transcripts`, `post a message to roam`, `what did we decide in roam`, `roam attendance report`, `use roam-pp-cli`, `run roam-pp-cli`.

How to use this skill

Skill file

Roam — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the roam-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:

```bash

npx -y @mvanhorn/printing-press-library install roam --cli-only

```

  1. Verify: roam-pp-cli --version
  2. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

go install github.com/mvanhorn/printing-press-library/library/productivity/roam/cmd/roam-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

When to Use This CLI

Reach for roam-pp-cli when you need to script Roam HQ from a shell or agent: tail webhook deliveries, post deploy notifications, search transcripts across many meetings at once, reconcile SCIM membership against an HRIS roster, or extract decisions from last week's recordings. The remote MCP at api.ro.am/mcp is great for ad-hoc agent chat; this CLI is the choice when you want pipelines, cron, or local-first search.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Local state that compounds

_Reach for this when an agent needs to recall what was said across many meetings without re-paging the rate-limited transcript API._

```bash

roam-pp-cli grep "pricing" --since 14d --in-group eng --json --select transcript_id,line

```

_Use when an agent owes the team a Monday recap; deterministic and citation-bearing._

```bash

roam-pp-cli decisions --since 7d --in-group product --agent

```

_Use when an agent is asked who didn't show or who attended without an invite._

```bash

roam-pp-cli onair-attendance-drift --event evt_123 --json

```

_Use when debugging a webhook integration without standing up a listener._

```bash

roam-pp-cli webhook-tail --since 1h --json

```

_Use when an agent must surface unread mentions across all groups without round-tripping the API per group._

```bash

roam-pp-cli mention-inbox --user @me --since 7d --agent

```

Mutation safety

_Use when cleaning up dead recurring events; safe by default._

```bash

roam-pp-cli onair-reaper --stale-days 60 --dry-run

```

_Use when an agent needs to reconcile an external roster with Roam membership without clicking through admin UI._

```bash

roam-pp-cli scim-diff --roster hris.csv --apply --dry-run

```

Agent-native plumbing

_Use when an agent must scan many meetings for a single question without re-prompting each one._

```bash

roam-pp-cli transcript-fanout --question "did anyone mention Q3 hiring?" --since 30d --agent

```

_Use when an agent needs to forward a stream (CI, alerts, logs) into Roam without writing a custom webhook._

```bash

tail -F deploys.log | roam-pp-cli relay --to eng-deploys --idempotent-key-prefix deploys

```

Reachability mitigation

_Use when an agent needs to know which Roam commands will work with the credential it has before attempting them._

```bash

roam-pp-cli doctor token

```

Command Reference

addr-info — Manage addr info

app-uninstall — Manage app uninstall

chat-delete — Manage chat delete

chat-history — Manage chat history

chat-list — Manage chat list

chat-post — Manage chat post

chat-send-message — Manage chat send message

chat-typing — Manage chat typing

chat-update — Manage chat update

group-add — Manage group add

group-archive — Manage group archive

group-create — Manage group create

group-members — Manage group members

group-remove — Manage group remove

group-rename — Manage group rename

groups — Manage groups

groups-list — Manage groups list

item-upload — Manage item upload

lobby-booking-list — Manage lobby booking list

lobby-list — Manage lobby list

magicast-info — Manage magicast info

magicast-list — Manage magicast list

meeting-list — Manage meeting list

meetinglink-create — Manage meetinglink create

meetinglink-info — Manage meetinglink info

meetinglink-update — Manage meetinglink update

messageevent-export — Manage messageevent export

onair-attendance-list — Manage onair attendance list

onair-event-cancel — Manage onair event cancel

onair-event-create — Manage onair event create

onair-event-info — Manage onair event info

onair-event-list — Manage onair event list

onair-event-update — Manage onair event update

onair-guest-add — Manage onair guest add

onair-guest-info — Manage onair guest info

onair-guest-list — Manage onair guest list

onair-guest-remove — Manage onair guest remove

onair-guest-update — Manage onair guest update

reaction-add — Manage reaction add

recording-list — Manage recording list

resource-types — Manage resource types

schemas — Manage schemas

service-provider-config — Manage service provider config

test — Manage test

token-info — Manage token info

transcript-info — Manage transcript info

transcript-list — Manage transcript list

transcript-prompt — Manage transcript prompt

user-info — Manage user info

user-list — Manage user list

user-lookup — Manage user lookup

userauditlog-list — Manage userauditlog list

users — Manage users

webhook-subscribe — Manage webhook subscribe

webhook-unsubscribe — Manage webhook unsubscribe

Finding the right command

When you know what you want to do but not which command does it, ask the CLI directly:

roam-pp-cli which "<capability in your own words>"

which resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code 0 means at least one match; exit code 2 means no confident match — fall back to --help or use a narrower query.

Recipes

Daily standup digest

roam-pp-cli decisions --since 1d --in-group standup --agent --select transcript_id,line,speaker

Pull yesterday's decisions from the standup group, formatted for agent consumption with citation.

Cross-meeting question scan

roam-pp-cli transcript-fanout --question "did anyone mention Q3 hiring?" --since 30d --agent

Run one question against every transcript in the last 30 days.

Reconcile HRIS roster with Roam SCIM

roam-pp-cli scim-diff --roster hris.csv --apply --dry-run

See add/update/remove sets before applying; drop --dry-run to execute.

Pipe CI alerts into Roam

tail -F /var/log/ci.log | roam-pp-cli relay --to eng-alerts --idempotent-key-prefix ci

Stream CI log lines into a Roam group with deterministic dedupe.

Narrow a deeply-nested transcript response

roam-pp-cli transcript-info --id <id> --json --select segments.speaker,segments.text

Use --select with dotted paths to keep agent context small on long transcripts.

Auth Setup

Bearer auth via ROAM_API_KEY. Roam supports two key tiers: full-access organization keys and personal access tokens. Some HQ v1 endpoints require full-access; Chat/Transcript v0 endpoints work with PATs. Run roam-pp-cli doctor token to see which families your key can reach.

Run roam-pp-cli doctor to verify setup.

Agent Mode

Add --agent to any command. Expands to: --json --compact --no-input --no-color --yes.

```bash

roam-pp-cli addr-info --agent --select id,name,status

```

Response envelope

Commands that read from the local store or the API wrap output in a provenance envelope:

{
  "meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
  "results": <data>
}

Parse .results for data and .meta.source to know whether it's live or local. A human-readable N results (live) summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.

Agent Feedback

When you (or the agent) notice something off about this CLI, record it:

roam-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
roam-pp-cli feedback --stdin < notes.txt
roam-pp-cli feedback list --json --limit 10

Entries are stored locally at ~/.roam-pp-cli/feedback.jsonl. They are never POSTed unless ROAM_FEEDBACK_ENDPOINT is set AND either --send is passed or ROAM_FEEDBACK_AUTO_SEND=true. Default behavior is local-only.

Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.

Output Delivery

Every command accepts --deliver <sink>. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:

| Sink | Effect |

|------|--------|

| stdout | Default; write to stdout only |

| file:<path> | Atomically write output to <path> (tmp + rename) |

| webhook:<url> | POST the output body to the URL (application/json or application/x-ndjson when --compact) |

Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.

Named Profiles

A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.

roam-pp-cli profile save briefing --json
roam-pp-cli --profile briefing addr-info
roam-pp-cli profile list --json
roam-pp-cli profile show briefing
roam-pp-cli profile delete briefing --yes

Explicit flags always win over profile values; profile values win over defaults. agent-context lists all available profiles under available_profiles so introspecting agents discover them at runtime.

Exit Codes

| Code | Meaning |

|------|---------|

| 0 | Success |

| 2 | Usage error (wrong arguments) |

| 3 | Resource not found |

| 4 | Authentication required |

| 5 | API error (upstream issue) |

| 7 | Rate limited (wait and retry) |

| 10 | Config error |

Argument Parsing

Parse $ARGUMENTS:

  1. Empty, help, or --help → show roam-pp-cli --help output
  2. Starts with install → ends with mcp → MCP installation; otherwise → see Prerequisites above
  3. Anything else → Direct Use (execute as CLI command with --agent)

MCP Server Installation

Install the MCP binary from this CLI's published public-library entry or pre-built release, then register it:

claude mcp add roam-pp-mcp -- roam-pp-mcp

Verify: claude mcp list

Direct Use

  1. Check if installed: which roam-pp-cli

If not found, offer to install (see Prerequisites at the top of this skill).

  1. Match the user query to the best command from the Unique Capabilities and Command Reference above.
  2. Execute with the --agent flag:

```bash

roam-pp-cli <command> [subcommand] [args] --agent

```

  1. If ambiguous, drill into subcommand help: roam-pp-cli <command> --help.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.