r/opencode • • 12d 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

2

u/grahamjones139 11d ago

I've found opencode to be pretty good with it's default settings without sub-agents etc - even using one of the free models. As yours is a microcontroller project it won't be too big, so id just write a detailed prompt saying what you want the tool to do. Be very careful to review what it has done though - I tend to regard these tools as a very junior engineer who has memorised a lot of manuals. It might not structure the code how you would have written it unless you tell it to. And tell it to write tests as well.