SkillHub

zai-coding-plan-usage

v1.1.0

Query Z.ai (智谱) Coding Plan usage and quota limits. Track token consumption, MCP usage, and subscription status. Use when user asks about "智谱用量"、"ZAI usage"、"coding plan usage"、"quota"、"智谱配额"。

Sourced from ClawHub, Authored by hyizhou

Installation

Please help me install the skill `zai-coding-plan-usage` from SkillHub official store. npx skills add hyizhou/zai-coding-plan-usage

Z.ai Coding Plan Usage Query

Query Z.ai (智谱 AI) Coding Plan usage and quota limits.

Usage

Just say: - "智谱用量查询" - "Check ZAI usage" - "coding plan usage"

Script

node ~/.openclaw/workspace/skills/zai-coding-plan-usage/scripts/query-usage.mjs

API Endpoints

API Endpoint Description
Model usage /api/monitor/usage/model-usage Model call statistics
Tool usage /api/monitor/usage/tool-usage Tool call statistics
Quota limit /api/monitor/usage/quota/limit Quota limits

Notes

  • API Key is automatically read from OpenClaw config or environment variables
  • Works only in environments with Z.ai API configured