past-due-dunning

past-due-dunning is a skill for Claude Code, Codex from appeeky/stripe-skills. It costs 65 tokens per session (485 once invoked), scanned A, original, MIT.

An investigation of Stripe subscriptions whose renewal payments failed or remain unpaid. Dunning means the automated retries, reminders, and payment updates used to recover failed payments.

In plain words
What is it for?
Use it to inspect overdue subscriptions, failed invoice attempts, payment methods, recovery settings, and the application’s handling of failed-payment notifications.
Why use it?
It shows how much recurring revenue is at risk and whether retries, customer emails, payment updates, and grace-period handling are working.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect overdue subscriptions, failed invoice attempts, payment methods, recovery settings, and the application’s handling of failed-payment notifications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/appeeky/stripe-skills/past-due-dunning
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add appeeky/stripe-skills --skill past-due-dunning
Clone the repo
git clone --depth 1 https://github.com/appeeky/stripe-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for past-due-dunning

README.md
[![agentmods](https://agentmods.dev/badge/skills/appeeky/stripe-skills/past-due-dunning/github.svg)](https://agentmods.dev/skills/appeeky/stripe-skills/past-due-dunning)
Your own site
<a href="https://agentmods.dev/skills/appeeky/stripe-skills/past-due-dunning"><img src="https://agentmods.dev/badge/skills/appeeky/stripe-skills/past-due-dunning/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for past-due-dunning

Your own site · 80×15
<a href="https://agentmods.dev/skills/appeeky/stripe-skills/past-due-dunning"><img src="https://agentmods.dev/badge/skills/appeeky/stripe-skills/past-due-dunning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 485 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.00485
Opus 5.5 $0.00026 $0.00194
Sonnet 5.5 $0.00013 $0.00097
Haiku 4.5 $0.00006 $0.00049

Measured 2mo ago against content hash 817432f3c17c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

past-due-dunning scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/past-due-dunning/SKILL.md · 53 lines

What it actually says

Past Due & Dunning

Stripe MCP Setup

Requires Stripe MCP connected via OAuth or restricted key. Docs: https://docs.stripe.com/mcp

  1. GetMcpTools with server: "user-Stripe" (or plugin-stripe-stripe) before any call
  2. Prefer stripe_api_search → stripe_api_details → stripe_api_read for list/retrieve
  3. Always paginate — limit: 100, follow has_more with starting_after
  4. Amounts are in cents unless noted
  5. Never expose secret keys in output

Workflow

  1. GetSubscriptions with status: past_due and status: unpaid — paginate all
  2. Expand default_payment_method and latest_invoice
  3. Per sub record:
    • Plan(s) + MRR
    • latest_invoice.attempt_count, amount_due, status
    • Card: brand, last4, funding, country, wallet type
  4. Sum MRR at risk

Dunning Checklist (Dashboard)

  • Smart Retries enabled (Billing → Revenue recovery)
  • Customer emails: failed payment, card expiring
  • Customer Portal: payment method update enabled
  • Webhook: invoice.payment_failed handled in app

Output Template

Past Due Report ([date])

| # | Sub | Plan | MRR | Attempts | Card | Country |
|---|-----|------|-----|----------|------|---------|

Total: [N] subs | $[MRR]/mo at risk
Funding mix: credit [n] | debit [n] | prepaid [n]

Priority actions:
1. [highest $ sub with most attempts]

Route email gaps to email-dunning-setup; card patterns to card-funding-risk.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 53 lines · 65 tokens per session scan A 817432f3c17c

Subscribe to this mod's changes

past-due-dunning is a skill published in the GitHub repository appeeky/stripe-skills (5 stars, last pushed 3mo ago), licensed MIT. It adds 65 tokens to every session and 485 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

past-due-dunning compared with skills from other repositories

past-due-dunning next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
past-due-dunningappeeky/stripe-skillsSkill53mo agoMITA65Claude Code, Codex
stock-liquidityhimself65/finance-skillsSkill3.5k3d agoMITA129Claude Code
company-valuationhimself65/finance-skillsSkill3.5k3d agoMITA155Claude Code
fintel-datahimself65/finance-skillsSkill3.5k3d agoMITA157Claude Code
earnings-recaphimself65/finance-skillsSkill3.5k3d agoMITA112Claude Code
estimate-analysishimself65/finance-skillsSkill3.5k3d agoMITA117Claude Code
alpha-vantageforyourhealth111-pixel/Vibe-SkillsSkill3.8k3d agoApache-2.0A126Claude Code, Codex