Qwencloud Payment logo

Qwencloud Payment

Organization
QwenCloud
qwencloud-payment

Manage payment methods, bind card, spending limit. TRIGGER when: user asks about payment methods, bind card, spending limit, payment status. DO NOT TRIGGER when: billing history, usage queries, subscription status (use qwencloud-usage), support tickets.

Overview

PublisherQwenCloud
Repositoryqwencloud-ai
Skill nameqwencloud-payment
Stars
44
Forks
4
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by QwenCloud on GitHub. Read the source before you install it.

Installation

Install the Qwencloud Payment AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/QwenCloud/qwencloud-ai/tree/main/skills/ops/qwencloud-payment
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/QwenCloud/qwencloud-ai.git /tmp/qwencloud-ai
mkdir -p .claude/skills
cp -r /tmp/qwencloud-ai/skills/ops/qwencloud-payment .claude/skills/qwencloud-payment
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Qwencloud Payment in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Qwencloud Payment on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Qwencloud Payment is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

QwenCloud Payment

Manage QwenCloud account payment method status, card binding, and spending limits.

Prerequisites

  • QwenCloud CLI >= 1.3.0 must be installed. Verify with:
bash
qwencloud version

If not installed, run:

bash
npm install -g @qwencloud/qwencloud-cli

Node.js >= 18 required.

  • All billing commands require authentication. See Authentication Flow below.

Authentication Flow (for Agents)

The CLI auto-detects non-TTY environments and degrades safely.

TL;DR — 3-step auth path

  1. qwencloud auth status --format json → authenticated: true → skip to commands
  2. qwencloud auth login --init-only --format json → extract verification_url → open in browser
  3. qwencloud auth login --complete --format json → poll until success event

If authenticated: true on step 1, proceed directly to payment commands.

For full details on the two-phase login flow (init-only → complete), refer to the qwencloud-usage skill or qwencloud-ops-auth skill documentation.

Payment Status Commands

Payment Method Status

bash
qwencloud billing payment-method list --format json

Response fields:

  • items[] — list of payment methods
  • items[].status — only items with status VALID are considered active

Present the count of valid payment methods and their types.

Spending Limit

Query or display the current spending limit configuration.

bash
qwencloud billing limit --format json

Returns the configured spending limit and current consumption against it. When status is INACTIVE, inform the user that no spending limit is currently configured.

Number formatting: Use K = 1000, M = 1000000 when displaying large values (e.g., $5K, $1.2M).

Bind Card

This command opens the official web console page. It does NOT perform transactions within the conversation.

Confirmation Flow

Before executing bind-card, the agent MUST:

  1. Show impact — explain what the action will do (open a web page for card binding)
  2. Wait for explicit user confirmation — return confirmation_required status if not confirmed
  3. Execute only after confirmation
States
StateMeaning
confirmation_requiredAction pending user confirmation — do NOT execute
confirmedUser explicitly agreed — proceed with command
Steps
  1. User requests bind card
  2. Agent presents: "This will open the official card-binding page in your browser. Proceed?"
  3. If user confirms → execute the command
  4. If user declines or does not respond → return confirmation_required, take no action

Execute

bash
qwencloud billing payment-method bind --format json

Opens the official card-binding page in the user's browser. No card data is submitted via CLI.

Output and Agent Display Rules

CLI commands return JSON by default in agent/pipe environments. Always pass --format json, parse the structured response, then present a human-readable summary.

How to present output

  1. Parse the JSON and extract relevant data for the user's question
  2. Present a human-readable summary — do not dump raw JSON
  3. Add analysis AFTER the summary — clearly separated with ---

Error Handling

  • Auth failure: Return the original CLI error message. Do NOT retry login in a loop.
  • After successful login: Retry the failed command exactly once.
  • Network error: Report the error and suggest the user check connectivity.
  • Unknown error: Return the raw CLI stderr output for debugging.

Result Status

StatusWhen
successCommand executed and full data returned
partialCommand executed (exit 0) but some expected fields are missing or null — e.g., payment-method list returns items but a field is null, or billing limit returns INACTIVE with some fields absent. Present available data and note that the user should verify details in the web console
emptyCommand executed but no data (e.g., no payment methods bound)
confirmation_requiredBind-card action awaiting user confirmation
errorCommand failed — include error details

NEVER

  • ❌ Execute bind without explicit user confirmation
  • ❌ Perform actual card submission or transactions in the conversation
  • ❌ Judge payment method "insufficient" without explicit criteria
  • ❌ Handle support tickets (out of scope)
  • ❌ Query billing history or usage (use qwencloud-usage instead)
  • ❌ Query subscription status (use qwencloud-usage instead)
  • ❌ Retry login in a loop on auth failure

Frequently asked questions

What does the Qwencloud Payment AI skill do?

Manage payment methods, bind card, spending limit. TRIGGER when: user asks about payment methods, bind card, spending limit, payment status. DO NOT TRIGGER when: billing history, usage queries, subscription status (use qwencloud-usage), support tickets.

Why use Qwencloud Payment on TypingMind?

Because you install it once and use it with any model. Qwencloud Payment is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Qwencloud Payment in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/QwenCloud/qwencloud-ai/tree/main/skills/ops/qwencloud-payment. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Qwencloud Payment?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Qwencloud Payment?

As many as you like. As long as a model supports skills, you can use Qwencloud Payment with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Qwencloud Payment AI skill free?

Yes. It is published on GitHub by QwenCloud under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇