← Back to list

usage-query-skill
by zai-org
Z.ai Coding Plugins Marketplace in Claude Code
⭐ 31🍴 4📅 Jan 23, 2026
SKILL.md
name: usage-query-skill description: Run the usage query script to retrieve account usage information for GLM Coding Plan. Only use when invoked by usage-query-agent. allowed-tools: Bash, Read
Usage Query Skill
Execute the usage query script and return the result.
Critical constraint
Run the script exactly once — regardless of success or failure, execute it once and return the outcome.
Execution
Run the query
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
Return the result
After execution, return the result to the caller:
- Success: display the usage payload (JSON)
- Failure: show the error details and likely cause
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon