qianwen-payment

Installation
SKILL.md

QianWen Payment

QianWenAI (千问AI平台) cash balance query and fixed-amount Alipay recharge. Use this Skill only for a QianWenAI account. Do not infer recharge intent or an overdue account from a low balance, a generic quota error, HTTP status, or unrelated model failure.

Compatibility and resources

Requires Node 18.18+ for every route in this Skill. Use scripts/preflight.mjs to enforce the runtime baseline, determine QianWen CLI compatibility, and select the available Alipay payment path; do not reproduce or override its version and capability decisions in prose.

Location Authoritative responsibility
scripts/preflight.mjs Route dependency probe, amount normalization, and transaction-critical response validation
scripts/recharge-result-contract.mjs Recharge-result identity and status classification
scripts/poll-recharge.mjs Foreground post-payment result polling
references/recharge-flow.md Confirmed-order business sequence, branching, stop and recovery
references/cli-contracts.md Commands, arguments, JSON shapes, script interfaces and exit codes
references/sources.md Manual provenance lookup only

Load references only when the current route needs their authoritative detail. For fixed-amount recharge, read recharge-flow.md only after the user confirms order creation. Also read its recovery section when the user explicitly reports that the current order's QR was not displayed and the current order's Alipay materials are still retained.

Installs
1.5K
GitHub Stars
91
First Seen
Aug 13, 2026
qianwen-payment — qianwen-ai/qianwen-ai