Help us improve
Share bugs, ideas, or general feedback.
From glm-plan-usage
Runs bundled Node.js script to retrieve GLM Coding Plan account usage information. Invoked exclusively by usage-query-agent for usage queries.
npx claudepluginhub zai-org/zai-coding-plugins --plugin glm-plan-usageHow this skill is triggered — by the user, by Claude, or both
Slash command
/glm-plan-usage:usage-query-skillThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execute the usage query script and return the result.
Displays real token usage and estimated cost savings for the current Claude Code session by reading session logs directly. Invoke via /pordee-stats for accurate, non-AI computed stats.
Shows real token usage and estimated savings for Claude Code sessions by reading session logs directly. Triggers on /caveman-stats command.
Checks Claude Code Usage Dashboard status to verify if usage tracking is enabled for the session. Runs session-uploader.py --status and displays pass/fail results.
Share bugs, ideas, or general feedback.
Execute the usage query script and return the result.
Run the script exactly once — regardless of success or failure, execute it once and return the outcome.
Use Node.js to execute the bundled script, pay attention to the path changes in the Windows:
node scripts/query-usage.mjs
If your working directory is elsewhere,
cdinto the plugin root first or use an absolute path:node /absolute/path/to/glm-plan-usage/skills/usage-query-skill/scripts/query-usage.mjs
After execution, return the result to the caller: