creem-cli
Original:🇺🇸 English
Translated
Use this skill when you need to operate the Creem CLI for authentication checks, products, customers, checkouts, subscriptions, transactions, configuration, monitoring, or terminal automation workflows. Prefer it for agent-driven Creem tasks that should use real CLI commands and JSON output instead of dashboard clicks or guessed API calls.
5installs
Added on
NPX Install
npx skill4agent add santigamo/creem-cli-developer-toolkit creem-cliTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Creem CLI
creemUse this skill when the user wants to operate Creem from a terminal or through an AI agent. Prefer the CLI over dashboard instructions when the task is supported directly by .
creemPrerequisites
- The CLI must already be installed.
creem - The user must already be authenticated before agent-driven work starts.
- Start in test mode unless the user explicitly asks to use live mode.
- Confirm the current session with:
bash
creem whoami --jsonSecret Safety
- Never read, print, summarize, upload, or parse .
~/.creem/config.json - Never ask the user to paste API keys into chat.
- Never run inside an agent or LLM session.
creem login --api-key ... - If authentication is missing, tell the user to authenticate manually outside the session, then continue with .
creem whoami --json - Never switch to live mode unless the user explicitly asks for production operations.
Agent Rules
- Prefer on every command so outputs are machine-readable.
--json - Run before mutating operations.
creem whoami --json - List or inspect resources before mutating them. Do not guess IDs.
- Do not use the interactive browser mode (,
creem products, etc.) in agent sessions.creem customers - Do not change the global CLI output format unless the user explicitly asks. Use per-command instead.
--json - For cancellations, recommend unless the user explicitly wants immediate access removal.
--mode scheduled - Treat CLI money amounts as minor units, not major units. For EUR and USD, means
500, not5.00.500.00 - When summarizing prices or transactions for humans, convert minor units into a decimal amount with currency. Do not repeat raw CLI numbers as if they were full euros or dollars.
- For , use
--success-url(nothttp://) when pointing to localhost. Local dev servers don't serve TLS, sohttps://causeshttps://localhost.ERR_SSL_PROTOCOL_ERROR
Money Amounts
Creem CLI prices and transaction amounts are returned in minor units.
- means
--price 1999, not19.99.1999.00 - from the CLI means
500 EUR, not5.00 EUR.500.00 EUR - If you are explaining a transaction to the user, present both forms when helpful: raw CLI value plus human value.
Example:
text
tran_6QWuvWPj9s9twH6vvdpOI8 | paid | 500 EURInterpret that as:
text
paid transaction for 5.00 EUR (CLI raw amount: 500 minor units)Quick Reference
| Action | Command |
|---|---|
| Check auth and environment | |
| Show config | |
| List config keys | |
| List products | |
| Get product | |
| Create product | |
| List customers | |
| Get customer by ID | |
| Get customer by email | |
| Billing portal link | |
| Create checkout | |
| Get checkout | |
| List subscriptions | |
| Filter subscriptions | |
| Get subscription | |
| Pause subscription | |
| Resume subscription | |
| Cancel subscription safely | |
| List transactions | |
| Get transaction | |
High-Value Workflows
Create a checkout and verify it
bash
creem whoami --json
creem checkouts create --product prod_XXXXX --success-url http://localhost:3000/success --json
creem transactions list --limit 10 --json
creem subscriptions list --limit 10 --jsonUse this flow when the user wants to create a payment link, inspect the returned checkout, then verify whether the resulting transaction or subscription exists.
When reading the returned amounts, convert minor units before explaining totals to the user.
Create and inspect products
bash
creem whoami --json
creem products create --name "Template Pack" --description "50 premium templates" --price 4999 --currency USD --billing-type onetime --tax-mode exclusive --tax-category digital-goods-service --json
creem products list --json
creem products get prod_XXXXX --jsonLook up customers and open the billing portal
bash
creem customers list --json
creem customers get --email user@example.com --json
creem customers billing cust_XXXXX --jsonUse customer lookup before subscription or transaction investigations so the next commands use real IDs.
Pause, resume, or cancel subscriptions
bash
creem subscriptions list --status active --json
creem subscriptions pause sub_XXXXX --json
creem subscriptions resume sub_XXXXX --json
creem subscriptions cancel sub_XXXXX --mode scheduled --jsonPrefer for cancellation unless the user explicitly asks for immediate removal of access.
--mode scheduledReview transactions and subscription health
bash
creem transactions list --limit 20 --json
creem subscriptions list --status active --json
creem subscriptions list --status paused --json
creem subscriptions list --status canceled --json
creem subscriptions list --status scheduled_cancel --jsonFor scripted monitoring, parse JSON with instead of relying on table output.
jqInspect or change CLI configuration only when requested
bash
creem config show --json
creem config get environment --json
creem config set environment testDo not change or unless the user explicitly asks.
environmentoutput_formatAutomation Patterns
bash
# Latest transaction ID
creem transactions list --limit 1 --json | jq -r '.[0].id'
# Count active subscriptions
creem subscriptions list --status active --json | jq 'length'
# Bulk checkout generation
for PRODUCT_ID in prod_AAA prod_BBB prod_CCC; do
creem checkouts create --product "$PRODUCT_ID" --json | jq -r '.checkout_url'
doneWhen automating, keep the workflow read-first and fail on missing IDs instead of guessing.
More Docs
- Docs index: https://docs.creem.io/llms.txt
- Creem docs home: https://docs.creem.io
- CLI reference: use the docs index above to locate the latest Creem CLI page before drilling deeper.