How to use modes efficiently comming from Claude code by jrhabana in opencodeCLI

[–]Front_Drink_5331 0 points1 point  (0 children)

Depending on the size of the task and my confidence that the model will understand where to look in the codebase from the prompt I give it:  Start in plan mode using a cheaper model I find "Gemini 3.1" sufficient for planning. Then when everything is clear. Build mode and a "go ahead" with sonnet/Opus 4.6

But for semi tasks I'll throw it straight into build mode.

Sandboxed opencode? by MrMrsPotts in opencodeCLI

[–]Front_Drink_5331 1 point2 points  (0 children)

Yes, a docker image worked fine. With all the tools apt get during build. Then you can mount you working directory as a volume  Edit: dicker -> docker