weixinpay-register

weixinpay-register is a skill for Claude Code, Codex from rojim666/SztuCode. It costs 150 tokens per session (2,279 once invoked), scanned A, a copy of smart-search, MIT.

A helper for opening, linking, activating, or checking the status of WeChat Pay's AI payment account, a separate payment account used by an AI conversation.

In plain words
What is it for?
Use it when a user wants to enable AI payments, bind the payment account, get a linking address again, or check whether setup is complete. It does not start a payment.
Why use it?
It handles setup and status questions before payment is needed. It keeps account linking separate from actually paying for an order.

Skill for Claude CodeCodex

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

Good fit Use it when a user wants to enable AI payments, bind the payment account, get a linking address again, or check whether setup is complete. It does not start a payment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rojim666/sztucode/weixinpay-register
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 rojim666/SztuCode --skill weixinpay-register
Clone the repo
git clone --depth 1 https://github.com/rojim666/SztuCode

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 weixinpay-register

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rojim666/sztucode/weixinpay-register"><img src="https://agentmods.dev/badge/skills/rojim666/sztucode/weixinpay-register.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,279 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 89% copy Near-identical to another mod 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.00150 $0.02279
Opus 5 $0.00075 $0.01140
Sonnet 5 $0.00030 $0.00456
Haiku 4.5 $0.00015 $0.00228

Measured today against content hash a822186e8cfd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

weixinpay-register 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 today.

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.

Origin

This is a copy

89% identical to smart-search — 209 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

packages/runtime-ts/prompts/workbuddy/skills/_builtin-plugins/weixinpay/skills/weixinpay-register/SKILL.md · 158 lines

How it starts

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

微信支付AI专属卡开通与绑定

功能描述

帮助用户开通或绑定微信支付AI专属卡。用户完成绑定后,即可在当前 AI 对话中使用微信支付;支付扣款的资金载体是微信支付AI专属卡,即用户微信支付账户下的一个子账户。

本技能可处理:

  • 开通微信支付AI专属卡
  • 绑定微信支付AI专属卡到当前智能体
  • 重新生成绑定链接
  • 查询、确认是否已开通微信支付AI专属卡
  • 查看或管理微信支付AI专属卡的入口指引

本技能仅负责开通、绑定与开通状态查询,不具备调起微信支付付款的能力,请勿在需要实际支付时把它当作支付工具调用。

适用场景

面向终端用户"在当前 AI 对话中使用微信支付",满足以下任一意图即进入本技能:

  • 开通 / 绑定 / 激活:想在当前对话中使用微信支付,尚未开通或需重新绑定
    • "帮我开通微信支付AI专属卡" / "我要绑定微信支付AI专属卡" / "开启微信支付AI专属卡能力" / "我想在当前对话中使用微信支付"
  • 重试 / 重新获取链接:"再发一次绑定链接"
  • 查询开通状态:想确认自己是否已开通
    • "我开通微信支付AI专属卡了吗 / 怎么查看开通状态"

用户即使"还没开通、当前没有支付能力"也属于本技能的目标人群——开通正是本技能要解决的事,不要因为"用户尚未开通"就拒绝进入本技能

不适用场景

  • 用户咨询的是普通微信支付通用用法(如"微信怎么付款"、"零钱怎么提现"),与当前 AI 对话的开通/绑定无关(但"我是否已开通 AI专属卡"属于本技能的查询开通状态场景,不算在此列)
  • 用户反馈绑定、开通或支付异常并希望上报,应使用 weixinpay-feedback 技能
  • 用户要实际发起或调起微信支付付款时,禁止调用本技能:本技能只负责开通/绑定/开通状态查询,不能用于支付,应改用支付相关技能
  • 开发者或商户侧接入问题(商户号、API 证书、回调配置、应用接入等)
  • 任何带"商户"、"接入"、"对接"、"集成"、"开发"语境的开通咨询

如有歧义,先询问用户:

您是想开通在当前对话里使用微信支付付款的能力,还是询问如何在自己的应用中接入微信支付商户能力?

查看与管理微信支付AI专属卡

  • 查询开通状态、开通或重新开通:调用 mcp__weixinpay__weixinpay_register,并把工具返回的内容原样回复用户。
  • 管理 AI专属卡(查看余额、转入转出等):在微信「我」-「服务」-「钱包」的「AI专属卡」入口内操作。

绑定前提

  • 用户需为实名认证的微信支付用户
  • 绑定时需验证身份(如支付密码)
  • 绑定后的微信支付AI专属卡可关联多个智能体(上限以服务页面提示为准)

执行流程

Step 1:确认意图

确认是终端用户场景(不是商户接入、普通支付咨询或问题反馈)。用户的开通、绑定、激活、重试、再发链接或查询开通状态意图,都进入 Step 2 调用工具。

Step 2:调用工具

每次用户表达开通、绑定、重试、再发链接或查询开通状态意图时,都重新调用 mcp__weixinpay__weixinpay_register

工具接受一个可选参数 forceRebind(布尔,默认 false):

  • 默认(不传或 false):先检查当前绑定状态,已绑定则直接提示无需重复开通。
  • 仅当用户明确要重新绑定(如更换设备、绑定异常)时传 forceRebind: true,跳过状态检查直接生成新的绑定链接。

普通的开通、查询、再发链接意图无需传参,直接零参数调用即可。

Step 3:处理工具返回

  • 成功:提取工具返回中指定的最终 Markdown 内容,原样发送给用户,然后结束
  • 失败:原样输出工具返回的错误文本,不编造原因,不自行重试
  • 用户再次请求绑定或重试:重新调用工具生成全新链接,不复用历史链接

Step 4:结束流程

用户后续会自行完成开通,具体方式取决于与智能体对话所在的终端:

  • 手机端对话:点击绑定链接会直接跳转到微信中,阅读并同意相关协议、验证身份(如支付密码)后完成开通。
  • PC 端对话:需用手机微信扫描链接对应的二维码,在手机微信中完成协议确认与身份验证后开通。

完成后即绑定微信支付AI专属卡并关联当前智能体。不轮询、不查询绑定结果;绑定链接发出后,应直接结束。

工具调用

工具名:mcp__weixinpay__weixinpay_register
入参:
  forceRebind  可选,布尔,默认 false。
               默认先检查绑定状态,已绑定则提示无需重复开通;
               仅当用户明确要重新绑定(换设备、绑定异常)时传 true 跳过检查。
普通开通 / 查询 / 再发链接:零参数调用 {} 即可。

Read the full file on GitHub · 158 lines

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. today First seen · 158 lines · 150 tokens per session scan A a822186e8cfd

Subscribe to this mod's changes

weixinpay-register is a skill published in the GitHub repository rojim666/SztuCode (64 stars, last pushed today), licensed MIT. It adds 150 tokens to every session and 2,279 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to smart-search, differing in 209 lines, and is treated as a copy.