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 alifanov/ai-garage-launch --skill payments-polargit clone --depth 1 https://github.com/alifanov/ai-garage-launchWrote 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/alifanov/ai-garage-launch/payments-polar)<a href="https://agentmods.dev/skills/alifanov/ai-garage-launch/payments-polar"><img src="https://agentmods.dev/badge/skills/alifanov/ai-garage-launch/payments-polar/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/alifanov/ai-garage-launch/payments-polar"><img src="https://agentmods.dev/badge/skills/alifanov/ai-garage-launch/payments-polar.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.00053 | $0.00529 |
| Opus 5 | $0.00026 | $0.00264 |
| Sonnet 5 | $0.00011 | $0.00106 |
| Haiku 4.5 | $0.00005 | $0.00053 |
Grade A, and why
payments-polar 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 12d 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.
What it actually says
Платежи через Polar
Merchant of Record или процессор?
- Процессор (Stripe) — ты сам отвечаешь за налоги, юрлицо, комплаенс. Часто нужно юрлицо в США.
- Merchant of Record (Polar) — платформа = продавец записи: берёт на себя налоги/VAT и юрлицо. Работает для фаундеров из любой страны. Меньше боли на старте.
AI Garage использует Polar (MoR).
Подписка или разовая покупка?
- Подписка — предсказуемый MRR, но нужен постоянный value. Подходит для инструментов регулярного использования.
- Разовая — проще старт, нет удержания. Подходит для утилит/генераторов «сделал — отдал».
Выбирай по тому, как часто клиент возвращается к ценности.
Поток оплаты
[Купить] на сайте
│
├─► сайт создаёт Checkout Session в Polar → получает ссылку на оплату
│
├─► пользователь платит на странице Polar
│
├─► Polar шлёт webhook payment_succeeded на твой сервер
│
└─► сайт открывает доступ к продукту (связка с пользователем Clerk)
Настраивается один раз, дальше работает автоматически.
Интеграция (Next.js)
- Аккаунт + организация в Polar, создать продукт и цену.
- Поставить SDK, ключи в env:
POLAR_ACCESS_TOKEN,POLAR_WEBHOOK_SECRET. - Кнопка «Купить» → Checkout Session → редирект.
- Webhook ловит
payment_succeeded(и события подписки) → открывает доступ. - Customer Portal из коробки — пользователь сам управляет подпиской.
sandbox → production
Проверь весь цикл в sandbox, затем переключи ключи и URL вебхуков на production. Проверь ещё раз на реальной (тестовой) карте.
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.
- 12d ago First seen · 49 lines · 53 tokens per session scan A 2d3ca1d34e80
payments-polar is a skill published in the GitHub repository alifanov/ai-garage-launch (2 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 529 once invoked, about $0.0003 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-31.
Other skills, from other repositories
billing
Generate subscription billing with metered usage.
ai-slop
Operational rubric that turns "don't make AI slop" into observable properties, severity levels, evidence requirements, and repair actions for interface design. Use as the reference rubric when building or reviewing marketing sites, product interfaces, dashboards, portfolios, or e-commerce pages, especially alongside…
saas-billing
Implement and audit SaaS billing systems, subscription state machines, secure webhooks, and local database synchronization / Implementasi dan audit sistem billing SaaS, state machine langganan, webhook aman, dan sinkronisasi database lokal.
payment-gateway-expert
Expert guide for integrating payment gateways (Stripe, PayPal, Xendit, Midtrans, DOKU) and secure webhooks into SaaS platforms / Panduan ahli integrasi payment gateway dan webhook aman.
doku-mcp-server
Expert guide for DOKU Model Context Protocol (MCP) Server integration. Enables AI Agentic Commerce with tools for payment links, Virtual Accounts, QRIS, transaction status checks, and client configuration (Claude Desktop, Cursor, AGY) / Panduan ahli DOKU MCP Server untuk AI Agentic Commerce.
frappe-payments
Frappe Payments and ERPNext payment workflow guidance for payment gateways, payment requests, subscriptions, invoices, reconciliation, webhooks, and secure checkout flows. Use when work touches payments in Frappe or ERPNext.