All Skills

Autonomous payment and commerce management over the Stripe API.

u
$npx skills add udaysagarm/SpaceBlack --skill stripe-skill

Stripe Skill

This skill grants the agent the ability to act as your digital accountant / payment terminal using the Stripe REST API.

The Single Tool: stripe_act

All operations route through the stripe_act tool using the action parameter.

Important: All queries require the STRIPE_API_KEY (Secret Key, starts with sk_alive_ or sk_test_). Ensure this is saved securely in the configuration menu.

Non-Destructive Actions

These are safe to run autonomously to fetch context:

ActionDescriptionRequired params
get_balanceCheck account balance
list_customersSearch/List existing customersemail (optional)
list_productsList active Stripe products
list_pricesGet prices for catalog

Mutation and Financial Actions

**CRITICAL SAFETY GUARDRAIL:** You, the Agent, **MUST NEVER** execute `create_payment_intent` or `create_charge` without explicitly asking the human first. If you assume permission, you are stealing funds. Only execute once the phrase "Yes, charge it" or equivalent is explicitly stated by the human in the *immediate previous message*.
ActionDescriptionRequired params
create_customerAdds a user to Stripeemail, name
create_checkout_sessionGenerate a hosted payment linkprice_id, success_url, cancel_url
create_payment_intentInitialize a direct paymentamount (cents format, eg 500 for $5), currency
create_chargeRun a direct charge (legacy)amount (cents), currency, customer_id
  1. Get the price ID: stripe_act(action="list_prices") (Find the ID in the response, e.g., price_1234)
  2. Generate session: stripe_act(action="create_checkout_session", price_id="price_1234", success_url="https://example.com/success", cancel_url="https://example.com/cancel")
  3. Return the url from the JSON response to the user so they can pay.