Query Stripe customer and billing data from a synced PostgreSQL database. Use when the user asks about Stripe customers, subscriptions, invoices, charges, or any Stripe-related data.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install paymentsdb或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install paymentsdb⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/paymentsdb/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: stripe description: Query Stripe customer and billing data from a synced PostgreSQL database. Use when the user asks about Stripe customers, subscriptions, invoices, charges, or any Stripe-related data. ---
All the stripe data is sync in a postgresdb. You can query this db via exec by simply running ./query.sh "SELECT now();"
all the tables are under "stripe" schema and these are the tables:
CREATE TABLE stripe.accounts ( _raw_data jsonb NOT NULL, first_synced_at timestamp with time zone DEFAULT now() NOT NULL, _last_synced_at timestamp with time zone DEFAULT now() NOT NULL, _updated_at timestamp with time zone DEFAULT now() NOT NULL, business_name text, email text, type text, charges_enabled boolean, payouts_enabled boolean, details_submitted boolean, country text, default_currency text, created integer, api_key_hashes text[] DEFAULT '{}'::text[], id text, );
CREATE TABLE stripe.active_entitlements ( _updated_at timestamp with time zone DEFAULT timezone('utc'::text, now()) NOT NULL, _last_synced_at timestamp with time zone, _raw_data jsonb, _account_id text NOT NULL, object text, livemode boolean, feature text, customer text, lookup_key text, id text, );
CREATE TABLE stripe.balance_transactions ( _raw_data jsonb NOT NULL, _last_synced_at timestamp with time zone, _updated_at timestamp with time zone DEFAULT now(), _account_id text NOT NULL, id text, object text, amount bigint, available_on integer, created integer, currency text, description text, exchange_rate numeric, fee bigint, fee_details jsonb, net bigint, reporting_category text, source text, status text, type text, );
CREATE TABLE stripe.charges ( _updated_at timestamp with time zone DEFAULT timezone('utc'::text, now()) NOT NULL, _last_synced_at timestamp with time zone, _raw_data jsonb, _account_id text NOT NULL, object text, paid boolean, "order" text, amount bigint, review text, source jsonb, status text, created integer, dispute text, invoice text, outcome jsonb, refunds jsonb, updated integer, captured boolean, currency text, customer text, livemode boolean, metadata jsonb, refunded boolean, shipping jsonb, application text, description text, destination text, failure_code text, on_behalf_of text, fraud_details jsonb, receipt_email text, payment_intent text, receipt_number text, transfer_group text, amount_refunded bigint, application_fee text, failure_message text, source_transfer text, balance_transaction text, statement_descriptor text, payment_method_details jsonb, id text, );
CREATE TABLE stripe.checkout_session_line_items ( _updated_at timestamp with time zone DEFAULT timezone('utc'::text, now()) NOT NULL, _last_synced_at timestamp with time zone, _raw_data jsonb, _account_id text NOT NULL, object text, currency text, description text, price text, quantity integer, checkout_session text, id text, amount_discount bigint, amount_subtotal bigint, amount_tax bigint, amount_total bigint, );
CREATE TABLE stripe.checkout_sessions ( _updated_at timestamp with time zone DEFAULT timezone('utc'::text, now()) NOT NULL, _last_synced_at timestamp with time zone, _raw_data jsonb, _account_id text NOT NULL, object text, adaptive_pricing jsonb, after_expiration jsonb, allow_promotion_codes boolean, automatic_tax jsonb, billing_address_collection text, cancel_url text, client_reference_id text, client_secret text, collected_information jsonb, consent jsonb, consent_collection jsonb, created integer, currency text, currency_conversion jsonb, custom_fields jsonb, custom_text jsonb, customer text, customer_creation text, customer_details jsonb, customer_email text, discounts jsonb, expires_at integer, invoice text, invoice_creation jsonb, livemode boolean, locale text, metadata jsonb, mode text, optional_items jsonb, payment_intent text, payment_link text, payment_method_collection text, payment_method_configuration_details jsonb, payment_method_options jsonb, payment_method_types jsonb, payment_status text, permissions jsonb, phone_number_collection jsonb, presentment_details jsonb, recovered_from text, redirect_on_completion text, return_url text, saved_payment_method_options jsonb, setup_intent text, shipping_address_collection jsonb, shipping_cost jsonb, shipping_details jsonb, shipping_options jsonb, status text, submit_type text, subscription text, success_url text, tax_id_collection jsonb, total_details jsonb, ui_mode text, url text, wallet_options jsonb, id text, amount_subtotal bigint, amount_total bigint, );
CREATE TABLE stripe.coupons ( _updated_at timestamp with time zone DEFAULT timezone('utc'::text, now()) NOT NULL, _last_synced_at timestamp with time zone, _raw_data jsonb, object text, name text, valid boolean, created integer, updated integer, currency text, duration text, livemode boolean, metadata jsonb, redeem_by integer, amount_off bigint, percent_off double precision, times_redeemed bigint, max_redemptions bigint, duration_in_months bigint, percent_off_precise double precision, id text, );
CREATE TABLE stripe.credit_notes ( _last_synced_at timestamp with time zone, _raw_data jsonb, _account_id text NOT NULL, object text, created integer, currency text, customer text, customer_balance_transaction text, discount_amounts jsonb, invoice text, lines jsonb, livemode boolean, memo text, metadata jsonb, number text, pdf text, reason text, refund text, shipping_cost jsonb, status text, tax_amounts jsonb, type text, voided_at text, id text, amount bigint, amount_shipping bigint, discount_amount bigint, out_of_band_amount bigint, subtotal bigint, subtotal_excluding_tax bigint, total bigint, total_excluding_tax bigint, );
CREATE TABLE stripe.customers ( _updated_at timestamp with time zone DEFAULT timezone('utc'::text, now()) NOT NULL, _last_synced_at timestamp with time zone, _raw_data jsonb, _account_id text NOT NULL, object text, address jsonb, description text, email text, metadata jsonb, name text, phone text, shipping jsonb, created integer, currency text, default_source text, delinquent boolean, discount jsonb, invoice_prefix text, invoice_settings jsonb, livemode boolean, next_invoice_sequence integer, preferred_locales jsonb, tax_exempt text, deleted boolean, id text, balance bigint, );
CREATE TABLE stripe.disputes ( _updated_at timestamp with time zone DEFAULT timezone('utc'::text, now()) NOT NULL, _last_synced_at timestamp with time zone, _raw_data jsonb, _account_id text NOT NULL, object text, amount bigint, charge text, reason text, status text, created integer, updated integer, currency text, evidence jsonb, livemode boolean, metadata jsonb, evidence_details jsonb, balance_transactions jsonb, is_charge_refundable boolean, payment_intent text, id text, );
...
安装 Stripe 后,可以对 AI 说这些话来触发它
Help me get started with Stripe
Explains what Stripe does, walks through the setup, and runs a quick demo based on your current project
Use Stripe to query Stripe customer and billing data from a synced PostgreSQL dat...
Invokes Stripe with the right parameters and returns the result directly in the conversation
What can I do with Stripe in my data & analytics workflow?
Lists the top use cases for Stripe, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/paymentsdb/ 目录(个人级,所有项目可用),或 .claude/skills/paymentsdb/(项目级)。重启 AI 客户端后,用 /paymentsdb 主动调用,或让 AI 根据上下文自动发现并使用。
Stripe 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Stripe 可免费安装使用。请查阅仓库了解许可证信息。
Query Stripe customer and billing data from a synced PostgreSQL database. Use when the user asks about Stripe customers, subscriptions, invoices, charges, or any Stripe-related data.
Stripe 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using Stripe
Identifies repetitive steps in your workflow and sets up Stripe to handle them automatically