← Back to Skills Marketplace
orientluna

glm-plan-usage

by OrientLuna · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
747
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install openclaw-glm-plan-usage
Description
查询 GLM 编码套餐使用统计,包括配额、模型使用和 MCP 工具使用情况 | Query GLM coding plan usage statistics, including quota, model usage, and MCP tool usage
Usage Guidance
This skill largely does what it claims, but review and be aware of two issues before installing: - The script reads your OpenClaw config (~/.openclaw/openclaw.json) and extracts an API key for the detected provider; that key is included in Authorization headers and sent to https://open.bigmodel.cn. Verify you are comfortable with that provider receiving the key and that the key in your config is scoped appropriately. - The registry metadata lists no required credentials, which is inaccurate. Expect the script to require a provider entry with baseUrl containing api/coding/paas/v4 and an apiKey in ~/.openclaw/openclaw.json. - The script hardcodes API_BASE to https://open.bigmodel.cn rather than using the provider's baseUrl value; if you use a proxy/custom endpoint this may not work. Inspect scripts/query-usage.sh yourself (or run it in a safe environment) to confirm behavior before installing. If you have other sensitive API keys in your OpenClaw config, consider removing/isolating them or creating a separate provider entry with a limited-scope key just for monitoring.
Capability Analysis
Type: OpenClaw Skill Name: openclaw-glm-plan-usage Version: 1.0.1 The OpenClaw GLM Plan Usage skill is benign. It is designed to query GLM coding plan usage statistics from `open.bigmodel.cn` using `curl` and `jq`. The script `scripts/query-usage.sh` correctly reads the API key from `~/.openclaw/openclaw.json` and uses it to authenticate to the legitimate GLM API endpoints. There is no evidence of data exfiltration, unauthorized command execution, persistence mechanisms (beyond a suggested, benign cron job for monitoring), or prompt injection attempts in the `SKILL.md` or `README.md` files. All actions are aligned with the stated purpose.
Capability Assessment
Purpose & Capability
Skill name/description (query GLM coding plan usage) matches the provided script and docs. The included script queries quota/model/tool endpoints on the GLM monitoring API and formats the result; those operations are appropriate for the stated purpose.
Instruction Scope
Runtime instructions and the script are focused on reading ~/.openclaw/openclaw.json to detect a provider, extracting an API key, and calling three monitoring endpoints on open.bigmodel.cn. The script does not attempt to exfiltrate data to unrelated endpoints or read arbitrary system files, but it will access the user's OpenClaw config (which may contain multiple provider API keys).
Install Mechanism
No install spec is provided (instruction-only skill plus a bash script). Installation is typical (copy files into ~/.openclaw/skills and make script executable). No remote downloads or archives are performed by the skill itself.
Credentials
Registry metadata declares no required credentials, but the script expects and reads an API key from ~/.openclaw/openclaw.json and uses it in Authorization headers when calling the monitoring API. This is a meaningful mismatch: the skill requires access to a secret stored in the user's config, and that secret will be sent to open.bigmodel.cn. The script also reads the HOME environment (for the config path) and an optional OPENCLAW_LANGUAGE env var; those are reasonable but not declared.
Persistence & Privilege
The skill is user-invocable and not always-enabled. It does not request elevated OS privileges, does not modify other skills or system-wide configuration, and does not persist new credentials. Installing simply places files under the user's ~/.openclaw/skills folder.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-glm-plan-usage
  3. After installation, invoke the skill by name or use /openclaw-glm-plan-usage
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Added full bilingual (Chinese/English) documentation to skill instructions, installation, configuration, usage, troubleshooting, and examples. - Documented new support for bilingual output, with automatic language detection or manual override via the OPENCLAW_LANGUAGE environment variable. - No functional/code changes, documentation only.
v1.0.0
Initial release of glm-plan-usage skill: - Provides monitoring of GLM coding plan usage: token, model, and MCP tool statistics. - Supports quota checks (5-hour token, 1-month MCP) and 24-hour usage stats. - Auto-detects providers from OpenClaw config; optimized for the Zhipu platform. - Offers clear error handling for missing dependencies, configuration, and API issues. - Outputs results in Chinese; requires curl and jq for operation.
Metadata
Slug openclaw-glm-plan-usage
Version 1.0.1
License
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is glm-plan-usage?

查询 GLM 编码套餐使用统计,包括配额、模型使用和 MCP 工具使用情况 | Query GLM coding plan usage statistics, including quota, model usage, and MCP tool usage. It is an AI Agent Skill for Claude Code / OpenClaw, with 747 downloads so far.

How do I install glm-plan-usage?

Run "/install openclaw-glm-plan-usage" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is glm-plan-usage free?

Yes, glm-plan-usage is completely free (open-source). You can download, install and use it at no cost.

Which platforms does glm-plan-usage support?

glm-plan-usage is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created glm-plan-usage?

It is built and maintained by OrientLuna (@orientluna); the current version is v1.0.1.

💬 Comments