r/opencode • • 10d ago

Get the most from opencode

Hi

Following a lot of YouTube bloggers I am lead to believe that to get the best from Opencode you should set up a numbers of subagents and skills ( of course also a good model).

For me "best of" is basically low token count and good quality of produced code according to my preferences.

I asked a AI for help and the result was depressing. Many, many bloated subagents and skills, not even mention all documents needed.

I did not even bothered to test it.

I have a firmware project for a esp32 cpu where I try to use the Matter specification and Home Assistant.

Any advice on this and/or some templates?

3 Upvotes

12 comments sorted by

View all comments

1

u/l3onardoh 10d ago

Plan with a high capacity model, have good instructions from the start and then use cheaper models to execute, a slightly higher model to review and you should be good. At least it's the way I do and works fine tbh

1

u/lgLindstrom 10d ago

The key issue is "how do good instructions" look?

1

u/l3onardoh 10d ago

I mean it really depends on the project you're working on, the instructions just like the agents won't be the same all the time.

The way I do is creating a global plan and once I know what I'm going to do, the stack, the main goal and so on, I ask a frontier model the agents I need and the specific instructions for each one of them.

Always cross check the instructions between models before starting any project, a review at the beginning it's cheaper then starting with a bad foundation imo

1

u/Oli_Luck 10d ago

If you have to learn what good instructions are then dont go for something serious: you must learn to communicate with na AI - and sadly each model has to be steered differently.
Give a few tutorial on youtube a chance if you want to avoid frustration.

1

u/lgLindstrom 10d ago

I am trying to learn by asking ..

Most if not all tutorials on YouTube are about user interfaces and high level applications. I was hoping for som advices for embedded development.

1

u/Oli_Luck 10d ago

lol -try this search on youtube: large language models basics english