← 返回 Skills 市场
hyizhou

ZAI Coding Plan Usage

作者 hyizhou · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ 安全检测通过
310
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install 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"、...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install zai-coding-plan-usage
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /zai-coding-plan-usage 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug zai-coding-plan-usage
版本 1.1.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

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"、... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 310 次。

如何安装 ZAI Coding Plan Usage?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install zai-coding-plan-usage」即可一键安装,无需额外配置。

ZAI Coding Plan Usage 是免费的吗?

是的,ZAI Coding Plan Usage 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

ZAI Coding Plan Usage 支持哪些平台?

ZAI Coding Plan Usage 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 ZAI Coding Plan Usage?

由 hyizhou(@hyizhou)开发并维护,当前版本 v1.1.0。

💬 留言讨论