qwencloud-usage

qwencloud-usage is a skill for Claude Code, Codex from QwenCloud/qwencloud-ai. It costs 57 tokens per session (3,168 once invoked), scanned A, original, Apache-2.0.

A tool for checking QwenCloud account usage, free quota, coding-plan status, and pay-as-you-go billing. QwenCloud is accessed through its command-line tool, which lets programs run commands in a terminal.

In plain words
What is it for?
Use it to query usage and quota, check plan or billing status, and complete the QwenCloud login flow when needed.
Why use it?
It avoids manually checking several account and billing details and supports authentication in automated environments.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to query usage and quota, check plan or billing status…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qwencloud/qwencloud-ai/qwencloud-usage
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 QwenCloud/qwencloud-ai --skill qwencloud-usage
Clone the repo
git clone --depth 1 https://github.com/QwenCloud/qwencloud-ai

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 qwencloud-usage

README.md
[![agentmods](https://agentmods.dev/badge/skills/qwencloud/qwencloud-ai/qwencloud-usage.svg)](https://agentmods.dev/skills/qwencloud/qwencloud-ai/qwencloud-usage)
Your own site
<a href="https://agentmods.dev/skills/qwencloud/qwencloud-ai/qwencloud-usage"><img src="https://agentmods.dev/badge/skills/qwencloud/qwencloud-ai/qwencloud-usage.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,168 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 original No closer match found 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.00057 $0.03168
Opus 5 $0.00028 $0.01584
Sonnet 5 $0.00011 $0.00634
Haiku 4.5 $0.00006 $0.00317

Measured 7d ago against content hash 0ed5ecab9f6b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

qwencloud-usage 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 7d ago.

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.

skills/usage/qwencloud-usage/SKILL.md · 348 lines

How it starts

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

QwenCloud Usage

Query QwenCloud usage, free tier quota, coding plan status, and pay-as-you-go billing.

Prerequisites

  • QwenCloud CLI must be installed. Verify with:
qwencloud version

If not installed, run:

npm install -g @qwencloud/qwencloud-cli

Node.js >= 18 required.

  • Authentication: No configuration needed on first use. The CLI handles non-TTY detection and safe login automatically (see Authentication Flow below).

Environment Variables

Variable Description
QWENCLOUD_KEYRING Set to plaintext, no, 0, false, or off to opt out of OS keychain credential storage.
QWENCLOUD_CREDENTIALS_DIR Override file-based credential directory (default: ~/.qwencloud/credentials).

Authentication Flow (for Agents)

The CLI auto-detects non-TTY environments and degrades safely — no wrapper script needed.

TL;DR — 3-step auth path

  1. qwencloud auth status --format jsonauthenticated: 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

Quick check: already logged in?

qwencloud auth status --format json

If authenticated: true and token is not expired, skip login entirely.

Recommended: Two-phase login

Works in all environments (desktop, headless, remote container).

Step 1 — Initialize login (non-blocking):

qwencloud auth login --init-only --format json

Exits immediately. Parse the stdout JSON events array:

  • already_authenticated → user is logged in, skip to commands
  • device_code → extract verification_url and present it to the user

On desktop environments with a browser, open the URL for the user:

open "$VERIFICATION_URL"          # macOS
xdg-open "$VERIFICATION_URL"      # Linux
start "" "$VERIFICATION_URL"      # Windows

Read the full file on GitHub · 348 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. 7d ago First seen · 348 lines · 57 tokens per session scan A 0ed5ecab9f6b

Subscribe to this mod's changes

qwencloud-usage is a skill published in the GitHub repository QwenCloud/qwencloud-ai (39 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 57 tokens to every session and 3,168 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories