Usage Command
This skill provides the /usage command that shows detailed statistics about Clawdbot sessions, token usage, and active models.
When to use
Use /usage when you want to see:
- •Token usage across all sessions
- •Active sessions and their models
- •Token context window usage percentages
- •Session metadata
How it works
The /usage command runs clawdbot status and parses the output to show:
- •Total active sessions
- •Tokens used vs context window per session
- •Model information
- •Session keys
Examples
User: /usage
Response: Shows a formatted summary of all sessions with token counts and model details.
Implementation
Use the exec tool to run:
code
clawdbot status
Parse the Sessions table from the output and format it nicely for the user.