Introduction¶
If you have already written a Skill with WorkBuddy, the next step is often commercialization: completing order placement, pre-orders, and payment contract validation before users trigger capabilities. Manually modifying directory structures, adding payment trigger code, aligning WeChat v3 signatures with X402 pre-orders, and performing separate key leakage scans involve significant workload and are prone to omissions.
Below is an introduction to skillpay.One-Click Retrofit on SkillHub (coordinates @user_4894573e/skill-paid). It is designed for the path of “having an existing ordinary WorkBuddy Skill and wanting to turn it into a paid Skill supporting WeChat Agent Pay.” The Agent completes the retrofit according to the Skill’s instructions, rather than writing payment integration from scratch.
What This Is¶
skillpay.One-Click Retrofit is a Skill under the dev-programming category on SkillHub community, currently at version v3.1.1, published by user_4894573e, with the source labeled as community.
In one sentence: it one-click retrofits an ordinary WorkBuddy Skill into a paid Skill supporting WeChat Agent Pay (SkillHub Pay). Capabilities listed in the official introduction include: automatically injecting payment trigger modules (v3 order signature, X402 pre-order, WeixinPay-Required contract), configuration templates, and performing key scanning security checks; it also supports configuration archive reuse.
The SkillHub page label is requires_api_key=true; you need to prepare and configure the corresponding API Key before use (specific fields are subject to the SKILL.md after installation and the generated templates).
Core Features¶
The following capabilities are all from the official SkillHub introduction; details not mentioned in the materials are not expanded upon.
- Paid Skill Retrofit: Inject the structure required by SkillHub Pay into an existing WorkBuddy Skill project, rather than creating a new empty project.
- Payment Trigger Module: Automatically add trigger logic related to WeChat Agent Pay, covering v3 order signature, X402 pre-order, and the WeixinPay-Required contract conventions.
- Configuration Templates: Generate or complete configuration templates required for paid Skills, reducing the cost of manually filling in items by referring to documentation.
- Key Scanning Security Check: Run key scanning during the retrofit process to reduce the risk of accidentally writing keys into repositories or Skill packages.
- Configuration Archive Reuse: Support archiving configurations for reuse by the same publisher during multiple retrofits or iterations, avoiding repeated entry.
Installation and Activation¶
SkillHub provides two common entry points: install via CLI, or send the official prompt to the current AI Client for installation according to the documentation.
1. Install SkillHub CLI (if not installed)¶
First check if skillhub exists on your machine:
command -v skillhub && skillhub --version
If not installed, you can follow the SkillHub installation documentation to perform a complete installation (CLI + default Skill):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
If only the CLI is needed:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install skillpay.One-Click Retrofit¶
When installing any Skill, you must use --dir to point to the skills directory actually used by the current Agent; if installed to ./skills/ by default, most Clients will not automatically load it.
skillhub install @user_4894573e/skill-paid --dir <your skills directory>
Common skills paths for various environments (excerpted from SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project - workbuddy:
~/.workbuddy/skills/
You can also send the following prompt to AI on the SkillHub skill page, asking it to complete the installation according to SkillHub Installation and Priority Source Configuration:
Please install `@user_4894573e/skill-paid` according to https://skillhub.cn/install/skillhub.md.
After installation is complete, configure the API Key and enable it according to the SKILL.md in the Skill package (the label already indicates requires_api_key=true).
Typical Usage¶
The public page does not include step-by-step tutorials; the reproducible process can be summarized in the following steps. Specific sub-steps are subject to the Skill instructions after installation.
- Prepare Target: Select an ordinary WorkBuddy Skill project that can already run (local path or current workspace).
- Enable This Skill: Load
@user_4894573e/skill-paidin a Client that supports Skills, such as Cursor, Claude Code, Codex, or workbuddy, and complete API Key and other configurations. - Initiate Retrofit: Instruct the Agent which Skill to retrofit for SkillHub Pay (you can attach business information such as target price and product description if the Skill template has corresponding items).
- Follow Automation Steps: The Agent injects payment trigger modules and configuration templates according to the Skill instructions, and performs key scanning; if there are historical configuration archives, you can choose to reuse them according to the Skill instructions.
- Self-Check and Publish: Perform integration testing and publishing on the retrofit result according to WeChat Agent Pay / SkillHub Pay requirements; do not commit payment and merchant credentials to public repositories.
Use Cases and Considerations¶
Who It’s For
- Developers who already have a WorkBuddy Skill and want to quickly integrate WeChat Agent Pay and SkillHub Pay, but don’t want to hand-write v3 signatures, X402 pre-orders, and WeixinPay-Required contracts.
- Teams or individual publishers who need to retrofit multiple Skills multiple times and want to reduce repeated configuration through configuration archives.
Limitations and Notes
- It depends on the SkillHub ecosystem and WeChat Agent Pay capabilities; the retrofit result still needs to be verified in a real merchant and payment environment.
- The label requires an API Key; keys should only be placed in secure environment variables or controlled configurations, and rely on the key scanning included in the Skill to reduce leakage risks.
- SkillHub page statistics (as of data collection): rating 100000, downloads 1951, installations 0; data is subject to the skill page.
Conclusion¶
skillpay.One-Click Retrofit converges “paid Skill retrofit” into a chain that can be executed by an Agent: injecting payment modules, generating configuration templates, performing key security checks, and supporting configuration archive reuse. If you are upgrading a WorkBuddy Skill to WeChat Agent Pay paid capabilities, you can install it from the official entry and operate according to the SKILL.md in the package.
- SkillHub skill page: https://www.skillhub.cn/skills/user_4894573e/skill-paid
- Official address (API): https://api.skillhub.cn/user_4894573e/skill-paid
- Installation instructions: https://skillhub.cn/install/skillhub.md