Run the usage query script to retrieve account usage information for GLM Coding Plan. Only use when invoked by usage-query-agent.
This skill is limited to using the following tools:
scripts/query-usage.mjsExecute 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: