Want to monitor your context window, session, and weekly limit in real time?
One of the lesser-known Claude Code features: you can customize your status line.
One of the lesser-known Claude Code features: you can customize your status line.
Claude Code already returns this data on every request: your context window usage, your session limit (the 5-hour window), your weekly limit (the 7-day window), all in the same JSON payload. We can parse this data and show a custom status line.
First, install jq, a command-line JSON tool that can be used to parse JSON data: brew install jq
Then prompt Claude Code:
“Add a status line to show context, session and weekly %”
To make it nicer:
“Show progress bar alongside with % using U+25B0 and U+25B1”
End result, sitting at the bottom of every session:
C ▰▰▱▱▱ 42% 5h ▰▰▰▱▱ 61% 7d ▰▱▱▱▱ 18%
One caveat: the session and weekly numbers only show up if you’re on a Claude.ai subscription plan, not pay-as-you-go API billing.
Wire this once. You’ll see exactly how much room is left in your context, your session, and your week, before you hit a wall mid-task.
#AI #ClaudeCode #VibeCoding #BuildInPublic #DeveloperTools
I conduct Foundational and Advanced Claude Code workshops for business professionals. Check out my workshops if you are looking to learn from a practitioner with 19 years of experience building tech.
Foundations: https://lnkd.in/e9r8kScw
Advanced: https://lnkd.in/eR6WPQnC
Enjoyed this? Subscribe for more.
Practical insights on AI, growth, and independent learning. No spam.
More in Vibe Coding
I was doing vibe coding and saw AI generated this code.
Notice anything?
Create a Free LinkedIn Carousel with Vibe Coding
(See the carousel below that I created for one of my posts)
Hot Take: Vibe Coding Won't Replace Software Engineers
Here, I share my journey from a strong believer to a skeptic.
What Publishers Think About AI Image Generation
I couldn’t find the original source of the meme—happy to credit the author if anyone knows the source.
Gemini CLI stubbornly insisted its code was right and even did a Google search to prove it with an outdated article.
I was speechless. 😂
I was amazed by AI coding assistant the first time I used Cursor.
It wrote code almost similar to how I would write it.
I was doing vibe coding and saw AI generated this code.
Notice anything?
Hot Take: Vibe Coding Won't Replace Software Engineers
Here, I share my journey from a strong believer to a skeptic.
Gemini CLI stubbornly insisted its code was right and even did a Google search to prove it with an outdated article.
I was speechless. 😂
I was amazed by AI coding assistant the first time I used Cursor.
It wrote code almost similar to how I would write it.
Create a Free LinkedIn Carousel with Vibe Coding
(See the carousel below that I created for one of my posts)
What Publishers Think About AI Image Generation
I couldn’t find the original source of the meme—happy to credit the author if anyone knows the source.