QwenCloud Usage for Openclaw

A comprehensive CLI-based skill for managing QwenCloud account authentication and monitoring detailed resource usage and billing.

cuixiaoyang123
v0.2.1
Apr 30, 2026
0
720
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install qwencloud-usage

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install qwencloud-usage using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is QwenCloud Usage?

The qwencloud-usage skill is a specialized utility designed for the Openclaw Skills ecosystem to provide seamless management of QwenCloud accounts. It empowers developers and AI agents to handle complex authentication flows, including OAuth 2.0 Device Authorization with PKCE, while providing real-time visibility into resource consumption.

By integrating this skill, users can programmatically or manually query their free tier status, coding plan limits (PRO/Basic), and pay-as-you-go expenditures. It serves as a critical bridge for maintaining service continuity and cost-transparency within AI-driven development environments.

QwenCloud Usage Use Cases

  • Authenticating AI agents in headless or remote container environments using non-TTY login flows.
  • Monitoring remaining free tier token quotas for models like qwen3.6-plus to avoid service interruptions.
  • Generating monthly or quarterly billing reports for pay-as-you-go model usage.
  • Checking the status of professional coding plans and request limits across different time windows.
  • Revoking sessions and clearing local credentials for secure account logout.

How QwenCloud Usage Works

  1. The skill interfaces with the QwenCloud CLI to verify current authentication status via structured JSON checks.
  2. For new sessions, it initiates a two-phase OAuth flow, generating a verification URL for the user while the agent polls for completion.
  3. Upon successful auth, the skill executes specific usage commands (summary, breakdown, or free-tier) based on user-defined parameters like date ranges or model IDs.
  4. It parses the returned JSON data to extract precise metrics regarding tokens used, images generated, or financial costs incurred.
  5. Finally, it presents a structured summary or exact CLI text output followed by a technical analysis of the usage data.

QwenCloud Usage Setup

Ensure you have Node.js >= 18 installed. To use this within Openclaw Skills, install the QwenCloud CLI globally:

npm install -g @qwencloud/qwencloud-cli

Verify the installation:

qwencloud version

For environment-specific credential storage, you can optionally configure:

export QWENCLOUD_KEYRING=plaintext # Opt-out of OS keychain
export QWENCLOUD_CREDENTIALS_DIR=~/.qwencloud/credentials

QwenCloud Usage Data Schema & Taxonomy

The skill utilizes structured JSON for all machine-to-machine interactions. Below is the primary data taxonomy for usage summaries:

Object Fields Description
free_tier model_id, quota, used_pct Tracks remaining tokens or images per model.
coding_plan plan, windows (5h, weekly, monthly) Monitors request limits for subscribed plans.
pay_as_you_go models, cost, currency Details financial costs and token totals for paid models.
period from, to Defines the temporal scope of the retrieved data.

QwenCloud Usage Advanced Features

  • Non-TTY/Headless Auth: Optimized for agents to handle device code flows without manual TTY intervention.
  • Multi-Dimensional Breakdowns: Filter usage by model, custom date ranges, and granularity (day/month/quarter).
  • Automated Polling: The --complete flag allows agents to automatically resume login sequences once user authorization is detected.
  • Keyring Integration: Supports secure credential storage via OS-level keychains with fallback encryption.
  • Version Integrity: Built-in version --check capability to ensure the CLI and its Openclaw Skills integration remain up to date.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*