r/opencodeCLI • u/biborn • Oct 01 '26
OpenCode v2 finally has a status line, and it's fully customizable
Hey folks,
For a long time I was jealous of Pi, Claude Code, and even dsh-tui users. They get these nice status lines showing what's going on in a session, and I looked for something like that for OpenCode v2 for ages but never found one that I can truly customize to my liking. So I made my own.
This status line plugin shows context window usage (with a bar that changes color as it fills up), cache usage, streaming speed, running shell count, and uncommitted changes in your repo, all in one line. There's also a /tps command that opens a dialog with the detailed numbers behind it.
The best part is how customizable it is:
Put it anywhere. Bottom, sidebar, top, whatever. It can even live in more than one spot at the same time.
Each spot can show its own segments, so you can decouple the info instead of cramming everything into one row.
Pick what shows. Order, palettes (catppuccin, dracula, gruvbox, tokyo night, more), gauge width, padding.
Responsive. On narrow windows segments wrap to the next row, and in a sidebar they stack one per row.
Works great on small screens too, so it pairs nicely with Orca Mobile and Heeler (the mobile client for Herdr) if you check on sessions from your phone.
Install:
opencode plugin add @rashidrazak/opencode-status-lineThen restart OpenCode. If you prefer, you can add it to your cli.json by hand instead (not opencode.json, since it's a CLI plugin).
I also hide OpenCode's default footer so the status line is the only footer. To do that, disable the built-in prompt footer plugin in cli.json:
"plugins": [
"@rashidrazak/opencode-status-line",
"-opencode.prompt.footer"
]Links:
Note: This plugin is only compatible with OpenCode v2. Full docs are in the repo. Let me know what you think about it.
4
u/2mqqvc0q Oct 01 '26
Thanks for this, will definitely add it to my plugins list! Would also like to say that I love your Command Code provider plugin for OpenCode. If I may ask, is there plans to further develop the ZDR feature on that beyond the CMD_ZDR environment variable passthrough?
4
u/biborn Oct 01 '26
Thank you for the kind words. Feel free to open an issue for this feature request. Will take a look at it soonest possible.
2
Oct 01 '26
[removed] — view removed comment
1
u/biborn Oct 01 '26
I am using both Go and GOAT plans. I have another plugin for connecting: https://github.com/rashidrazak/opencode-cmd-provider
1
Oct 01 '26
[removed] — view removed comment
1
u/biborn Oct 01 '26
Which plugin you’re referring to? This status line plugin works with OpenCode V2 only. The cmd plugin works with both versions of OpenCode.
1
Oct 01 '26
[removed] — view removed comment
2
u/biborn Oct 02 '26
I think you missed the part where you can go to the CommandCode dashboard and generate an API key over there.
1
3
u/squirrelscrush Oct 01 '26
This is one thing I missed from Reasonix
2
u/biborn Oct 01 '26
Do you still use Reasonix nowadays?
2
u/squirrelscrush Oct 01 '26
I used it for one project to test out the DeepSeek efficiency, but I like opencode better because of the plugins. But there are some reasonix features I wish were in opencode.
Then I started working on a plugin to import the DeepSeek cache stability thing on opencode too, but it seems to be dependent on the provider being direct DeepSeek.
1
u/FuzzyReflection69 Oct 02 '26
1
u/biborn Oct 03 '26
Do you mean to put it on the same line as the `esc interrupt`? If yes, you need to set the placement a.k.a surface rendering to `prompt.footer`. Here's the config that I use (`~/.config/opencode/opencode-status-line.json`):
https://gist.github.com/rashidrazak/221f5e2ae37334809edb712754be7351
0
u/Spirited-Pumpkin-766 Oct 01 '26
I’m curious why are u using opencode for your command code plan? I thought cmd harness is better?
3
u/biborn Oct 02 '26
I hope you’re joking. But in case you’re not, I really wonder how you found their harness is better.
1
u/Long_Rub5460 Oct 02 '26
tbh, their harness seems to work better behind the scenes (with tastes and with model x tools sync). But working on opencode is much better UX and feels far more polished.
1
u/biborn Oct 02 '26
Well, my personal experience with their harness has not been great. Sometimes the harness crashes in the middle of a session. And that taste thingy they have is too noisy. I remember that someone has debunked their taste thingy recently. Didn’t really read it though as I am not using their harness anymore. YMMV
Ah found the link. Here it is.
https://x.com/cheatyyyy/status/2101252283615060378?s=46
Not sure how true that is
-3
u/angry_deadman Oct 01 '26
Thanks, I will disable it. I have been very happy with OpenCode V1 and don't want to change anything 😅
2
0
u/Yvlasov Oct 07 '26
buggy useless - brakes layout when right panne enabled - almost no additional information



21
u/JaMoLpE88 Oct 01 '26
I don't understand how something like this isn't native yet.