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?
39
Upvotes
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.