Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

trace-a-payment

Skill by superset-sh

Answers questions about money already moved through Stripe, such as why a charge failed or where an invoice or payout stands. It reads the linked Stripe objects instead of guessing from a dashboard total, and suits users who paste a Stripe id or ask about billing state.

  • Score 91
  • 17k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install trace-a-payment

Built from the published package, never by AI.

git clone --depth 1 https://github.com/superset-sh/superset /tmp/superset && mkdir -p ~/.claude/skills && cp -r /tmp/superset/plugins/stripe/skills/trace-a-payment ~/.claude/skills/trace-a-payment

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install trace-a-payment in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

trace-a-payment is an agent skill from superset-sh for answering questions about money that already moved through Stripe. It covers why a charge failed, what a customer was billed, and where an invoice, subscription or payout stands. The skill tells the assistant to read the chain of related objects rather than rely on one object or a dashboard total.

The skill starts by checking the Stripe account and whether it is in live or sandbox mode, then uses the id prefix to identify the object type. For failures it reads the decline details and the advice code. For revenue it nets off refunds and disputes, converts amounts by currency, and pages through lists. It is aimed at users who paste a Stripe id, ask why a payment failed, or want revenue, invoice or subscription state.

Written from the project's SKILL.md and checked against it.

What it can do

  • Account and mode checkStarts with get_stripe_account_info and names the account and mode in the answer.
  • Object lookup by id prefixMaps ch_, pi_, cus_, in_, sub_ and other prefixes to object types, then reads them.
  • Failure diagnosisReads last_payment_error and the charge outcome, including seller_message and advice_code.
  • Revenue and fee tracingFollows a charge to its balance transaction and nets off refunds and disputes.
  • Subscription health checkReads subscription status, current_period_end and cancel_at_period_end.
  • Currency-aware amountsConverts Stripe minor-unit amounts using the currency field before reporting them.

What you need

  • Access to the Stripe MCP server tools

Try asking

  • Why did the payment for charge ch_... fail?
  • What is customer cus_... currently paying?
  • Is subscription sub_... set to cancel at period end?

Good to know

  • Live mode and sandbox are separate, so an id from one returns not found in the other.
  • List requests default to 10 items, so counts should use stripe_analytics.
  • Stripe amounts are in the smallest currency unit, and JPY has no minor unit.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/stripe/skills/trace-a-payment/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: mcp__stripe__get_stripe_account_infomcp__stripe__stripe_api_searchmcp__stripe__stripe_api_detailsmcp__stripe__stripe_api_readmcp__stripe__stripe_analyticsmcp__stripe__get_balance_summarymcp__stripe__search_stripe_documentation

  • SKILL.md6 KB

Alternatives to trace-a-payment

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

trace-a-payment: common questions

Why does a Stripe charge fail?

Read the PaymentIntent's last_payment_error and the charge's outcome, especially seller_message and advice_code. The status alone does not explain the failure.

Is a charge amount the same as revenue?

No. The fee and net sit on the charge's balance transaction, and refunds and disputes create their own balance transactions that must be netted off.

Why does a Stripe lookup return no such charge?

The id may be from the other mode. Live mode and sandbox share no data, so an id from one returns not found in the other.

How do I install trace-a-payment?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is trace-a-payment free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is trace-a-payment safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to trace-a-payment?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

trace-a-payment Install

Add to stack

Loading.