extension-payment

extension-payment is a skill for Claude Code, Codex from quangpl/browser-extension-skills. It costs 49 tokens per session (904 once invoked), scanned A, original, MIT.

A workflow for adding payments and subscriptions to Chrome extensions using providers such as Stripe, Paddle, Lemon Squeezy, Polar, and PayPal.

In plain words
What is it for?
Plan and implement one-time payments, subscriptions, freemium access, or credit-based billing, including license handling.
Why use it?
It helps turn an extension into a paid product without designing the billing setup from scratch.

Skill for Claude CodeCodex

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

Good fit Plan and implement one-time payments, subscriptions, freemium access, or credit-based billing, including license handling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/quangpl/browser-extension-skills/extension-payment
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 quangpl/browser-extension-skills --skill extension-payment
Clone the repo
git clone --depth 1 https://github.com/quangpl/browser-extension-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 extension-payment

README.md
[![agentmods](https://agentmods.dev/badge/skills/quangpl/browser-extension-skills/extension-payment/github.svg)](https://agentmods.dev/skills/quangpl/browser-extension-skills/extension-payment)
Your own site
<a href="https://agentmods.dev/skills/quangpl/browser-extension-skills/extension-payment"><img src="https://agentmods.dev/badge/skills/quangpl/browser-extension-skills/extension-payment/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 extension-payment

Your own site · 80×15
<a href="https://agentmods.dev/skills/quangpl/browser-extension-skills/extension-payment"><img src="https://agentmods.dev/badge/skills/quangpl/browser-extension-skills/extension-payment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 904 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.00049 $0.00904
Opus 5 $0.00024 $0.00452
Sonnet 5 $0.00010 $0.00181
Haiku 4.5 $0.00005 $0.00090

Measured 10d ago against content hash 46213586dd72, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

extension-payment 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 10d 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/extension-payment/SKILL.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Extension Payment Integration

Integrate payment/subscription into a Chrome extension. Ask user for provider, then fetch docs and implement.

Workflow (Execute This)

Step 1: Ask user for payment requirements

Ask the user to confirm:

  1. Payment model: One-time purchase / Subscription / Freemium / Credits-based
  2. Provider category: Payment Gateway or Merchant of Record (MoR)?
  3. Preferred provider (or let us recommend)
  4. Required info: API keys, product/price IDs, webhook URL

Recommend MoR for solo/indie developers — handles tax, compliance, billing portal. No need to register as a business in every country.

Step 2: Provider selection guide

Category Provider Best For Docs
MoR Paddle SaaS subscriptions, global tax https://developer.paddle.com
MoR Lemon Squeezy Indie/solo devs, simple setup https://docs.lemonsqueezy.com
MoR Polar Open source monetization https://docs.polar.sh
MoR Creem Extension-focused MoR https://docs.creem.io
MoR Dodo Payments Simple digital products https://docs.dodopayments.com
MoR FastSpring Enterprise digital commerce https://developer.fastspring.com
MoR Gumroad Creators, digital products https://help.gumroad.com
Gateway Stripe Full control, most flexible https://docs.stripe.com
Gateway PayPal Wide user base, easy checkout https://developer.paypal.com/docs
Gateway Razorpay India-focused payments https://razorpay.com/docs
Gateway Square POS + online https://developer.squareup.com/docs
Gateway Adyen Enterprise, multi-currency https://docs.adyen.com
Gateway Braintree PayPal-owned, cards + PayPal https://developer.paypal.com/braintree/docs
Gateway Authorize.Net US legacy, reliable https://developer.authorize.net

llms.txt for AI-assisted docs (use docs-seeker skill):

  • Stripe: https://docs.stripe.com/llms.txt
  • Polar: https://docs.polar.sh/llms-full.txt

Read the full file on GitHub · 85 lines

Files

What ships with it

4 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.

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. 10d ago First seen · 85 lines · 49 tokens per session scan A 46213586dd72

Subscribe to this mod's changes

extension-payment is a skill published in the GitHub repository quangpl/browser-extension-skills (49 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 904 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

chrome-extension

Use when building or shipping a Manifest V3 browser extension and hitting its quirks — service worker dying and losing state, permission warnings, a Chrome Web Store rejection, content-script/worker/popup messaging, or an MV2-to-V3 migration. NOT a generic web app (that is nextjs), NOT a desktop shell (that is…

ericrisco/rsc-harness · 76 tokens

browser-qa

Drive a real headless browser against a locally-served web UI and capture screenshot evidence, reporting step-level PASS/FAIL/BLOCKED with extracted DOM text and console errors. Use when a phase on the docker QA image must exercise a rendered UI and attach screenshots — it complements the text-evidence verify/qa-test…

nearform/lastlight · 69 tokens

demo

Record a short demo VIDEO of a PR or feature — drive the repo's web UI in a real headless browser, capture the session, and composite a titled, size-capped mp4 with ffmpeg. Use on the docker QA image when the deliverable is a playable demo clip (single walkthrough or before/after comparison), not a text/screenshot…

nearform/lastlight · 75 tokens

website-explorer

Discover website capabilities from user behaviors. Learn APIs and automate workflows.

EndymionLee/PilotBrowseMCP · 17 tokens

codex-browser

Control Chrome via Codex Desktop's browser bridge. 52 MCP tools for tabs, navigation, DOM, input, CDP, network, file upload, dialog handling, and diagnostics.

DeliciousBuding/codex-browser-bridge · 41 tokens

browser-extension-patterns

Build browser extensions with Manifest V3 for Chrome, Firefox, and cross-browser compatibility. Covers content scripts, background workers, popup UI, storage APIs, and extension messaging. Triggers on browser extension development, Manifest V3, or Chrome extension requests.

organvm-iv-taxis/a-i--skills · 55 tokens