π¦ ClawHub
Zai Usage
by @1vecera
Monitor Z.AI GLM Coding Plan usage and quota limits. Track token consumption, view reset times, and check subscription status.
TERMINAL
clawhub install zai-usageπ About This Skill
name: zai-usage version: 1.1.0 description: Monitor Z.AI GLM Coding Plan usage and quota limits. Track token consumption, view reset times, and check subscription status. author: openclaw license: MIT keywords: - z.ai - glm - usage - quota - monitoring - tokens homepage: https://z.ai repository: https://github.com/openclaw/skills
Z.AI Usage Monitor
Track your Z.AI GLM Coding Plan usage in real-time.
Quick Start
# Check usage
~/.openclaw/skills/zai-usage/scripts/usage-summary.shQuick status
~/.openclaw/skills/zai-usage/scripts/quick-check.sh
Setup
1. Get your JWT token from https://z.ai/manage-apikey/subscription
- Open DevTools (F12)
- Application β Local Storage β z-ai-open-platform-token-production
2. Store in ~/.openclaw/secrets/zai.env:
ZAI_JWT_TOKEN=eyJhbGci...
What You See
Status Icons
| Icon | Usage | |------|-------| | β | < 50% | | β οΈ | 50-80% | | π΄ | > 80% |
Commands
Ask me:
Requirements
curl - HTTP requestsjq - JSON parsingbc - Number formatting (optional)Sources
π‘ Examples
# Check usage
~/.openclaw/skills/zai-usage/scripts/usage-summary.shQuick status
~/.openclaw/skills/zai-usage/scripts/quick-check.sh
βοΈ Configuration
1. Get your JWT token from https://z.ai/manage-apikey/subscription
- Open DevTools (F12)
- Application β Local Storage β z-ai-open-platform-token-production
2. Store in ~/.openclaw/secrets/zai.env:
ZAI_JWT_TOKEN=eyJhbGci...