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.
npx skills add tushaarmehtaa/tushar-skills --skill payments-with-dodogit clone --depth 1 https://github.com/tushaarmehtaa/tushar-skillsWrote 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.
[](https://agentmods.dev/skills/tushaarmehtaa/tushar-skills/payments-with-dodo)<a href="https://agentmods.dev/skills/tushaarmehtaa/tushar-skills/payments-with-dodo"><img src="https://agentmods.dev/badge/skills/tushaarmehtaa/tushar-skills/payments-with-dodo/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.
<a href="https://agentmods.dev/skills/tushaarmehtaa/tushar-skills/payments-with-dodo"><img src="https://agentmods.dev/badge/skills/tushaarmehtaa/tushar-skills/payments-with-dodo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.00799 |
| Opus 5.5 | $0.00016 | $0.00320 |
| Sonnet 5.5 | $0.00008 | $0.00160 |
| Haiku 4.5 | $0.00004 | $0.00080 |
Grade A, and why
payments-with-dodo 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 30 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Payments with Dodo
Implement the full billing lifecycle. Dodo is the source of billing events; the application’s server-side entitlement model is the authorization boundary.
Workflow
- Inspect framework/runtime, auth, database, existing provider/SDK and version, products, billing code, webhook storage, environment mapping, and deployment targets. Do not install Dodo beside another provider without explicit migration scope.
- Infer existing products and commercial policy. Ask only about unresolved one-time/subscription behavior, currency, trials, cancellation timing, refunds, tax, and capabilities unlocked.
- Model server-owned products, prices, and entitlements. The browser may submit a stable product key, never price, currency, credit amount, or entitlement.
- Keep test/live API keys, product IDs, webhook keys, and environment settings separate. Document names in
.env.examplewithout values. The SDK defaults to live mode when no environment is passed, so validateDODO_PAYMENTS_ENVIRONMENTat boot and refuse to start unless it is exactlytest_modeorlive_mode. - Read pricing and checkout for client setup, checkout, product mapping, portal, and UI patterns. Read implementation guidance when modeling subscription states and entitlements, credits, pricing, or feature gates. Vendor facts in the references carry a check date; re-check any older than 90 days, or when the installed SDK version differs, before relying on it. For raw API shapes, use Dodo's official agent skill if installed, otherwise its docs.
- Read webhooks before implementing event ingestion. Prefer official SDK verification, a durable webhook inbox with unique event ID, transactional state updates, explicit transient/permanent failure policy, and ordering by provider timestamps/version where available.
- Store provider customer/payment/subscription IDs and normalized status, billing-period boundaries, cancellation schedule, and last processed event data needed for reconciliation. Handle relevant payment, subscription, refund, dispute, dunning, and entitlement events, including
past_due(keep access through the grace window) andpaused(revoke now, re-grant onunpaused). - Protect paid features on the server using normalized entitlements. UI gates explain access but do not grant it. If credits are involved, name one balance source of truth (Dodo credit entitlements or the app ledger from the
credit-meteringskill) and gate usage at zero in the app either way. - Build billing UI for checkout states, current entitlement, renewal/cancellation timing, failed-payment recovery, invoices/portal, and delayed webhook confirmation. Never treat a return URL or query parameter as proof of payment.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2d ago Changed 1f5d7bb7c4ea
- 2mo ago First seen · 30 lines · 41 tokens per session scan A c5f6ce6afca1
payments-with-dodo is a skill published in the GitHub repository tushaarmehtaa/tushar-skills (12 stars, last pushed 2d ago), licensed MIT. It adds 41 tokens to every session and 799 once invoked, about $0.0002 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-30.
payments-with-dodo compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| payments-with-dodotushaarmehtaa/tushar-skills | Skill | 12 | 2d ago | MIT | A | 41 | Claude Code, Codex |
| asc-ppp-pricingrorkai/app-store-connect-cli-skills | Skill | 1.1k | today | MIT | A | 45 | Claude Code |
| snaplii-cliSnaplii-Inc/agent-to-merchant-payments | Skill | 812 | 2d ago | Apache-2.0 | A | 184 | Claude Code |
| stripeCraftOS-dev/CraftBot | Skill | 405 | 2d ago | MIT | A | 79 | Claude Code, Codex |
| ai-slopwaybarrios/opencode-power-pack | Skill | 551 | 5d ago | MIT | A | 61 | Claude Code |
| stripemagnus919/agent-skills | Skill | 166 | 2d ago | MIT | A | 116 | Claude Code, Codex |
| asc-ppp-pricinghanamizuki/solopreneur | Skill | 156 | 4d ago | MIT | A | 45 | Claude Code |