ClawUsage Chat Command
Use local clawusage commands and return a compact, easy-to-read summary in the active clawusage language.
Command source:
clawusage.cmdfromPATH
Supported arguments:
nowstatushelplanglang englishlang chineseauto on [minutes]auto offauto set <minutes>auto status-help
Execution rules:
- Parse user input after
/clawusage. - If no argument is provided, default to
status. - Run exactly one local command via shell:
& clawusage.cmd <args>
- Do not run unrelated commands.
- Do not dump placeholders. If a field is missing, either omit that line or write
not available. - Input normalization:
- map
helpto-help - allow
10mstyle minutes forauto on/auto set(strip trailingm)
- map
Formatting rules (important):
- Use short lines and match active language:
lang english=> Englishlang chinese=> Simplified Chinese
- Do not output a single long pipe-separated sentence.
- Prefer compact blocks; avoid long prose.
- If quota label is
Daybut reset is far beyond 24h, add one short note that it is provider-defined.
Output templates:
- For
now/status, use:
ClawUsage
Action: <resolved action>
Status: ok
Session:
- Model: <...>
- Tokens: <...>
- Context: <...>
- Time: <...>
Quota:
- 5h: <used/left/reset/time-left>
- Day: <used/left/reset/time-left>
- Note: Day label is provider-defined.
Local:
- Today: <...>
- 7d: <...>
- For
auto on/off/set/status,help,lang, use:
ClawUsage
Action: <resolved action>
Status: ok
Result:
- <key outcome 1>
- <key outcome 2>
- On errors:
ClawUsage
Action: <resolved action>
Status: error
Details:
<short actionable error>