Agent skill
A skill is a static knowledge file your agent loads at startup. It teaches the agent which API to use, how to authenticate, which models to pick, and what mistakes to avoid.Install the Decart skill
Run this in your project directory:The CLI auto-discovers the skill and installs it to your detected coding agents.
| Your agent learns | Details |
|---|---|
| API selection | Which API (Realtime, Queue, Process) fits your use case |
| Model selection | Which model for character transform, style transfer, video gen, image gen |
| Authentication | Server-side API keys vs client-side token generation |
| SDK patterns | Correct code patterns for JavaScript and Python |
| Common mistakes | Camera resolution, API key exposure, cleanup, moderation handling |
Install to a specific agent
Install to a specific agent
Install globally (all projects)
Install globally (all projects)
Skills work with 30+ coding agents including Claude Code, Cursor, GitHub Copilot, Windsurf, and OpenCode. See the full list.
MCP server
The MCP (Model Context Protocol) server gives your agent a live search tool that queries Decart documentation on demand. Unlike the skill which is loaded once, MCP lets the agent look up specific details — exact parameters, migration guides, changelog entries — as it works. Add the Decart MCP server to your agent:- Claude Code
- Codex
- Cursor
Skill vs MCP
| Skill | MCP | |
|---|---|---|
| How it works | Pre-loaded context at startup | Live search during conversation |
| Best for | API patterns, model selection, gotchas | Exact parameters, examples, latest changes |
| Setup | npx skills add (one time) | Add MCP config (one time) |
| Token cost | Loaded once (~200 lines) | Per-search, only what’s needed |
Prompting tips
Get better results from your agent by being specific about what you’re building:- Name the API — “Use the Realtime API” or “Use the Queue API” instead of just “use Decart”
- Specify the model — “Use
lucy_2_rtfor character transform” rather than letting the agent guess - Mention the SDK — “Using the JavaScript SDK” or “Using Python” so it generates the right syntax
- Ask for client tokens — “Make sure to use client tokens for the browser code” for frontend work
- Reference the platform — “Check the Decart docs for the exact parameters” triggers the MCP search