An AgentSkills-compatible skill that enables AI agents to query RevenueCat metrics, customer data, and documentation. This skill provides AI tools with the ability to interact with the RevenueCat REST API v2 and search RevenueCat documentation.
- API Integration: Query RevenueCat REST API v2 endpoints for metrics, customers, subscriptions, and more
- Comprehensive Documentation: Local reference files covering all major RevenueCat API domains
- Progressive Disclosure: Structured documentation that loads only what's needed to optimize context usage
- Bash Script Wrapper: Simple
rc-apiscript for making authenticated API calls
- A RevenueCat v2 secret API key (set as
RC_API_KEYenvironment variable)
- Clone this repository to your local machine
- Set your RevenueCat API key:
export RC_API_KEY="your_api_key_here"
- The skill will be automatically discovered if placed in a standard skills directory
- Clone this repository
- Configure the
RC_API_KEYenvironment variable in your OpenClaw settings - OpenClaw will automatically detect and load the skill from the
revenuecat/directory
- Clone this repository
- Point your AI tool to the
revenuecat/directory - Ensure the
RC_API_KEYenvironment variable is set in your environment
Once installed, AI agents can automatically invoke this skill when you ask questions about:
- RevenueCat metrics and analytics (MRR, churn, revenue)
- Customer data and subscriptions
- Products, offerings, and entitlements
- RevenueCat documentation and API usage
"What's our current MRR?"
"Show me the most recent customers"
"How do I create a product in RevenueCat?"
"What are the rate limits for the RevenueCat API?"
The included rc-api.sh script simplifies API calls:
# List projects (typically first call to get project ID)
./revenuecat/scripts/rc-api.sh /projects
# Get customers for a project
./revenuecat/scripts/rc-api.sh /projects/{project_id}/customers
# Get a specific customer
./revenuecat/scripts/rc-api.sh /projects/{project_id}/customers/{customer_id}The script automatically:
- Validates that
RC_API_KEYis set - Sets proper authentication headers
- Points to the correct API base URL (
https://api.revenuecat.com/v2)
The skill includes comprehensive local documentation for:
- Core Concepts: Authentication, pagination, error handling, rate limits
- Customer Management: CRUD operations, attributes, aliases, entitlements
- Subscription Operations: Listing, cancellation, refunds, management URLs
- Product Catalog: Products, offerings, packages, entitlements
- Analytics: Overview metrics, charts, and chart options
- Advanced Features: Paywalls, integrations, virtual currencies
In addition to local references, agents can access live RevenueCat documentation:
- Main docs: https://www.revenuecat.com/docs
- LLM-optimized index: https://www.revenuecat.com/docs/llms.txt
- Markdown versions: Add
.mdto any documentation URL
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
When adding new reference documentation:
- Keep files focused on a single domain
- Use clear, descriptive filenames
- Update the reference table in
revenuecat/SKILL.md - Follow the existing format with clear examples
When modifying the rc-api.sh script:
- Maintain backward compatibility
- Keep error messages clear and actionable
- Test with various API endpoints
This skill is licensed under the terms specified in LICENSE.
For issues specific to this skill:
- Open an issue in this repository
For RevenueCat API questions:
- Visit the RevenueCat Help Center
- Check the RevenueCat Documentation