Agent skill · qianwen-ai

qianwen-payment

QianWenAI cash balance query and fixed-amount Alipay recharge orchestration. Owns the outer recharge lifecycle while delegating the payment-side step to `alipay-payment-skill` when selected. Covers balance, recharge orders, order results, recharge history, missing current-order QR recovery, Token Plan redirects, and recharge page guidance. TRIGGER when: explicit QianWenAI balance query, confirmed recharge request with amount, model-call error explicitly reporting insufficient QianWenAI balance or account overdue, recharge result/history query, the user reports that the current QianWenAI recharge QR was not displayed, Token Plan purchase redirect, user wants guidance for the QianWenAI recharge page, or user explicitly invokes this skill by name (e.g. use qianwen-payment). DO NOT TRIGGER when: usage/billing/subscription queries (use qianwen-usage), incoming Alipay payment links or unrelated merchant orders (use alipay-payment-skill), refunds, non-QianWenAI products.

What it needs

About 9k tokens when loaded.

What this skill does

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. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills qianwen-ai/qianwen-payment

View the source on GitHub

Browse the @skills marketplace