rv-claude-commands
v1.0.0
Published
Claude Code commands for usage limits and token tracking
Downloads
196
Maintainers
Readme
rv-claude-commands
Claude Code commands for checking plan usage limits and token consumption.
Quick Start
# Install commands
npx rv-claude-commands install
# Set up Playwright MCP (required for /plan-limits)
npx rv-claude-commands setup-playwright
# Restart Claude Code, then try:
/plan-limitsCommands
| Command | Description |
|---------|-------------|
| /plan-limits | Check plan quotas (session/weekly %) from claude.ai |
| /usage | Token costs (7-day summary) |
| /usage-today | Today's token breakdown |
| /usage-weekly | Weekly token summary |
| /usage-session | Recent expensive sessions |
Prerequisites
For /plan-limits
Requires Playwright MCP to be configured in Claude Code.
Run the setup helper:
npx rv-claude-commands setup-playwrightFirst-time use:
- Run
/plan-limitsin Claude Code - A browser window will open to claude.ai
- Log in with your account
- Tell Claude you're done
- Future runs will remember your session
For /usage commands
Uses ccusage (bundled with this package).
CLI Commands
npx rv-claude-commands install # Install commands
npx rv-claude-commands uninstall # Remove commands
npx rv-claude-commands list # Show available commands
npx rv-claude-commands setup-playwright # Playwright MCP setup guide
npx rv-claude-commands help # Show helpExample Output
/plan-limits
**Claude Plan Usage** ([email protected])
| Limit | Used | Resets |
|-------|------|--------|
| Session | 16% | in 2 hr 13 min |
| Weekly (All) | 22% | Tue 1:59 PM |
| Sonnet Only | 11% | Tue 3:59 PM |Troubleshooting
"Playwright MCP tools not available"
Run npx rv-claude-commands setup-playwright and follow the instructions.
Login keeps expiring
This is normal - claude.ai sessions expire. Just log in again when prompted.
Commands not appearing in Claude Code
Restart Claude Code after running install.
License
MIT
