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 PaddleHQ/paddle-agent-skills --skill subscription-cancelgit clone --depth 1 https://github.com/PaddleHQ/paddle-agent-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/paddlehq/paddle-agent-skills/subscription-cancel)<a href="https://agentmods.dev/skills/paddlehq/paddle-agent-skills/subscription-cancel"><img src="https://agentmods.dev/badge/skills/paddlehq/paddle-agent-skills/subscription-cancel/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/paddlehq/paddle-agent-skills/subscription-cancel"><img src="https://agentmods.dev/badge/skills/paddlehq/paddle-agent-skills/subscription-cancel.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.00046 | $0.03373 |
| Opus 5.5 | $0.00018 | $0.01349 |
| Sonnet 5.5 | $0.00009 | $0.00675 |
| Haiku 4.5 | $0.00005 | $0.00337 |
Grade A, and why
paddle-subscription-cancel 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 1mo 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 — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cancel a Paddle subscription from Next.js
When to use this skill
Use this skill when building the "Cancel subscription" button (or equivalent) on the authenticated user's billing or account page. It covers a Next.js 15 (App Router) Server Action that calls paddle.subscriptions.cancel() with the right options, the security checks every cancel action needs, what to do after the cancel succeeds, and the relationship between Paddle's canceled status and a scheduledChange block.
This is the initiating side of subscription cancellation. Pair it with:
subscription-syncfor the receiving side — your webhook handler will get asubscription.updatedevent reflecting the schedule change, thensubscription.updatedandsubscription.canceledevents when the period actually ends.webhooksif you haven't set up the webhook endpoint yet.
Don't need your own cancel button? Two alternatives:
- Customer portal deep link. Mint a portal session with
paddle.customerPortalSessions.create(customerId, [subscriptionId])and redirect tosession.urls.subscriptions[0].cancelSubscription(seecustomer-portal). Paddle hosts the cancel UI. - Paddle Retain cancellation flows. If you've set up cancellation flows in Paddle Retain, launch one from the browser with Paddle.js:
paddle.Retain.initCancellationFlow({ subscriptionId }). It shows salvage offers first; if the customer goes ahead, Retain cancels the subscription in Paddle for you. The promise resolves with astatusofretained,aborted,chose_to_cancel, orerror. Retain isn't available in sandbox, so test this flow in live.
Prerequisites
- A working Paddle account with at least one active subscription (sandbox is fine).
- Server-side
PADDLE_API_KEYavailable — this action runs in a Server Action, never in the browser. The key needs thesubscription.writepermission (used forcancelandupdate). - A
customerstable and asubscriptionstable mirrored from webhooks (seesubscription-sync). You need to know which Paddle customer the authenticated user is, and which subscription they're trying to cancel. - An auth system. The examples use Supabase, but any session-based auth works.
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.
- 1mo ago Changed · +107 lines 757e0e69a572
- 3mo ago First seen · 150 lines · 46 tokens per session scan A 6747d0c6e102
paddle-subscription-cancel is a skill published in the GitHub repository PaddleHQ/paddle-agent-skills (9 stars, last pushed 9d ago), licensed Apache-2.0. It adds 46 tokens to every session and 3,373 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-31.
paddle-subscription-cancel compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| paddle-subscription-cancelPaddleHQ/paddle-agent-skills | Skill | 9 | 9d ago | Apache-2.0 | A | 46 | Claude Code |
| amazon-reviews-api-skillbrowser-act/skills | Skill | 6.5k | 28d ago | MIT | A | 124 | Claude Code, Codex |
| amazon-competitor-analyzerbrowser-act/skills | Skill | 6.5k | 28d ago | MIT | A | 48 | Claude Code, Codex |
| cloudbase-wechat-integrationTencentCloudBase/CloudBase-AI-Toolkit | Skill | 1.2k | today | MIT | A | 94 | Claude Code |
| asc-subscription-localizationrorkai/app-store-connect-cli-skills | Skill | 1.2k | 2d ago | MIT | A | 60 | Claude Code |
| woo-guardamElnagdy/guard-skills | Skill | 1.3k | 8d ago | MIT | A | 216 | Codex |
| product-description-generatornexscope-ai/eCommerce-Skills | Skill | 1.6k | 21d ago | MIT | A | 126 | Claude Code, Codex |