360 Secure SkillHub
360 安全技能中心

ZAI Coding Plan Usage

该 Skill 通过运行一个 Node 脚本调用 Z.ai(智谱)监控接口,查询 Coding Plan 的模型调用统计、工具(含 MCP)调用统计和配额上限,并返回用量与订阅状态信息。凭证由 OpenClaw 配置或环境变量自动读取,仅适用于已配置 Z.ai 的环境。

分类:数据
hyizhou
hyizhou
热度 38.73
最近更新 2026-05-11 17:32:23

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add hyizhou/zai-coding-plan-usage
兼容性
OpenClaw 专属
联网要求
需要联网
数据出网
必须出网
Metadata
name
zai-coding-plan-usage
description
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"、"智谱配额"。

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