ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 5/5

glm-plan-usage

查询 GLM 编码套餐使用统计,包括配额、模型使用和 MCP 工具使用情况 | Query GLM coding plan usage statistics, including quota, model usage, and MCP tool usage

Why use this skill?

Track your GLM coding plan usage, token consumption, and MCP tool activity with the OpenClaw GLM usage skill. Get real-time quota insights easily.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/orientluna/openclaw-glm-plan-usage
Or

What This Skill Does

The glm-plan-usage skill for OpenClaw is a powerful utility designed for developers and power users who rely on GLM-based coding services. It provides a centralized interface to monitor your resource consumption in real-time. By connecting to your existing OpenClaw configuration, this skill fetches granular statistics including current token consumption within the 5-hour window, monthly MCP (Model Context Protocol) usage, and specific breakdown of model calls and tool executions over the last 24 hours. Whether you are hitting a usage cap or just auditing your efficiency, this tool gives you the transparency needed to manage your AI-driven development costs and limits.

Installation

To install this skill, clone the repository from GitHub: git clone https://github.com/OrientLuna/openclaw-glm-plan-usage.git. Navigate to the directory and copy the contents to your local OpenClaw skills folder: cp -r . ~/.openclaw/skills/glm-plan-usage/. Ensure the execution permissions are set correctly using chmod +x ~/.openclaw/skills/glm-plan-usage/scripts/query-usage.sh. The skill requires curl and jq to process API responses; if not present, install them via your system package manager (e.g., brew install jq on macOS). Once installed, the skill automatically detects your GLM provider configuration from your existing ~/.openclaw/openclaw.json file.

Use Cases

This skill is ideal for frequent users of GLM models who need to avoid service interruptions. Use it before launching large-scale automated tasks to ensure you have enough token quota available. It is also perfect for monitoring your team's usage patterns to optimize which MCP tools are used most frequently, allowing for more efficient development workflows. Developers can integrate this into their morning routine to get a snapshot of their consumption before starting high-intensity coding sessions.

Example Prompts

  1. "/glm-plan-usage:usage-query"
  2. "Show me how many tokens I have used in the last 24 hours via my GLM plan."
  3. "Run a diagnostic check on my current GLM quota and tool usage status."

Tips & Limitations

The glm-plan-usage skill provides a read-only snapshot. It does not allow for modifying your subscription or clearing usage counters. If you encounter missing data, ensure your ~/.openclaw/openclaw.json provider credentials are valid. For precise tracking, you can trigger the query using the OPENCLAW_LANGUAGE environment variable to switch between English and Chinese outputs, ensuring the data fits your preference. Always verify your network connectivity if the tool returns a null response, as it relies on external API connectivity.

Metadata

Stars1287
Views1
Updated2026-02-22
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-orientluna-openclaw-glm-plan-usage": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#glm#usage#monitoring#statistics#zhipu#chinese#english
Safety Score: 5/5

Flags: network-access, file-read

Related Skills