Skills + CLI
Use the official CLI to work with DumplingAI’s Unified API Platform directly from your terminal. The CLI is built around the/api/v2 workflow:
- search the catalog
- inspect the capability or endpoint you want
- run it with JSON input
- npm package: dumplingai-cli
- source code: github.com/DumplingAI/cli
Install
dumplingai init walks through authentication and can install bundled agent skills in the same flow.
Authenticate
Common commands
| Command | Description |
|---|---|
dumplingai init | Authenticate and optionally install bundled agent skills |
dumplingai login --api-key <key> | Save API credentials |
dumplingai logout | Remove stored credentials |
dumplingai status | Show CLI version, auth status, and /v2 balance context |
dumplingai env pull | Write API key into .env |
dumplingai catalog search <prompt> | Search /api/v2 capabilities, providers, and endpoints |
dumplingai catalog details <type> <id> | Inspect a specific catalog object |
dumplingai run <type> <id> --input '<json>' | Execute a capability or endpoint |
dumplingai balance | Show balance and budget information |
dumplingai usage | Show request usage logs |
dumplingai transactions | Show credit transaction history |
dumplingai view-config | Print resolved configuration |
dumplingai version | Print CLI version |
Examples
Output and automation tips
- Use
--input-filewhen your request body is easier to manage as JSON on disk. - Redirect large JSON responses into
.dumplingai/or another local file when you want to inspect them incrementally. - Use
dumplingai env pullwhen you want the CLI key written into a local.envfile for adjacent tooling.
Agent skills
The CLI repo also ships packaged skills for supported coding agents. These help agents discover DumplingAI APIs, choose the right CLI commands, and reuse workflow templates.Install
For Codex, Claude Code, and Cursor,dumplingai init is the recommended path because it can install bundled skills during setup.
Use manual installation only if:
- you skipped skills during
dumplingai init - you want to selectively install skills
- you are using another compatible agent environment
dumplingai init and install skills during setup.
Supported environments
Local agent/runtime folders such as these are intentionally supported:./.claude/skills/dumplingai-cli(Claude Code)./.agents/skills/dumplingai-cli(Agents)./.cursor/skills/dumplingai-cli(Cursor)./.codex/skills/dumplingai-cli(Codex)
What gets installed
Depending on the package you install, these skills can include API discovery guidance, CLI usage patterns, and reusable workflow templates such as YouTube-to-blog-post or social media generation.Validate installation
Inspect one of the installed directories for your agent environment:Next steps
- Use DumplingAI with AI clients: MCP Server
- Learn the
/v2model: Unified API Platform - Browse
/v2capabilities and endpoints: API Reference