Overview
Agent Skills are reusable capabilities that enhance what AI coding assistants can do when working with Dodo Payments. They provide procedural knowledge and best practices that help agents accomplish specific tasks more effectively - from integrating checkout flows to setting up usage-based billing.Think of skills as plugins for your AI assistant. They teach your agent how to implement Dodo Payments features correctly, following our recommended patterns and best practices.
- Claude Code - Anthropic’s CLI coding assistant
- OpenCode - Open source AI coding agent
- Cursor - AI-first code editor
- Other MCP clients - Any agent supporting the skills protocol
Available Skills
| Skill | Description |
|---|---|
| dodo-best-practices | Comprehensive guide to integrating Dodo Payments with best practices |
| webhook-integration | Setting up and handling webhooks for payment events |
| subscription-integration | Implementing subscription billing flows |
| checkout-integration | Creating checkout sessions and payment flows |
| usage-based-billing | Implementing metered billing with events and meters |
| billing-sdk | Using BillingSDK React components |
| license-keys | Managing license keys for digital products |
Installation
Choose your preferred installation method based on your AI coding assistant.- Skills CLI
- Claude Code
- OpenCode
Install skills using the universal skills CLI that works with any MCP-compatible agent:Or install individual skills as needed:
Using Skills
Once installed, your AI assistant can leverage these skills when you ask it to implement Dodo Payments features. Here are some example prompts:Best Practices
Webhooks
Subscriptions
Checkout
Usage-Based Billing
BillingSDK
License Keys
How Skills Work
Skills provide your AI assistant with:- Procedural Knowledge - Step-by-step instructions for implementing features
- Code Templates - Production-ready code patterns and snippets
- Best Practices - Recommended approaches for security, error handling, and UX
- Context Awareness - Understanding of how different Dodo Payments features work together
- Understand the correct implementation approach
- Generate accurate, working code
- Follow Dodo Payments conventions
- Handle edge cases and errors properly
Skills complement the MCP Server and Sentra. Use MCP for API operations, Sentra for guided integration, and Skills for enhanced AI assistant capabilities.
Comparison with Other Tools
| Tool | Purpose | Best For |
|---|---|---|
| Agent Skills | Enhance AI assistant knowledge | AI-assisted development with any MCP client |
| MCP Server | Execute API operations | Direct API access from AI assistants |
| Sentra | Guided integration assistant | Interactive billing integration in IDE |