revenuecat-cli
Drive RevenueCat from the terminal with the `rc` CLI, an alternative to the RevenueCat MCP server for humans, CI, and agents. Covers install, authentication, command discovery, and output conventions. Referenced by the other RevenueCat skills whenever they offer a CLI path.
How do I install this agent skill?
npx skills add https://github.com/revenuecat/ai-toolkit --skill revenuecat-cliIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides documentation and instructions for using the official RevenueCat command line interface (@revenuecat/cli). It covers installation via standard package managers and command usage for managing subscriptions, apps, and products. The skill utilizes official vendor resources and follows standard security practices for secret management.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
revenuecat-cli: driving RevenueCat from the terminal
rc is the official RevenueCat command line interface. It covers most of the same project, app, product, entitlement, offering, paywall, chart, and store-state operations as the RevenueCat MCP server (the CLI adds paywall generate/edit; the MCP server has some SDK feature-gate and experiment tools the CLI does not). Use whichever surface is available; this skill is the reference for the CLI path.
Install and authenticate
- Run without installing:
npx @revenuecat/cli <command>(good for CI and agent sandboxes). - Or install:
brew install RevenueCat/tap/rc, ornpm install -g @revenuecat/cli. - Authenticate once with
rc auth login(browser OAuth), or setRC_API_KEY. Non-interactively, pass--api-keyor setRC_API_KEY. - The CLI authenticates with a RevenueCat secret key (
sk_...); that is correct because the CLI is a server-side tool. This is not the same as the public SDK keys (appl_/goog_/amzn_) you fetch for client app code. Never put a secret key in an app.
Discover the surface
The CLI is self-describing. Don't guess a command or flag, ask the binary:
rc commands --jsonlists the full command tree. Capability IDs appear in colon form (apps:create,products:store:plan).rc commands --schemas --jsonreturns every command's flags, args, and examples in one call. This is the most reliable way for an agent to discover per-command detail.rc schema <command> --jsonreturns detail for a single command, but the command must be space-separated tokens (rc schema apps create), not the colon form fromrc commands.rc schema apps:createsilently returns the root schema, so when in doubt userc commands --schemas.rc --helpandrc <noun> --helpgive human-readable help.
Output conventions
--jsongives stable, machine-readable output. Data goes to stdout, progress and chatter to stderr.- The envelope is
{ "data": ... }, but the shape underdatavaries by command: lists are usuallydata.items[], though some commands use other keys (charts usedata.names[]). Inspect the schema or the response rather than assumingdata.items. --no-inputnever prompts, it fails instead. Use it in scripts, CI, and agents.--yes/-yskips confirmation prompts on mutating commands.--project-id <id>selects the project (or set a default withrc projects use). Pass it explicitly in scripts.- Exit codes:
0success,1error,2bad usage,4auth,5not found,6rate limited.
Common operations
Look up exact flags with rc commands --schemas --json (or rc schema <space-separated command>). The common nouns:
- Projects and apps:
rc projects list|create|use,rc apps list|create|keys - Catalog:
rc products ...,rc entitlements ...,rc offerings ...,rc packages ... - Store credentials and state:
rc setup apple|google,rc products store plan|apply|sync - Data:
rc charts list|show,rc customers ... - Paywalls:
rc paywalls generate|edit|publish(dashboard design/audit playbook:revenuecat-paywall-design) - Dashboard:
rc open [section] [id] --print(resource URLs:revenuecat-dashboard-links)
Prefer the specific command. Drop to rc api <METHOD> <path> only for endpoints not yet in the CLI surface.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/revenuecat/ai-toolkit/revenuecat-cli">View revenuecat-cli on skillZs</a>