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 jiushiwon/wg-skills --skill springboot-alipay-pay-skillgit clone --depth 1 https://github.com/jiushiwon/wg-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/jiushiwon/wg-skills/springboot-alipay-pay-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/springboot-alipay-pay-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/springboot-alipay-pay-skill/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/jiushiwon/wg-skills/springboot-alipay-pay-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/springboot-alipay-pay-skill.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.00138 | $0.03760 |
| Opus 5.5 | $0.00055 | $0.01504 |
| Sonnet 5.5 | $0.00028 | $0.00752 |
| Haiku 4.5 | $0.00014 | $0.00376 |
Grade A, and why
springboot-alipay-pay-skill 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.
How it starts
The opening of the file, as written. The whole thing — 396 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spring Boot Alipay Pay Module Skill
支付宝支付独立模块,只覆盖支付宝渠道。与微信支付完全解耦,按需引入。
与合一版的关系
| Skill | 范围 | 推荐度 |
|---|---|---|
springboot-alipay-pay-skill(本) |
仅支付宝 | ⭐⭐⭐⭐⭐ 单一渠道项目 |
springboot-wechat-pay-skill |
仅微信 | ⭐⭐⭐⭐⭐ 单一渠道项目 |
springboot-payment-module-skill |
微信+支付宝合一 | 旧版,已不推荐 |
能力清单
| 能力 | 适用场景 | 接口 |
|---|---|---|
| 当面付(条码) | 线下收银台,用户被扫 | POST /api/alipay/trade/precreate |
| 当面付(扫码) | PC 网站生成二维码 | POST /api/alipay/trade/precreate |
| 手机网站支付 | 手机浏览器(H5) | POST /api/alipay/trade/wap |
| PC 网站支付 | PC 浏览器(页面跳转) | POST /api/alipay/trade/page |
| App 支付 | iOS / Android App | POST /api/alipay/trade/app |
| 退款 | 全渠道通用 | POST /api/alipay/trade/refund |
| 查询订单 | 全渠道通用 | GET /api/alipay/trade/query/{orderNo} |
| 关单 | 全渠道通用 | POST /api/alipay/trade/close/{orderNo} |
| 回调验签 | 全渠道通用 | POST /api/alipay/notify |
| 账单下载 | 对账 | GET /api/alipay/bill |
前置依赖
| 依赖 | 说明 |
|---|---|
springboot-init-skill |
项目骨架(必须) |
springboot-auth-module-skill |
当前用户获取(推荐) |
springboot-redis-module-skill |
幂等防重 + 限流(推荐) |
核心实现
1. 依赖
<!-- 支付宝新版 SDK(推荐) -->
<dependency>
<groupId>com.alipay.sdk</groupId>
<artifactId>alipay-sdk-java</artifactId>
<version>4.35.2.ALL</version>
</dependency>
2. 配置(application.yml)
alipay:
# ====== 必填项:从开放平台获取 ======
app-id: ${ALIPAY_APP_ID:} # 16 位数字(沙箱:2021000000000000)
# ====== 密钥对(V2 私钥 + 支付宝公钥) ======
# 商户应用私钥(pkcs8 格式)
private-key: ${ALIPAY_PRIVATE_KEY:}
# 支付宝公钥(从开放平台获取,不是应用公钥!)
alipay-public-key: ${ALIPAY_PUBLIC_KEY:}
# ====== 回调地址 ======
notify-url: ${ALIPAY_NOTIFY_URL:https://yourdomain.com/api/alipay/notify}
return-url: ${ALIPAY_RETURN_URL:https://yourdomain.com/pay/success}
# ====== 网关地址 ======
# 生产:https://openapi.alipay.com/gateway.do
# 沙箱:https://openapi.alipaydev.com/gateway.do
gateway-url: ${ALIPAY_GATEWAY_URL:https://openapi.alipay.com/gateway.do}
# ====== 签名方式 ======
sign-type: RSA2
charset: UTF-8
format: json
What ships with it
7 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.
- 10d ago First seen · 396 lines · 138 tokens per session scan A 91e13089cb45
springboot-alipay-pay-skill is a skill published in the GitHub repository jiushiwon/wg-skills (120 stars, last pushed yesterday), licensed Apache-2.0. It adds 138 tokens to every session and 3,760 once invoked, about $0.0006 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-10-14.
Other skills, from other repositories
x402
Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing…
tushare
A Python interface for Tushare, a financial data service that provides market and company information for stocks, funds, futures, and digital assets. It returns queried data as pandas tables.
stripe-best-practices
Guides Stripe integration decisions across development and test environment planning (separate sandboxes vs the shared test mode sandbox), API selection (Checkout Sessions vs PaymentIntents), Connect platform setup (Accounts v2, controller properties), billing/subscriptions, tax and registrations (Stripe Tax…
wechatpay-payment-integration
A Chinese-language guide for WeChat Pay, Tencent's payment service, covering product selection, integration, troubleshooting, and payment operations.
crypto-market-data-service-guide
Guide to the Crypto Market Data TypeScript service — clean market data APIs for token prices, candles, market cap, and volume across multiple chains. Features caching, rate limiting, fallback sources, and WebSocket subscriptions. Built for production DeFi applications.
freee-api-skill
A guide for using freee's APIs through an MCP server. freee is a Japanese business platform covering accounting, payroll, invoices, time tracking, sales, tax filing, and related work.