r/opencodeCLI • • 28d ago

🔥 /goal is finally in OpenCode

Post image

...

440 Upvotes

39 comments sorted by

103

u/synaps33 28d ago

/goal Create gta 6, make no mistakes

35

u/Xanian123 28d ago

Llama 7b 4 bit quantization speedrun.

10

u/Deep_Imagination_811 28d ago

aim higher. gta 7.

2

u/Sheeple9001 26d ago

Claude Opus 6

1

u/Softword75 28d ago

Ahahhahahahahahaha you killed me 🤣🤣

36

u/pikuray 28d ago

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

5

u/themoregames 28d ago

Could work very well for social media marketing, too!

1

u/ThePhilosopha 28d ago

I thought it was just me.

31

u/RaspberryBeer 28d ago

/goal find me a girlfriend
the AI:

15

u/imoshudu 28d 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 28d ago

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

1

u/Sweet-Stage938 28d ago

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

3

u/ATyp3 28d ago

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

8

u/old_mikser 28d 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 28d ago

what is this?

26

u/DrinkClubMate 28d 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 28d ago

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

5

u/Robonotes1760 28d ago

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

1

u/ethereal_intellect 28d ago

Tbh even overnight or 12 hrs is incredibly usefull

6

u/taytay735 28d 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 28d ago

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

2

u/DeSynkro 28d ago

Did you guys see the edit for the video?

Holy shit that was some smooth editing!

2

u/Glass_Bus4044 28d ago

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

2

u/No_Dig_7017 28d ago

Any official source on how to use it? 

4

u/Sweet-Stage938 28d ago

It's basically like any other prompt but cooler😉

1

u/No_Dig_7017 28d 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 28d ago

/goal A million dollar startup

2

u/Total-Management8023 28d 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 28d ago

/goal prove collatz conjecture

1

u/No_Dig_7017 28d 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 28d ago

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

1

u/Ghanna- 27d ago

Smart way to waste all your tokens

1

u/MuzafferMahi 27d ago

Bro is late by a year

1

u/aruthesa 25d ago

/goal reach the goal