Skip to main content
AI coding assistants like Claude Code, Cursor, and Windsurf are transforming how developers build software. To help you integrate Creem faster and with best practices built-in, we’ve created an official Creem API Skill that gives AI assistants deep knowledge about our payment infrastructure.

Quick Install for Claude Code

Install the Creem skill with a single command:
Then install the skill using either method: Option A: Use the interactive UI (easiest)
  1. Type /plugin and press Enter
  2. Go to the Discover tab
  3. Search for creem-api
  4. Press Enter to install
Option B: Use the command directly
That’s it! Claude Code now has complete knowledge of the Creem API and will generate production-ready integration code when you ask about payments, subscriptions, webhooks, or licenses.
The skill teaches your assistant how Creem works. If you also want it to act — create products, open checkouts, cancel subscriptions — add the MCP server, which exposes 49 API tools from the same creem package.

What is a Skill?

A skill is a structured set of instructions and reference materials that AI assistants use to provide more accurate, contextual help for specific tasks. When you load the Creem skill, your AI assistant gains comprehensive knowledge about:
  • Every documented API endpoint with request/response schemas
  • Webhook events and signature verification
  • Common integration patterns and workflows
  • Best practices for security and error handling
  • Test mode configuration

Get the Skill

Claude Code (Recommended)

One-line install via the plugin marketplace: /plugin marketplace add armitage-labs/creem

GitHub Repository

Browse or fork the skill files directly

Any Other Tool

Copy the folder into your project: npx degit armitage-labs/creem/packages/docs/skills/creem-api/skills/creem-api creem-skill

Skill Contents

The skill includes four comprehensive reference files:

What’s Covered

  • Checkouts: Create and retrieve checkout sessions
  • Products: Create, retrieve, and list products
  • Customers: Manage customers and portal links
  • Subscriptions: Full lifecycle management (get, update, upgrade, cancel, pause, resume)
  • Licenses: Activation, validation, and deactivation
  • Discounts: Create, retrieve, and delete promotional codes
  • Transactions: Query payment history
  • Basic SaaS subscription flows
  • One-time purchases with digital delivery
  • License key systems for desktop/mobile apps
  • Seat-based team billing
  • Freemium with upgrade flows
  • Affiliate and referral tracking
  • Webhook signature verification (HMAC-SHA256)
  • Error handling patterns
  • Test mode development
  • Security considerations
  • Idempotency and retry handling

Setup by AI Tool

Claude Code

Recommended Method: Use the plugin marketplace for the easiest setup experience.
One-Line Install (Plugin Marketplace) Claude Code’s plugin marketplace makes installation effortless:
1

Add the Marketplace

Open Claude Code and run:
2

Install the Skill

Option A: Interactive UI (easiest)Type /plugin, go to the Discover tab, search for creem-api, and press Enter to install.Option B: Command
3

Start Building

Ask Claude to help with Creem integration:
Managing the Plugin
Alternative: Direct Reference If you prefer not to use the marketplace, you can reference the skill directly in any conversation:

Cursor

Cursor supports adding context through multiple methods: Option 1: Add to Project
  1. Pull just the skill directory into your project:
  2. Reference the skill files in your conversations using @ mentions:
Option 2: Custom Instructions Add the skill content to your project’s .cursorrules file:
Option 3: Docs Integration Add the Creem documentation to Cursor’s docs:
  1. Open Cursor Settings → Features → Docs
  2. Add: https://docs.creem.io
  3. Cursor will index our documentation for context

Windsurf

Windsurf supports custom knowledge through its Cascade feature:
  1. Pull just the skill directory:
  2. Add to your project’s knowledge base in Windsurf settings
  3. Reference in conversations:

Other AI Tools

For other AI coding assistants (GitHub Copilot Chat, Cody, Continue, etc.):
  1. Pull the skill files into a dedicated folder:
  2. Add that folder to your tool’s context or knowledge base
  3. Reference in context when asking questions about Creem integration
  4. Copy relevant sections into your conversation when needed
Most AI tools support adding files to conversation context - simply include the relevant skill file when working on payment integration.

Example Usage

Once the skill is loaded, you can ask natural language questions and get production-ready code:

Creating a Checkout

Handling Webhooks

License Key Integration


Why Use the Skill?

Faster Development

Skip reading documentation - describe what you want and get working code instantly

Best Practices Built-in

Generated code includes security patterns, error handling, and production considerations

Always Up-to-Date

We maintain the skill alongside our API - you always get current patterns

Comparison


Skill vs SDK

The Creem skill is designed for direct API integration and complements our SDKs:
The skill focuses on the REST API. For SDK-specific help, see our TypeScript SDK, Next.js SDK, or Better Auth documentation.

Contributing

Found an issue or want to improve the skill? We welcome contributions:

Report Issues

Found a bug or incorrect information? Let us know

Contribute

Submit improvements or new workflow examples

Next Steps

Install the Skill

Run /plugin marketplace add armitage-labs/creem in Claude Code

API Reference

Explore the full API documentation

Webhooks Guide

Learn about real-time event handling

Test Mode

Set up your development environment