[Feature Request] Expose Claude Pro usage limits in statusline hook API
Resolved 💬 3 comments Opened Dec 19, 2025 by DK5EN Closed Dec 23, 2025
Bug Description
I want to see my current usage of my claude pro plan. I can't set this up in the status line of claude code. I get the report back from claude: "For your actual session/weekly limits (e.g. 19% and 69%), you'll need to check those in the Claude Code app itself, since they're not exposed through the statusline hook API." - can we please have this very important information availbale in the status line?
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.0.73
- Feedback ID: 5e41f75c-8576-45b4-91b7-e33e63cb9f29
Errors
[{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:435:20)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:429\n at rI (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n at Object.readFileSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:404)\n at kcB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4822:22305)\n at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1016:942)\n at am5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2200:17490)","timestamp":"2025-12-19T17:45:26.357Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:435:20)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:429\n at rI (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n at Object.readFileSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:404)\n at kcB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4822:22305)\n at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1016:942)\n at am5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2200:17490)","timestamp":"2025-12-19T17:46:27.080Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:435:20)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:429\n at rI (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n at Object.readFileSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:404)\n at kcB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4822:22305)\n at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1016:942)\n at am5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2200:17490)","timestamp":"2025-12-19T17:50:14.612Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:435:20)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:429\n at rI (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:8084)\n at Object.readFileSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:404)\n at kcB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4822:22305)\n at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1016:942)\n at am5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2200:17490)","timestamp":"2025-12-19T17:52:41.752Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗