r/opencode • • 25d ago

🔥 /goal is finally in OpenCode

Post image

...

403 Upvotes

36 comments sorted by

81

u/manchipaiya 25d ago

/goal free Claude opus 5.5

7

u/Master-Chocolate1420 20d ago

Free usage exceeded, subscribe to Go

49

u/ChapterFun8697 25d ago

/goal one milion in my bank!

16

u/Mamox437 25d ago

Risky one. Could become true and then 👮🏻‍♂️

10

u/MuteToFart 25d ago

/goal $5 billion from Binance

1

u/crazysim 23d ago

Might be faster than 1 million from the bank.

2

u/onomastico 25d ago

That's a lot of tokens.

23

u/dumbasPL 25d ago

The token burner 9000

At least DS is cheap.

21

u/ForeverPrior2279 25d ago

Finally I can burn as much money as I want

10

u/IsJaie55 25d ago

/goal do something, no mistakes

9

u/YoRt3m 25d ago

For which purposes are you guys using it?

19

u/Takumi-0 25d ago edited 25d ago

This feature is amazing. Sometimes the task is heavy enough for the agent to forget to complete what it was told to do. It had so much hard time to complete, that side quests just make it forget about the end goal.

"goal" command will be the end of the loop and remind to the session what was the real end goal.

Without it, you can make a plan with multiple checklist and "make sure" it will complete it 🤔. Now you can "/goal complete checklist"

It can be like parents reminding constantly kids to do homework until it's done. Checklist will only tell what to do but can play around.

8

u/YoRt3m 25d ago

I don't remember a plan that the agent failed to finish except in cases where it just didn't know how to do it \ impossible \ no resources. or cases where I interrupt it to add more requests, but that's different because I wouldn't know I'll have more requests when I initially make the first prompt.

2

u/Takumi-0 25d ago edited 25d ago

I understand and it's very true. But using AI, there's just no way to make sure it's gonna complete tasks. Today, they are capable enough to do it, that's what we "expect" and the result is quite good. That's the word "expect" that "goal" is trying to remove.

Benchmarks are focusing on TerminalBench in order to make sure your agent is capable to remove 100% of "expectations" by being able to verify itself.

In my opinion, using very intelligent model will complete the task most of the time. What if you use a dump model with "goal". You can try this probably 🤔.

Opus 5.5 (no goal) vs Deepseek 4.1 (goal) Yes quality will be different, at the end they will complete same goal.

1

u/YoRt3m 25d ago

I'm not a rocket scientist, if a model I use can't finish 1 task, as complicated as it might be for my needs, it might aswell be too dumb to use to begin with. and I used both Deepseek 4.1 and Opus 5.5 and others... (I'm not talking about idiotic models like Beam because I wouldn't use them for 1+1.)

That's why I asked what are the purposes of the other people because maybe they're doing more complicated things.

3

u/Takumi-0 25d ago

I think it really depends on how your harness is and how you manipulate AI conversation. I'm trying multiple things like writing specific tasks (coding oriented) or only run a task from a PRD with making sure the PRD is fully implemented and running as goal (product oriented).

I'm also very interested by how people use it 🤓

1

u/chhola 14d ago

Also trying to understand when to use goal.

What I normally do for a task is to get the agent to create a ticket on github first following by a pr. So the ticket becomes the reference point of the task. Sometimes I create multiple prs for the same ticket using different models, that way I can compare the results and pick the one I like.

1

u/Takumi-0 11d ago

Ok i just had an excellent usecase

I am actually working on a heavy plan that i know the agent would stop anytime. I need to do a big migration of code a legacy work and my 'goal' is to verify on the end result tests are all green based on a plan. During the session, the agent compacted the context multiple time keeping the harness (opencode with deepseek) goal constantly active.

I have the feeling that if your harness is focusing on a task and need to compact, its gonna compact on the current task with a smaller summarize on the "said goal". so the "harness goal" will keep the objective always true.

Does it make sense?

5

u/MrShrek69 25d ago

It’s basically a built in Ralph loop. If u have heard of it

6

u/Itz_Santhosh 25d ago

Ok but when we get /multitask I am new to open code

1

u/ILOVEMENLOL8 21d ago

need usage

4

u/zeamp 25d ago

OpenCode Gone

3

u/awkard_guy_ 25d ago

/goal build coding agent that works for free, no mistakes pls

2

u/AdFun4897 25d ago

I can finally finish my todo app

2

u/HiddenFaceOpenMouth 25d ago

Does it work with local models too?

4

u/cylin577 25d ago

no reason for it to not

1

u/TIFO2026 25d ago

I insist that agent after each task update taskList.md and taskProgress.md and on top of taskList fajl are all informations necessary to easier pick up context in new session and it is working like a charm 🤷‍♂️

1

u/Vexaris1 25d ago

I use ClaudeCode with BYOK; this innovation came to opencode very late.

1

u/25Violet 25d ago

I want ultracode

1

u/Awkward_Intern2623 25d ago

So what in tarnation is the reviewer? Is that some kinda gadget or what?

2

u/cylin577 25d ago

prob another subagent