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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/orientluna/openclaw-glm-plan-usageWhat 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
- "/glm-plan-usage:usage-query"
- "Show me how many tokens I have used in the last 24 hours via my GLM plan."
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-orientluna-openclaw-glm-plan-usage": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: network-access, file-read
Related Skills
securityvitals
Security vitals checker for OpenClaw. Scans your installation, scores your setup, and shows you exactly what to fix. First scan in seconds.
agent-health-diagnostics
Diagnose and fix the 4 most common OpenClaw agent failures — heartbeat spam, API rate limit cascades, channel death loops, and memory/embedding errors. Battle-tested across a 6-agent multi-host deployment.
kami-package-detection
A free skill by Kami SmartHome. Get notified the moment a package arrives at your door. Detects packages, parcels, and bags from RTSP camera streams using AI vision.
clinicaltrials-gov-parser
Monitor and summarize competitor clinical trial status changes from ClinicalTrials.gov. Trigger: When user asks to track clinical trials, monitor trial status changes, get updates on specific trials, or analyze competitor trial activities. Use cases: Pharma competitive intelligence, trial monitoring, status tracking, recruitment updates, completion alerts.
afrexai-observability-engine
Complete observability & reliability engineering system. Use when designing monitoring, implementing structured logging, setting up distributed tracing, building alerting systems, creating SLO/SLI frameworks, running incident response, conducting post-mortems, or auditing system reliability. Covers all three pillars (logs/metrics/traces), alert design, dashboard architecture, on-call operations, chaos engineering, and cost optimization.