Token导航 LogoToken导航

Agent Skill · 开发

payments(payments 搜索)

payments 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

payments 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 19,346。

总安装 279周安装 12GitHub Stars 167下载 98核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:payments(payments 搜索)
来源仓库:https://github.com/whawkinsiv/claude-code-skills
仓库路径:skills/payments
安装命令:
npx skills add https://github.com/whawkinsiv/claude-code-skills --skill payments
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/whawkinsiv/claude-code-skills --skill payments

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

payments 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在支付相关开发流程中进行协作管理与状态跟踪。通过 npx skills add 命令从指定仓库安装。安装前应核实维护状态及可能触发的敏感操作权限。

payments 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/payments

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/whawkinsiv/claude-code-skills --skill payments;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

payments 怎么安装?

在终端执行 npx skills add https://github.com/whawkinsiv/claude-code-skills --skill payments。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

payments 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

payments 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

payments 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

payments 用的人多吗?

公开数据是累计安装 279 次,近一周安装 12 次,下载 98 次,GitHub 167 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

payments 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
payments

payments 搜索 · 本页

279167接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Payments & Billing Operations

Billing is 20% code and 80% configuration and business decisions. This skill helps you set up Stripe correctly, handle the edge cases, and avoid the mistakes that lose customer trust.

Core Principles

  • Stripe is the right choice for 95% of bootstrapped SaaS. Do not overthink this decision.
  • Test mode exists for a reason. Never touch live mode until you've tested every flow.
  • Billing is the one place you cannot "move fast and break things." A billing bug loses trust permanently.
  • Automate everything. Manual invoicing doesn't scale and you will forget.
  • Tax compliance is not optional. Set it up from day one.

Stripe Setup Checklist

Stripe Configuration:
- [ ] Create Stripe account and verify identity
- [ ] Enable test mode (toggle in top-right of dashboard)
- [ ] Set up products and prices in Stripe Dashboard (not in code)
- [ ] Configure Customer Portal (Settings -> Billing -> Customer portal)
- [ ] Enable Stripe Tax (Settings -> Tax)
- [ ] Set up webhook endpoint in your app
- [ ] Add Stripe keys to environment variables
- [ ] Test complete purchase flow (test card: 4242424242424242)
- [ ] Test failed payment (decline card: 4000000000000002)
- [ ] Test subscription cancellation and upgrade/downgrade flows
- [ ] Switch to live mode, re-add live API keys
- [ ] Make one real purchase with your own card to verify

Tell AI:

Set up Stripe subscription billing for my SaaS:
- Monthly and annual pricing tiers: [list your tiers and prices]
- Checkout flow using Stripe Checkout (hosted payment page)
- Customer Portal for managing subscriptions
- Webhook handler for subscription events
- Environment variables for Stripe keys
Use [your framework/stack].

Products & Prices: Dashboard First

Always create products and prices in the Stripe Dashboard. Then reference them by Price ID in your code.

How to Set Up

  1. Stripe Dashboard -> Products -> Create one Product per tier (e.g., "Starter", "Pro")
  2. Add two Prices per product — monthly and annual
  3. Copy the Price IDs (price_...) into your app config
  4. Use lookup keys for cleaner code (e.g., starter_monthly, pro_annual)

Pricing Tips

  • Annual pricing = monthly x 10 (2 months free)
  • Show monthly price with annual savings highlighted
  • Use Stripe's built-in trial period (set on the Price, not in code)
  • Don't create "free" prices — handle free tier in your app logic

Subscription Lifecycle

Every state your app needs to handle:

EventSubscription StatusYour App Should
Payment succeeds after checkoutactiveGrant paid features
Card fails on renewalpast_dueShow "update payment" banner
All retries failunpaid or canceledDowngrade to free tier
Customer cancelsactive (until period end)Continue access until period ends, then downgrade
Customer upgradesactive (new plan)Prorate and grant new plan immediately
Customer downgradesactive (current plan)Schedule change for end of billing period

Essential Webhooks

Your app MUST handle these events:

EventWhat HappenedYour App Should
checkout.session.completedCustomer finished checkoutActivate subscription, grant access
customer.subscription.updatedPlan changed or status changedUpdate user's plan in database
customer.subscription.deletedSubscription fully canceledRevoke paid access, move to free tier
invoice.payment_failedRecurring payment failedShow "update payment" banner, send email

Tell AI:

Create a Stripe webhook handler for my [framework] app:
- Handle: checkout.session.completed, customer.subscription.updated,
  customer.subscription.deleted, invoice.payment_failed
- Verify webhook signatures using the endpoint secret
- Store subscription status in [database]
- Return 200 immediately (process async if needed)

Webhook security: Always verify signatures. Use stripe.webhooks.constructEvent(). Return 200 immediately — Stripe retries on timeout.


Customer Portal

Stripe's hosted Customer Portal lets users manage subscriptions without you building anything.

Configure in Settings -> Billing -> Customer portal:

  • Allow: update payment method, cancel subscription, switch plans, view invoices
  • Enable cancellation reason collection (gives you churn data)
  • Set cancellation policy to "at end of billing period" (not immediate)

Tell AI:

Add a "Manage Billing" button to my app's settings page.
It should create a Stripe Customer Portal session and redirect the user.
Use [framework].

Failed Payments (Dunning)

~5-10% of recurring charges fail each month. Plan for it.

Automatic Recovery

  1. Enable Smart Retries (Settings -> Billing -> Automatic collection) — Stripe retries 3 times over ~3 weeks, recovers 30-40% of failures automatically
  2. Add your own email sequence on top of Smart Retries:

Tell AI:

Create a dunning email sequence for failed payments:
- Day 0: "Your payment didn't go through. Update your card." + Customer Portal link
- Day 3: "Reminder: your account is at risk."
- Day 7: "Final warning before downgrade."
- Day 14: Account downgraded. "We miss you" + reactivation link.
Tone: helpful, not threatening.

Tax Collection

You are legally required to collect sales tax / VAT in most jurisdictions.

Option 1: Stripe Tax (Recommended)

  1. Settings -> Tax -> Enable Stripe Tax
  2. Set your business address
  3. Stripe automatically calculates and collects tax by customer location
  4. Cost: 0.5% per transaction. Worth it.

Option 2: Merchant of Record

If tax terrifies you, use Paddle or Lemon Squeezy. They handle all tax collection and remittance. Trade-off: higher fees (~5-10% vs Stripe's ~3%) and less control.

Tax Registration

  • Start with your home state/country. Expand as revenue grows.
  • US: Register in your home state + states where you exceed ~$100K in sales
  • EU: Need VAT registration if selling to EU customers

Pricing Implementation Patterns

PatternHow It WorksStripe Setup
Free trial -> Paid14-day trial, no card. Enter card to continue.Track trial in your DB. Create Checkout Session when trial ends.
Freemium -> UpgradeFree forever. Upgrade when hitting limits.No Stripe for free users. Checkout Session on upgrade only.
Card-required trialEnter card at signup. Auto-charges after 14 days.Create subscription with trial_period_days: 14.

Testing Checklist

Test every flow in Stripe test mode before going live:

- [ ] Successful purchase (card: 4242424242424242)
- [ ] Failed payment (card: 4000000000000002)
- [ ] 3D Secure authentication (card: 4000002500003155)
- [ ] Subscription cancellation and access revocation
- [ ] Plan upgrade (check proration)
- [ ] Plan downgrade (check scheduling)
- [ ] Customer Portal access
- [ ] Webhook delivery (Stripe Dashboard -> Webhooks -> logs)
- [ ] Trial expiration and conversion to paid

Going Live Checklist

- [ ] Switch to live mode in Stripe Dashboard
- [ ] Replace test API keys with live keys in production
- [ ] Update webhook endpoint URL and signing secret
- [ ] Verify Stripe Tax is enabled in live mode
- [ ] Make a real $1 purchase with your own card
- [ ] Verify webhook received in Stripe logs
- [ ] Refund your test purchase

Stripe Fees

FeeAmount
Standard (US cards)2.9% + $0.30 per transaction
International cards+1.5%
Stripe Tax+0.5% per transaction
Chargebacks$15 per dispute
Monthly/setup feesNone

Common Mistakes

MistakeFix
Hardcoding prices in your appUse Stripe Price IDs from the Dashboard
Skipping webhook signature verificationAlways verify — prevents spoofed events
Not handling past_due statusShow a banner, send dunning emails
Granting access based on Checkout redirect onlyUse webhooks — redirects can fail silently
Forgetting to test decline cardsTest every failure path, not just happy path
Ignoring tax collectionSet up Stripe Tax or use a Merchant of Record
Building your own billing portalUse Stripe's hosted Customer Portal

平台分布

Codex

34.24%
按下载量换算34

Claude

29.76%
按下载量换算29

Cursor

18.91%
按下载量换算19

Gemini CLI

9.21%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills