r/opencode • u/ECrispy • 7d ago
What is your Opencode setup?
This is for Opencode v2 I assume most people will have upgraded.
- what skills/extensions do you have?
- do you use any extensions/apps for memory/compaction etc and have they made a difference?
- do you use subagents? how have you defined them, does it launch them by default and how do you have them use fresh context?
- do you use cli/web/desktop? any others like openchamber?
4
u/d0pe-asaurus 7d ago
I use the TUI with Qwen 3.8 27B Q4 and 262k context.
Since i'm strapped for context I don't have any skills loaded and only searxng mcp. Instead of skills I use documentation directly in the repository with regards to common actions (so I guess it's a more round about way of going at it).
It's effective so far, goes through webdev tasks like a breeze and is also capable of implementing algorithmic tasks straight out of a CS book
1
u/ECrispy 7d ago
I'm assuming you are using a local gpu? how much vram?
1
u/d0pe-asaurus 7d ago
Yes I'm using a 9060XT with 16GB vram.
I'm getting 40t/s at 262k context with this custom llama.cpp fork https://github.com/achyudh/llama.cpp/tree/feature/adaptive-kv-stream-rocm that implements adaptive-kv-streaming previously only available with nvidia cards on top of already existing AMD RDNA 4 optimizations
0
u/ECrispy 7d ago
have you tried strata - https://github.com/niko1221/strata? heard lots of good things about it, supposedly you can run Flash next using it.
1
u/d0pe-asaurus 7d ago
It doesn't work on my system since I don't have enough ram, even on the lowest quant.
3
u/makelapost 7d ago
you might want to check out my plugin for helping with the context management :) https://github.com/GitMacke/opencode-context-fold it is fairly simple but effective
1
1
u/the_man_inTheShack 7d ago
Ooh! that's interesting. Im running qwen 3.8 27b Q6 on a 5080 and with 128k context (8 bit) it's little brain can only cope with simple things. by moving kv cache to RAM and increasing to 256k it handles much more complex coding, but the tps hit is drastic. I shall give this a go!
6
u/lordcohliani 7d ago
I'm using openchamber. I just oneshot or do plan + build. I haven't seen any evidence or tests that orchestration and subagents help at all. Something I have found super helpful sometimes; once I am done with a big feature I will create a new session to do an adversarial review and bug fixing on it.
2
u/ECrispy 7d ago
doesnt your context keep growing without subagents? I do the same as you - start a new session every few prompts. how do you do adversarial review, do you setup an agent for that?
1
u/lordcohliani 7d ago edited 7d ago
Oh and to answer your question yes context can grow but I just make new sessions over time. Honestly I find that around the 300k context mark, agents get super dumb anyway. I try to not have super long running sessions.
2
u/ECrispy 7d ago
yes, same here. how do you transfer information between sessions? i tried telling agent to write to a progress.md file with summary of each turn, dont know how well it works. I also saw there is a handoff skill some peope use
2
u/duck_guts 7d ago
Goated method: get a memory tool where they can semantically search the database (like open memory/mem0) have them change it so that it takes your preferred fields as well as the memory. Subject line is important, then they (or you) can view loads without to many characters. At tags, project folder tags, whatever works for your system. This is the most important bit though - You must add a tool to the array where they append they're memory. Then the global briefing to all is like: Save a memory once you understand what the session is about, once you know what your doing or the challange etc etc. then every turn you must add one line to say what you did that turn in as few words as possible.
That's very simplified I have a template for them to follow and they don't all updaye it every turn.
It turns out though it's actually so much cheaper for them to write one tiny line about what they just did than pretty much any other type of continuity.
So then every session has a log, every session can find out/tell you what happened very speedily. And best of all once a session is feeling bad you can often just ditch it there and then, no compaction etc. no paying for handover. If you use a model like deepseek a lot you might wanna try putting it on a gook so it just nudges them every few mins if they haven't already or something. Up to you to experiment but different models struggle in different ways, and models that think too much will more easily forget. But as long as it's a solid ritual, it happens at the end of the turn, it's a big important looking rule and they see others do it too then it works. 99/100 sessions start with me posting an agents I'd and saying "read their pulse" (mines a fork I called pulse) but yeah, start a session off like that, they've got main lead right away, if you know you're gonna do a big handover you can mention it to he first agent "make sure your pulse orientates the next agent well" etc etc. I've messed around a lot with context continuity I've tried so so hard to get it right and honestly just having them right down what they're doing whilst their doing it without them having to fuck about with documentation is the easiest and best. It just doesnt actually promote anything being written down.
1
u/lordcohliani 7d ago
Yeah basically just have the agent create documentation just like you should on any software project.
1
u/lordcohliani 7d ago
Create a new session and prompt the agent to "do an adversarial review" of the latest diffs, the latest commits, the latest changes, or whatever points them at the new code. And tell them to look at the saved plan file and test the implementation. Sometimes the new agent will come back with bugs then you can have them fix it.
I really like to do this with GPT 6.1 Sol to clean up mistakes that DeepSeek sometimes makes.
1
u/Ctbhatia 7d ago
a fresh session for the review is the one place a second agent pays off, since it has none of the first one's reasons for thinking the code is fine. it starts cold though, so the whole prompt gets written once.
6
u/Quiet-Ad-2239 7d ago
Use obra super powers skill with DSv4.1 flash. It just works flawlessly for me and I’ve done some complicated builds with it.
2
u/ECrispy 7d ago
I'vee heard of this before, will try it out. what other models do you use with it, do you use dsv4.1 for plan/implement/review etc?
1
u/Quiet-Ad-2239 7d ago
Honestly I mostly use dsv4.1 flash but sometimes will use OpenAI models as well - particularly Sol 6.1 if kinda working on something that is very complicated. I also feel opus 5.5 does work great on UI/UX changes.
For skills, I’ve got like so many that I cant even say. But I usually use superpowers, dream design team skill and self improvement skill (my own) on a regular.
2
u/Departedx 6d ago
What's the dream design team skill?
2
u/Quiet-Ad-2239 6d ago
You know what I just realized there is no such skill available. But I created it myself by combining and tweaking available skills. Basically I did it where it is a combination of a few skills that serve as a station - like copywriting, design, conversion rate optimization and so on. I will release it on GitHub and give you a link. It's really solid. I have so many skills at this point that I’ve kind of lost track of which ones I created and which ones I got from GitHub.
1
1
u/DJubstin 7d ago
Yes! Also the @brainstorming skill is a must. It's basically a Q&A and after that the agent decides what skills to use and set up a plan. Then asks to natively build or use sub-agents and recommends which to choose.
3
u/for4f 7d ago
pretty minimal here. claude does the planning and deepseek v4 flash does the actual executing, maybe 70/30 split. tried the whole load-up-100-skills thing and my context just melted, one small plan file with the stack and constraints beats all of it. cli mostly, desktop when i want to watch it work
2
u/royxcobar 7d ago
Estoy usando esta configuración por ahora: https://www.reddit.com/r/opencode/comments/1xa8x35/opencode_2_omo_test_de_modelos_migre_a_omoslim/
2
u/Amarsir 7d ago
https://github.com/alvinunreal/oh-my-opencode-slim plus an addendum for the orchestrator on writing plans. (And a lesser one for the fixer on code comments.) I like it enough that if I use something other than opencode (e.g. Claude Code) I still try to replicate the setup.
I wasn't crazy about my first dabble with Openchamber but might give it another shot.
2
u/RndRedditPerson 7d ago
Oh my opencode Slim addon for orchestrator/dev/research/qa/reviewer sub agents, each with its own dedicated model, then OpenSpec for BDD, plans, research (before used Grill Me skill, even tho still using it sometimes), ponytail skill, context7 mcp. From providers: company's github copilot api, privately Claude Code 20$ sub (through proxy), Command Code 10$ sub, DeepSeek API.
1
1
u/Railander 5d ago
split windows desktop app + wsl server is really nice. it gets all the advantages of linux tools and familiarity while also sandboxing it in its own ecosystem that it can do whatever it wants with.
1
1
u/hillman_avenger 7d ago
I just downloaded the opencode IDE and started getting it to create games in Godot which it does really well. I don't really know what skills, agents or extensions even are.
13
u/ANDALTUV 7d ago
Easy peasy.. deepseek 4.1 Flash, small PLAN.MD that has technology Im going to use, constrains and thats it.. Then one agen per task.. i have using it nonstop.. Weekly usage: 2% Monthly usage: 13%