Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

RevenueCat CLI

$ rc Official High Risk
RevenueCat · Workspace & SaaS · MIT · macos / linux / windows

RevenueCat CLI (rc / @revenuecat/cli) manages RevenueCat projects, apps, offerings, packages, entitlements, and customer records from a native Go binary. Purpose-built for AI coding agents with --json, --no-input, --yes, built-in --format jq filtering, and dedicated coding-agent documentation.

FCRS-1.0 Score
91 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install RevenueCat/tap/rc
CLI vs MCP Decision CLI Preferred vs MCP

rc ships as a fast native Go binary (or npx @revenuecat/cli) with --json, --no-input, and built-in --format jq projection tailored specifically for coding agents.

Agent-Readiness Checklist

✓ JSON Output
✓ Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 24 / 25

Purpose-built for coding agents with --json, --no-input fail-fast mode, built-in --format jq expressions, and RC_API_KEY.

  • --json and --no-input prevent interactive hangs and stabilize schemas
  • Built-in --format <expr> filters JSON natively
Trust & Safety 22 / 25

Requires --yes to bypass destructive confirmations and supports --project-id and --profile scoping, though subscription edits impact live mobile apps.

  • Destructive commands gate on confirmation unless --yes is passed
  • Official RevenueCat Coding Agents guide documents safe flags
Setup & Portability 14 / 15

Distributed via Homebrew (RevenueCat/tap/rc), npm/npx (@revenuecat/cli), and native Go binaries for macOS, Linux, and Windows.

  • Zero-install npx @revenuecat/cli and brew install RevenueCat/tap/rc
Utility & Efficiency 13 / 15

Covers apps, offerings, packages, entitlements, paywalls, and customers cleanly from one binary.

  • Replaces manual dashboard clicks for mobile subscription configuration
Maintenance & Lineage 9 / 10

Official RevenueCat repository (RevenueCat/cli) under MIT license.

  • First-party RevenueCat open-source CLI
Docs & Verifiability 9 / 10

Dedicated CLI command reference and coding-agent guide on revenuecat.com/docs/tools/cli/agents.

  • Official command reference and agent integration docs

Security, Auth & Guardrails

Auth Modes
Env API Key Config File
Credential Storage

Stores multi-profile API keys locally in RevenueCat CLI config (--profile), or reads RC_API_KEY and RC_PROFILE environment variables for CI and agent sandboxes.

Side Effects
Read-Only Remote Write Destructive Billing Impact
Cost & Quotas

MIT open-source CLI; RevenueCat offers a free tier up to revenue thresholds and paid plans beyond.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# RevenueCat CLI (rc) Agent Rules
- Always pass `--json --no-input` so missing flags fail immediately instead of blocking on prompts.
- Authenticate via `RC_API_KEY` and scope mutations with explicit `--project-id`.
- Never pass `--yes` on delete or entitlement-revoking commands without explicit user confirmation.

Agent-Ready Command Recipes

Safe Read-Only Queries

List RevenueCat projects as JSON
rc projects list --json --no-input

Lists accessible RevenueCat projects with strict JSON output and fail-fast non-interactive behavior.

List project offerings with jq-style filtering
rc offerings list --project-id <project_id> --json --no-input --format '.items[].lookup_key'

Extracts offering lookup keys directly using the built-in --format filter without piping to external jq.

Controlled Writes & Previews

Create an entitlement in a RevenueCat project
rc entitlements create --project-id <project_id> --lookup-key pro --display-name "Pro" --json --no-input

Creates a new entitlement non-interactively and returns the created JSON resource.

Strengths for Agents

  • + --json --no-input plus built-in --format jq expressions make rc exceptionally agent-ready.
  • + Available both as a native Go binary via Homebrew and via npx @revenuecat/cli.

Caveats & Pitfalls

  • ! No global --dry-run flag across write commands; mutations apply immediately to the target --project-id.
  • ! Modifying live offerings or entitlements can directly affect active mobile app paywalls.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI