r/opencodeCLI • • 18d ago

🔥 /goal is finally in OpenCode

Post image

...

434 Upvotes

39 comments sorted by

103

u/synaps33 18d ago

/goal Create gta 6, make no mistakes

35

u/Xanian123 18d ago

Llama 7b 4 bit quantization speedrun.

10

u/Deep_Imagination_811 18d ago

aim higher. gta 7.

2

u/Sheeple9001 17d ago

Claude Opus 6

1

u/Softword75 18d ago

Ahahhahahahahahaha you killed me 🤣🤣

36

u/pikuray 18d ago

So /build without the "tell me if you want me to go ahead with the next slice" every 15 min?

5

u/themoregames 18d ago

Could work very well for social media marketing, too!

1

u/ThePhilosopha 18d ago

I thought it was just me.

31

u/RaspberryBeer 18d ago

/goal find me a girlfriend
the AI:

14

u/imoshudu 18d ago

It is a trendy feature. But it also doesn't work well in practice in other harnesses. Because determining whether a goal is accomplished can surprisingly require more intelligence. In that case I'd rather trust an orchestrator who can do independent checking and code execution, and then whip subagents into compliance or even modify the task live

12

u/seeKAYx 18d ago

that was the main reason why is switched to the Deepseek harness. Nice to see it now in OpenCode.

1

u/Sweet-Stage938 18d ago

How and why exactly would this be better than a normal prompt?

3

u/ATyp3 18d ago

/goal makes it keep fucking working until it reaches the goal. It compacts automatically and keeps pushing.

8

u/old_mikser 18d ago

Everyone were asking for this more than 6 month ago. Now, when people realized all these loops are not so good - you shipped feature.
Thank you!

7

u/VIvic87 18d ago

what is this?

26

u/DrinkClubMate 18d ago

You defind some /goal and the system loop and try until its working as described.

If your /goal is stupid, you get a stupid result

But if you know what you are doing, with a local LLM it's can run several days until you got what you ask

8

u/Robonotes1760 18d ago

I shall look forward to getting some stupid results... 

5

u/Robonotes1760 18d ago

/goal Increase world marshmallow pink to white ratio by 0.5%

1

u/ethereal_intellect 18d ago

Tbh even overnight or 12 hrs is incredibly usefull

6

u/taytay735 18d ago

Reminds me of the meme:

  • What the customer wants

  • What you think the customer wants

  • What you want to build

  • What you actually built

4

u/zer0evolution 18d ago

is this will be endlessly looping eat our monthly quota without producting good result?

2

u/DeSynkro 18d ago

Did you guys see the edit for the video?

Holy shit that was some smooth editing!

2

u/Glass_Bus4044 18d ago

Based on the way it burn tokens, I'd bankrupt in a single goal.

2

u/No_Dig_7017 18d ago

Any official source on how to use it? 

4

u/Sweet-Stage938 18d ago

It's basically like any other prompt but cooler😉

1

u/No_Dig_7017 18d ago

Haha I found it in a pr: https://github.com/anomalyco/opencode/pull/59437

I've been doing some tests with a plugin that allows setting goals and using deepseek 4.1 flash 1017 iq2_xs it hasn't been good. The model starts conflating stuff a lot, it confuses things produces a lot of duplicates and regressions and isn't really making solid progress. Still it's fun to experiment with

2

u/Important_Table_791 18d ago

/goal A million dollar startup

1

u/Total-Management8023 18d ago

Imma try this with the new DeepSeek because it keeps asking me some bs like "continue"? After working for a combined total of 1 minute 

1

u/acakaacaka 18d ago

/goal prove collatz conjecture

1

u/No_Dig_7017 18d ago

Ooohh nice. I was using a plugin but native support is definitely good to have! Is this on opencode 2?

1

u/Professional_Gift151 18d ago

/goal make a trading bot to turn 10$ -> 1000$ in a day

1

u/Ghanna- 18d ago

Smart way to waste all your tokens

1

u/MuzafferMahi 17d ago

Bro is late by a year

1

u/aruthesa 15d ago

/goal reach the goal