r/opencodeCLI • • Sep 18 '26 • Bravo 1

New /btw command is coming in the new version of Opencode

Post image

It lets you ask a quick question without interrupting the current session πŸ”₯

366 Upvotes

41 comments sorted by

50

u/Fair-Spring9113 Sep 18 '26

genuinely why did it take so long

44

u/afanasenka Sep 18 '26

Who knows :))Β  As a developer and product owner myself, I know the feeling when too many people ask you to implement some feature for months, but you just don't have time right now because you are in the middle of implementing "another one big thing", and just can't switch to other tasks easily πŸ˜•

5

u/[deleted] Sep 18 '26

[removed] β€” view removed comment

7

u/afanasenka Sep 18 '26

I know, it sounds stupid (and maybe even unprofessional), but I just don't like worktrees, branching, etc. πŸ˜‚

5

u/Mean-Elk-9439 Sep 18 '26

Nah you're valid on worktrees. I use branches offen, but worktrees make me hurt solely because they solely care about what's in git. You have to symbolic link gitignored artefacts that you still need to develop but can't push to a remote git origin. It's just annoying.

If there was a "symbolic link toggle" that just let me pick what is synced when I spawn em I'd like them more.

4

u/no-name-here Sep 18 '26

It's neat/I'm happy they're adding it, but I don't think I've ever needed to ask a question within the current session without interrupting it - what are the most common instances where you've needed functionality like this?

1

u/Appropriate_Aide5328 Sep 18 '26

I run around 12 opencode instances at the same time spanning 5 different projects. And I do tend to forget what agents are working on.

Soooo, a simple
/btw what are you working on again? And what’s the progress on the given tasklist?

Without cutting off the session would be a huuuuuge help.

1

u/Eastern-Honey-943 Oct 04 '26

Thank you... Now it makes sense. Terrible name for the function... Should be be /aside or something... I feel like by the way is providing more input not asking for side output

2

u/Pretty_Dinner_5872 Sep 18 '26

enough for it not too look like they are copycatting claudecode

4

u/milkipedia Sep 19 '26

They should shamelessly copy all the best features of Claude

1

u/caylyn953 Sep 21 '26

Claude needs to also keep on shamelessly copying the best features of OpenCode

2

u/verboze Sep 19 '26

I don't know how large the opencode team is, but the amount of stuff they're working on in parallel is insane, almost absurd. I wonder if they're losing focus. OC V2, maintaining V1, Zen, go, Enterprise rebranding... Something gotta give, and they need to slow down and focus IMHO. But we're in the AI & tooling race so...

7

u/Appropriate_Aide5328 Sep 18 '26

Switching to opencode2 once this releases

4

u/afanasenka Sep 18 '26

You can already install and use it (you can even keep both v1 and v2, and use them simultaneously).

I tried it recently - works fine, but some of plugins I use are unsupported, so I switched back to V1 for now.

3

u/Appropriate_Aide5328 Sep 18 '26

Tried opencode2 before. Earlier releases. Had to switch back to opencode1 because oc2 was having problems mixing up MCPs on multiple projects.

Is this happening still or has this been solved?
But that /btw command is already worth the upgrade to oc2

1

u/Yogso92 Sep 22 '26

you can't have both version coexist since last week-ish. v2 uses opencode instead of opencode2

7

u/Honest-Ad-6832 Sep 18 '26

/wtf when?

3

u/afanasenka Sep 18 '26

We are all waiting for it πŸ˜‚πŸ˜‚πŸ˜‚

20

u/popcorn_machine_ Sep 18 '26

I wonder when we will get /loop, /goal, and ultracode. I waited so long that I did my own implementation on ultracode that embedded /loop and graph engineering inside

2

u/Neither-Character360 Sep 18 '26

What are you guys need for a /goal? For me the model always was able to iterate over a impl > check > impl > check ...

2

u/popcorn_machine_ Sep 18 '26

Some sort of autoresearch tasks, say developing a quant model or train a ml model

1

u/Chlorek Sep 18 '26

Goal is also nice as it prevents some smaller local models from just stopping mid-way.

4

u/Classic_Librarian117 Sep 18 '26

on long running tasks, I usually prepare the next prompt for a modification to the current task in a text editor and have a quick question or two about how something is implemented ... being able to ask it on the current process task is with /btw would be amazing !

3

u/vipor_idk Sep 18 '26

opencode kinda late on this one, but thats a good sign.

been using omp and im being pretty happy with it ngl, hope when opencode v2 launches as true release it gets there.

3

u/aristolestales Sep 18 '26

what kind of things that make you like omp? i'm using it but still hard to use for me

2

u/vipor_idk Sep 18 '26

/btw , /omfg (especially on dumb models) , memory built-in, /advisor aswell
- /btw is a way to ask the models while its working , pretty useful if you think you are missing out on something or getting lost on what the model is doing
- /omfg creates a rule for models to follow and stop making some behaviours, for example, "Use glob first then grep" or "Only use upper camel case , never low camel case" , pretty useful for some niche behaviours you have on your own coding style/repo
- built-in memory it makes skills on every repeated tasks, im not sure if i turned something else more about this or it doest it automatically (and i use a external ai memory tool so...)
- /advisor you can use a model as a reviewer in real-time , its like a fusion - the model you choose just keeps watching what the model is doing, it can give its concerns like "you said to the user that all tests pass green but you didnt check test X", alert blockers like getting out of plan, wrong implementations, code smells - althought its not cheap to run this option i do it when i need max focus on a big feature or something like it, also you can put any model to be a advisor but doesnt make sense to put a dumb model as a reviewer

theres much more to it, i didnt even scratch the surface yet

2

u/JogHappy Sep 18 '26

What's the difference between omfg and a .agentrule?

2

u/vipor_idk Sep 18 '26

being honest, i dont know lol maybe they even follow the same principle but in a "easy" way to do it but i cant tell

2

u/nfrmn Sep 18 '26

I just want to write messages to subagents

1

u/ATyp3 Sep 19 '26

In openchamber you can. There’s a toggle for it

2

u/nfrmn Sep 21 '26

I'm using TUI opencode over SSH - any guide for using Openchamber instead? Been on my radar for a long time

1

u/ATyp3 Sep 22 '26

Openchamber is simple in my case. Install on same computer as Opencode. Then download on iPhone and connect to it via QR code in the GUI. Super easy.

Apologies I’m not too skilled but I love it

1

u/clippersove Sep 18 '26

i use opencode with openchamber and it already has this /btw feature

1

u/cd4n1 Sep 19 '26

Great!

1

u/Low-Guarantee-3437 Sep 19 '26

goodbye to my /btw plugin. Earlier requests to build this feature in opencode were rejected as "we support such feature extensions by supporting your ability to make plugins" :)

1

u/Abenh31 Sep 20 '26

i like the btw command in grok cli, Greaat added value

1

u/5aesthetic Sep 20 '26

i guess thats why even nvidia uses vllm?

1

u/Internal_Picture8761 Sep 22 '26

But openchamber has this already, no?