Files
admin b723e2bd7d Reorganize: Move all skills to skills/ folder
- Created skills/ directory
- Moved 272 skills to skills/ subfolder
- Kept agents/ at root level
- Kept installation scripts and docs at root level

Repository structure:
- skills/           - All 272 skills from skills.sh
- agents/           - Agent definitions
- *.sh, *.ps1       - Installation scripts
- README.md, etc.   - Documentation

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-23 18:05:17 +00:00

950 B

name, description, allowed-tools
name description allowed-tools
usage-query-skill Run the usage query script to retrieve account usage information for GLM Coding Plan. Only use when invoked by usage-query-agent. 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, cd into 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