← Back to Skills Marketplace
310
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install 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"、...
Usage Guidance
This skill appears to do what it says: it runs a Node script that queries Z.ai endpoints for usage and reads an API key from your OpenClaw auth file or ZAI/ZHIPU env vars. Before installing, verify: (1) you are comfortable the script will read ~/.openclaw/agents/main/agent/auth-profiles.json (inspect that file to see what it contains); (2) provide the API key via an env var if you prefer not to let the script read the auth file; (3) Node must be available on the system (metadata does not list it); (4) confirm open.bigmodel.cn is the expected Z.ai API host for your account. If any of those are concerning, run the script manually in a sandbox or decline to enable the skill.
Capability Analysis
Type: OpenClaw Skill
Name: zai-coding-plan-usage
Version: 1.1.0
The skill is designed to query Zhipu AI (Z.ai) usage statistics and quota limits. The script `scripts/query-usage.mjs` retrieves the API key from the local OpenClaw configuration file or environment variables and makes legitimate GET requests to the official Zhipu AI API (open.bigmodel.cn). No evidence of data exfiltration to unauthorized endpoints, command injection, or malicious intent was found.
Capability Assessment
Purpose & Capability
The script calls Z.ai endpoints on open.bigmodel.cn to fetch model/tool usage and quota, and reads an API key from the OpenClaw auth file or ZAI/ZHIPU environment variables — this is consistent with a 'Z.ai Coding Plan Usage' skill.
Instruction Scope
SKILL.md instructs running a node script in the user's OpenClaw workspace and the script reads ~/.openclaw/.../auth-profiles.json and environment variables. That behavior is aligned with the purpose but the metadata did not declare the config path access; the instructions are not asking for unrelated files.
Install Mechanism
This is an instruction-only skill (no install spec), which is low-risk, but the script requires Node to run. The registry metadata lists no required binaries even though SKILL.md and the script expect 'node' on PATH.
Credentials
No credentials are declared in metadata, but the script reads the OpenClaw auth file and env vars ZAI_API_KEY or ZHIPU_API_KEY. Those variables are appropriate for this purpose, but reading the OpenClaw auth-profiles.json may expose other local OpenClaw-stored credentials if that file contains them.
Persistence & Privilege
always is false and the skill does not write or persist data or modify other skills; it only reads a config file and performs network requests.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install zai-coding-plan-usage - After installation, invoke the skill by name or use
/zai-coding-plan-usage - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
更新发布
v1.0.0
- Initial release of skill for querying Z.ai (智谱) Coding Plan usage and quota limits.
- Supports tracking token consumption, MCP usage, and subscription status.
- Responds to user queries about usage, quota, and subscription in both English and Chinese.
- Integrates with Z.ai API endpoints for model usage, tool usage, and quota limits.
- Automatically uses API key from OpenClaw configuration or environment variables.
Metadata
Frequently Asked Questions
What is ZAI Coding Plan Usage?
Query Z.ai (智谱) Coding Plan usage and quota limits. Track token consumption, MCP usage, and subscription status. Use when user asks about "智谱用量"、"ZAI usage"、... It is an AI Agent Skill for Claude Code / OpenClaw, with 310 downloads so far.
How do I install ZAI Coding Plan Usage?
Run "/install zai-coding-plan-usage" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is ZAI Coding Plan Usage free?
Yes, ZAI Coding Plan Usage is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does ZAI Coding Plan Usage support?
ZAI Coding Plan Usage is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created ZAI Coding Plan Usage?
It is built and maintained by hyizhou (@hyizhou); the current version is v1.1.0.
More Skills