qianwen-usage

Query QianWen authentication status and usage metrics via CLI.

67|4|Updated May 9, 2026
One-click install
npx skills add https://github.com/QianWen-AI/qianwen-ai --skill qianwen-usage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qianwen-usage
Source: https://github.com/QianWen-AI/qianwen-ai/tree/main/skills/usage/qianwen-usage
Command: npx skills add https://github.com/QianWen-AI/qianwen-ai --skill qianwen-usage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manage QianWen account authentication and usage data across sessions and teams, enabling quick access to status, quotas, and billing.

Core Features & Use Cases

  • Authentication Flow: initiates login safely in non-tty environments and provides a clear path to completion.
  • Usage Insights: fetches usage summaries, breakdowns, free-tier quotas, and pay-as-you-go costs for supported models.
  • Automation-Friendly: outputs machine-friendly JSON for agent pipelines and automation scripts; ideal for dashboards and CI workflows.

Quick Start

Install the QianWen CLI, authenticate with the login flow, and view current usage with a single command.

Frequently Asked Questions about qianwen-usage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my QianWen CLI usage and billing details?

QianWen usage queries fetch current-period summaries, breakdowns, free-tier quotas, and pay-as-you-go billing costs for supported models. You can output this data as machine-friendly JSON for dashboards or CI workflows using the QianWen CLI.

How do I authenticate the QianWen CLI in a non-interactive environment?

QianWen authentication handles login safely in non-tty environments by providing a clear path to complete the flow. Once logged in, you can query usage metrics and quotas across sessions and teams.

Can I automate QianWen usage monitoring in CI pipelines?

QianWen usage outputs machine-friendly JSON formatted for agent pipelines and automation scripts. You can integrate these queries into CI workflows to automatically monitor free-tier quotas and pay-as-you-go costs.

Do I need to install anything to query QianWen authentication status?

QianWen authentication and usage queries require the QianWen CLI installed globally via npm. After installing the package, you can execute login flows and retrieve current usage metrics for your account.

What usage metrics can I retrieve for QianWen models?

QianWen usage metrics include current-period summaries, detailed breakdowns, free-tier quota limits, and pay-as-you-go billing costs across supported models. This data helps manage account consumption and automate usage tracking.

Why does the QianWen CLI login fail in automated scripts?

QianWen CLI login requires interaction that standard non-tty environments lack, but the authentication flow provides a clear path to completion. You must follow this specific flow to safely initiate login in automated agent pipelines.