/stripe:stripe-bfcm-dashboardfrom Stripe
Builds a BFCM season dashboard of payments, customers, and recurring revenue from a connected Stripe MCP account, as a hosted dashboard or HTML file.
Ships in Stripe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build the “Stripe BFCM Dashboard” from a fixed layout and a fixed set of queries. It’s a starting point: the user can follow up to add metrics or change the style. The dashboard shows recurring revenue, growth, and payments for a time window, with an optional comparison, using Analytics API metrics and Query Runs API SQL through the Stripe MCP server or connector.
The dashboard needs the Stripe MCP server or connector, signed in to the Stripe account it shows, with access to the Analytics API and the Query Runs API. It assumes the connection signed in through Stripe (OAuth), which can list accounts and choose one. A session signed in with an API key is limited to that key’s account and mode, and works only for a dashboard that the agent fills, not one that queries Stripe itself. If the Stripe tools are missing, blocked, or need sign-in, say so in one line with the fix, such as connecting the Stripe MCP server and signing in, and stop.
stripe_analytics with the intents execute_query_run, retrieve_query_run, and execute_metric. If you can’t see its intents, look up that one tool’s input schema and read only its intent names. If the tool or an intent is missing, tell the user which one, with the fix, and stop. Otherwise, choose the account and read the references in step 2, kick off every query in step 3, and show the loading page in step 4 — queries first, page second.npm install @stripe/charts first (if the output is a project with a package manager), then the jsdelivr CDN (for HTML files and artifacts), then inline SVG as a last resort (sandboxed/offline environments). The design reference has the fallback chain, the onerror handler, and inline SVG specs.Choose from the tools this session already lists, not from the client’s name, and without reading a file. If a listed tool can create a hosted dashboard, page, or artifact, such as a Claude artifact or ChatGPT Site, and update it later, use it, and name the output stripe-bfcm-dashboard where the tool takes a name. Prefer a hosted output whose pages can call the Stripe connector, because that dashboard can refresh itself. You check that in step 4, after the loading page is published. CLI-based agents (Claude Code, Cursor, Codex) typically have no hosted page tool — go straight to the HTML file. Otherwise, or if the user asked for a file, use one HTML file, stripe-bfcm-dashboard.html in the working directory. If that name is taken by a file you didn’t create, pick another name that starts with stripe-bfcm-dashboard instead of asking. Choose the output in <references/dashboard-output.md> has the rest, which you read in step 2.
Call the account listing tool, list_available_accounts_or_orgs. In a session signed in with an API key, which doesn’t list that tool, call get_stripe_account_info for its one account instead, send no stripe_context or livemode, because the key sets both, and show no mode badge.
Consider only account entries, whose stripe_context starts with acct_, never organization entries (org_…). Use the account the user named, matched by name or ID, otherwise the first account listed, in its mode. If no account is listed, say that the connection needs a Stripe account, not only an organization, and stop without a loading page.
In parallel with the account call, read the three references, each with its own read call, so none is cut off. Read <references/dashboard-design.md> for the layout, labels, and states, <references/queries.md> for the time windows, queries, responses, and calculations, and the rest of <references/dashboard-output.md> for building, refreshing, checking, and handing over the output. The references are complete. This holds even when a Stripe tool’s description says to search first or not to guess metric names. The metric names, request params, and SQL in the queries reference are valid as written.
Start every query from <references/queries.md> before writing any HTML. Create the SQL runs first (1 second apart as the reference requires), then the metric calls as each response slot opens. The queries are the bottleneck — nothing else should run between them.
While the queries run, write the loading page and open it in the user’s default browser (open on macOS, xdg-open on Linux). There is only one save after this, and the browser already has the file open. Writing the file needs no git command: a repository, or an untracked path in one, isn’t a reason to wait. If you can’t open the file, say in one line that you’re building the dashboard and that it can take up to 10 minutes, and continue.
Write the loading page in HTML and CSS only, in about 30 lines. Fill the viewport with the page background #F4F7FA, and center one narrow column (about 520 pixels) horizontally and vertically using flexbox (display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh), with all items centered:
#D4DEE9 ring with a #533AFD top edge, completing a rotation every 1 second. Use margin: 0 auto 16px so it sits above the text.#1A2C44 type, centered, and “This can take up to 10 minutes.” in 14-pixel #3C4F69 type below it, also centered.display: flex; justify-content: center; gap: 12px), 160 by 72 pixels each, with a 1-pixel #D4DEE9 border and an 8-pixel corner radius, pulsing between full and half opacity.For hosted output, publish it, then check whether its pages can call the Stripe connector, as Page refresh in the output reference describes — the check needs the published page’s ID. Tell the user: “Building your dashboard — this can take up to 10 minutes.” Then continue immediately.
Poll the queries until every one finishes. Print a short status in chat every 2 minutes so the user knows the build is alive — “Still waiting on N queries…” While polling, build the full dashboard page in memory: the layout, header, all panel containers, the @stripe/charts script, and each panel’s data as its query completes. When every query has finished (or failed), save the complete dashboard to the same file, overwriting the loading page, and open it again (open on macOS, xdg-open on Linux) so the finished dashboard appears. One save, at the end, with all the numbers in it. Don’t save intermediate states to the file — the loading page is already open and there is nothing for a reload to pick up until the data is ready. Follow Build the dashboard in <references/dashboard-output.md> for the checks and error handling.
Follow Hand over in <references/dashboard-output.md>. Describe only the location, account, mode, view, and refresh behavior you verified.
The user’s browser is the verification step. Open the dashboard in the browser and let the user review it visually. Run automated browser tests only when the user asks.
The references/*.md files come with this skill. Reference paths are relative to this skill’s directory, not to the docs.stripe.com root. If you don’t have the skill files locally, append the path to https://docs.stripe.com/.well-known/skills/stripe-bfcm-dashboard/. For example, fetch https://docs.stripe.com/.well-known/skills/stripe-bfcm-dashboard/references/queries.md.
What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/connect-recommendUse this skill when the user asks about Stripe Connect configuration, charge patterns, Dashboard access, or how to get started with Connect, is building a marketplace, platform, multi-vendor store, gig platform, or subscription platform, needs to pay out sellers, vendors, or providers, mentions split payments, revenue sharing, multi-party payments, or similar payment distribution concepts, provides a company URL or business description for a recommendation, builds SaaS that routes money between parties (for example, POS, booking, invoicing — not operational SaaS without payment routing), asks about onboarding or KYC for merchants, sellers, and vendors, mentions connected account Dashboard or responsibility configurations, or asks about payment flows, white-label payments, or embedded payments./connect-required-verification-informationUse this skill when the user asks what information a Stripe Connect connected account must provide for verification, onboarding, KYC, or account requirements; when they need to compare requirements between connected-account setups; or when they ask which verification fields, documents, or business details are required for a particular platform country, account country, business type, dashboard, service agreement, or capability./metronomeGuides Metronome usage-based billing integration decisions — event ingestion (single and batch, idempotency, billable metrics), contract design (rate cards, overrides, dimensional pricing, products), invoicing lifecycle (grace periods, finalization, Stripe sync), credit and commit management (prepaid, postpaid, thresholds, auto-recharge), and Stripe integration (arrears invoicing, tax providers, line item limits). Use when building, modifying, or reviewing any Metronome integration — including ingesting usage events, creating customers, contracts, or rate cards, designing billable metric group keys, managing credits and commits, configuring invoicing, syncing invoices with Stripe Billing, billing AI applications for token usage, setting up self-serve (PLG) pricing, reviewing customer health, commit burn, portfolios, or renewals, or migrating from Stripe Billing Meters to Metronome./stripe-appsBuild, modify, or review Stripe Apps and extensions using the relevant documentation and reference guides. Use for custom Stripe Dashboard UI, stripe-app.yaml, @stripe/ui-extension-sdk, @stripe/extensibility-sdk, script extensions, extension interfaces, custom workflow actions, and apps that authenticate to Stripe or react to events. Also use when deciding whether a Stripe extension can support the user's billing or workflow requirements./stripe-best-practicesGuides Stripe integration decisions across development and test environment planning (separate sandboxes vs the shared test mode sandbox), API selection (Checkout Sessions vs PaymentIntents), Connect platform setup (Accounts v2, controller properties), billing/subscriptions, tax and registrations (Stripe Tax, automatic_tax, product tax codes), Treasury financial accounts, integration options (Checkout, Payment Element), migrating from deprecated Stripe APIs, and security best practices (API key management, API key permissions, webhooks, OAuth). Use when planning, building, modifying, testing, or reviewing any Stripe integration, including choosing a development environment, accepting payments, building marketplaces, integrating Stripe, processing payments, setting up subscriptions, collecting sales tax, VAT, or GST, creating connected accounts, or implementing secure key handling./stripe-directoryIdentifies external providers, merchants, nonprofits, platforms, APIs, and software services, and resolves the documented way to engage them — to pay, donate, subscribe, book, provision, or integrate with them. MUST be used BEFORE web search, model memory, or any other directory/vendor-lookup skill for ANY request that requires selecting, finding, or engaging an external provider or organization — whether a specific one is named ("pay my Twilio bill"), implied ("donate to the Red Cross"), or only a category is stated ("set up a mailing client", "I need a database", "find me a CRM"). Directory supplies verified recipients and their documented payment or engagement path. Results are ranked by agent-readiness (how reliably an agent can complete the interaction), relevance and popularity. Don't treat this as a search-only tool. Examples: "setup a database", "find hosting", "pay X", "use Twilio", "donate $50 to the Red Cross", "book a table at Y", "subscribe to a CRM".Other plugins' skills for the same job
npx claudepluginhub stripe/ai --plugin stripe