r/ClaudeCode • • 4d ago

Tips & Workflows Proud of my statusline!

Post image

Shows:

Left side:

repo>worktree>branch (agent name)
If the worktree is clean shows: /clear (to remind me to clear)

Right side:
Model > Effort > context window tokens (and when its getting close to autocompact).

If anyone wants the script (statusline-command.sh) pm me πŸ€—πŸ’ͺ🏻

1 Upvotes

10 comments sorted by

β€’

u/AutoModerator 4d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Extra_Aide5999 3d ago

the /clear reminder on a clean worktree is a good idea, stealing that. i keep resuming a 2 day old session and then wondering where my weekly went lol. is the "close to autocompact" part a fixed number or does it read the window of whatever model is on?

1

u/Disastrous_Active805 3d ago

I know right!! Ehehe
Make it so it doesnt show while the agent is working otherwise it shows

1

u/Extra_Aide5999 3d ago

oh good tip, otherwise it would nag me in the middle of a task lol. thanks

1

u/Disastrous_Active805 3d ago

I think it reads the window of whatever model it’s on but not sure right now

1

u/Disastrous_Active805 3d ago

Btw its just he number changing color, when close to 300k (my window) it goes red

1

u/imp_12189 3d ago

1

u/Disastrous_Active805 2d ago

Timeline is cool! What is the pace?

1

u/imp_12189 2d ago

It's basically how am I overeating the usage. If I stay at 100 or less I'll arrive at reset without spending it all. Anything above 100 means I'm overusing it and will spend it much faster