r/opencodeCLI • u/warpaint_james • 14h ago
r/opencodeCLI • u/phosphorhouse • 20h ago
Built a local SQLite memory layer for OpenCode CLI (0 MB idle daemon, read_file packs, diff-locked rules)
When you run OpenCode CLI across multiple providers and repos, flat AGENTS.md files or Obsidian folders start breaking down fast: fixes from one repo bleed into unrelated sessions, models occasionally overwrite rules you already verified by hand, and MCP memory servers add constant schema overhead on every turn.
I built Slipdex (v0.4, MIT) on Node 22+ built-in node:sqlite (or Bun bun:sqlite) with zero external npm dependencies and no background daemon.
How it works inside an OpenCode CLI workflow:
slipdex init --no-mcpwires a compactSKILL.mdandAGENTS.mdpack index so OpenCode reads only the matchingpacks/<domain>.mdviaread_filewith zero MCP tool clutter.- Even on a fresh session, a tiny startup radar gives OpenCode your active context and domain pointers without dumping a giant global markdown file, and
slipdex recallpulls older slips on demand via FTS5 BM25. - Separate local SQLite WAL vaults isolate
engineering,project:<slug>, gatedon-demandvaults behind short-lived leases, an optional Identity Card, and an encrypted write-only journal. - Human-verified notes are diff-locked at the SQLite layer: agent edits open reviewable proposals with append-only history instead of silently mutating head.
- On-demand local Studio (
slipdex ui) gives you a draggable domain graph, token-budget preview, and 1-click import from existingAGENTS.md,CLAUDE.md, Obsidian vaults, and session logs, then shuts down cleanly when idle.
GitHub (MIT): https://github.com/phosphorhouse/slipdex Browser demo (sample data, no install): https://phosphorhouse.github.io/slipdex/demo/
Quick setup: npm install -g git+https://github.com/phosphorhouse/slipdex.git && slipdex init --no-mcp
r/opencodeCLI • u/BlueberryEffective94 • 4h ago
Hola alguien sabe cómo integró Open Code en hermes y con una sólo API tengo acceso a todos los modelos que tiene Open Code? Grax
reddit.comr/opencodeCLI • u/No-Individual159 • 15h ago
Prefixwise: see why opencode's prompt cache misses, and what each miss costs
reddit.comr/opencodeCLI • u/SirRobinBlibs • 20h ago
OpenCode 2.3.2 fixed GPT-6.2 re-billing the system prompt every step. How I'd check my own setup
The v2.3.2 release note says GPT-6.2 models don't cache a system prompt sent in the Responses instructions field, so every step re-billed it as uncached input. OpenCode now sends it as a leading developer message. On GitHub Copilot gpt-6.2-sol the note says uncached input per step went from about 14,000 tokens to 3.
OpenAI's caching guide explains why: on GPT-6.2 and later, top-level instructions are appended after the input and billed at the uncached rate every request. Reusable instructions belong in the first developer message.
What I took from it: a session hit rate can look fine (70% in my worked example) while the biggest stable block is never cached. Check cached and uncached tokens per step, at step 2 and at step 10.
I wrote up the arithmetic, a ten-minute audit and a small script that prints the numbers per step: https://medium.com/@r3dtuxedo/your-system-prompt-was-never-cached-77c7bebe41fd
I wrote the article.
r/opencodeCLI • u/Few-Cartographer7156 • 1d ago
I made an OpenCode plugin that puts a diff in front of me before applying an edit
I built Mirage because I wanted a small review step for edits I care about. In OpenCode 2 CLI, I can ask the agent to send one edit through Mirage, look at the diff, then approve that proposal. A quick way to try it is to pick one tracked text file, ask for a small change through Mirage, and compare the approved preview with `git diff` afterward.
The plugin is opt-in. OpenCode’s native write tools are still there, so the review only covers edits sent through Mirage. If you use OpenCode, would you bother with this for config and migrations, or is reviewing the final Git diff enough for you?
r/opencodeCLI • u/beppe28 • 1d ago
OpenCode Mobile Community just hit 200 stars 🎉 Thanks for the support!
galleryr/opencodeCLI • u/Ok-Community-7121 • 1d ago
One prompt, and your OpenCode models work next to Claude and Codex
I like having lots of models to choose from. I just got tired of choosing one for every single task.
So I built Quota Boss (mine, free, MIT). You type one prompt, and Claude Code or Codex becomes the boss. It splits the task, gives each part to a fitting model and checks every result. OpenCode is how it reaches the free and API models you add, like DeepSeek through OpenCode Zen or models from OpenRouter. OpenCode Go works as a custom API too.
What I like most: the small stuff doesn't have to eat my paid limits anymore. A free model that's about as likely to get a part right goes first. Independent parts run at the same time, and the boss reads the changes and runs the tests again before it says done.
Your API keys stay in OpenCode, Quota Boss never reads them. Free offers are off until you pick them, and each one shows its limit and whether it trains on your data.
Try it: npx quota-boss@latest, then /boss-setup and /boss on
https://github.com/CrazyToto/quota-boss
You probably know these models better than I do. Which ones would you trust with real work, and for what? I'd love to hear where it picks wrong.
r/opencodeCLI • u/Longjumping_Bad_879 • 1d ago
Does MCP code mode introduce a trade-off between token efficiency, context retention, and error recovery?
reddit.comA doubt regarding trade-offs associated with code mode in mcp. Please refer to the original post.
r/opencodeCLI • u/SuccessfulStatus7629 • 1d ago
Using voice to coordinate OpenCode across my computers
I’m the creator of AI Expedite (https://aiexpedite.com). I’ve been working on a way to start and direct OpenCode on my connected computers, with a two-way voice assistant for sending instructions and hearing responses.
The same interface supports Claude Code, Codex, Grok Build, Muse Code and Antigravity. I’d love feedback from OpenCode users: what would make managing sessions across machines more useful, and where would voice get in your way? If you want to try it, message me and I can provide some extra tokens.
r/opencodeCLI • u/ufos1111 • 1d ago
Beam Contributor "free unlimited" ran paid models instead of doing the task itself
reddit.comr/opencodeCLI • u/mattatabi • 1d ago
Help me decide between OpenCode go and Command Code GOAT...
galleryr/opencodeCLI • u/InvaderDolan • 1d ago
OpenCode + Mistral Vibe plugin 0.2.0: use your Vibe subscription as an OpenCode provider (ACP), now with subagents, skills and MCP tools
r/opencodeCLI • u/Ani_188 • 2d ago
Open Code Go vs Claude Code Pro vs Google AI Pro
For moderate-to-high daily agentic coding in OpenCode, which subscription actually gives you the best sustained runway without constantly hitting a wall?
- OpenCode Go ($10/mo) — Best pure token volume on open-weight models, or do the heavier reasoning models still drain the 5-hour slice too fast?
- Claude Pro ($20/mo) — Is the doubled Claude Code 5-hour rate limit enough to survive daily sessions, or does the weekly ceiling still wipe you out mid-week?
- Google AI Pro ($19.99/mo via
opencode-agy-auth**)** — Worth it for juggling the split Gemini + Claude pools, or has the recent rapid quota drain / OAuth throttling killed the value? ( currently using this )
If you're pushing heavy daily loops right now, which one are you sticking with and why?
r/opencodeCLI • u/crapaud_dindon • 2d ago
PSA: Do not add extra credits to your Go subscription
I spent all my credits and added some cash to keep going until the end of the month. Extra credits are spent using another calculation and burn through tokens very quickly compared to Go rates, even when using DeepSeek exclusively.
r/opencodeCLI • u/ganang1722 • 2d ago
Anyone tried the new OpenCode v2.4.3? Is it worth updating?

i just noticed that OpenCode v2.4.3 is out, and im wondering if anyone here has already tried it. what's actually different compared to the previous version? are there any noticeable improvements, or does it come with new bugs or issues?
i'm still on my current version, so i'd rather hear some real experiences before updating
r/opencodeCLI • u/OathbreakerAI • 3d ago
Running an abliterated model in OpenCode? It won't push back, so your config has to. What I'd set first (1.x and 2.x)
reddit.comFor visibility, we have stake in making sure abliterated models are used with proper precautions!
r/opencodeCLI • u/peva3 • 3d ago
Tethergate for Opencode - Secure MCP access to your remote machines
I'm not sure if anyone else has run into this using Opencode, but I really didn't like the setup of giving Opencode straight up SSH creds/keys to my remote machines I wanted it to have access to, even with best practices it just felt kinda janky.
So I made a MCP server that runs locally plus a small agent that gets installed on your remote machines. This gives Opencode gated, end to end encrypted access that is locked down to specific opencode sessions.
If you want to get setup quickly you can just tell your opencode session:
"Read https://github.com/peva3/tethergate/blob/main/STARTUP.md and follow it to set up Tethergate on this machine. Ask me for the node details it requires."
The default setup would be using something like Tailscale, or being on the same LAN as your nodes, I would not recommend doing this over public IPs, just because I don't think it would be smart to open up a possible attack vector, but there's nothing stopping you from doing that technically.
So that's it, basically it's just a small MCP server with a web ui, you set that up, then create either one time use or fleet keys for your nodes, run the command on your node, and they sync up and download the needed files and config. Then you login to the web ui or use slash commands in your Opencode session, and grant that session access to specific nodes, then you're set, that session should now be able to run gated commands remotely.
Also, just want to be upfront that this is a totally self hosted setup, there's no central server, no phoning home, no goal of making this some sort of SAAS product, you own it, it's your private deployment, I don't want to touch your servers.
r/opencodeCLI • u/wwdennis5 • 4d ago
What do you want tested with the OC harness?
I am looking for hypotheses to test and explore empirically for agentic coding. See some of my posts below.
https://www.reddit.com/r/opencode/comments/1y5drzz/dont_use_plan_mode_unless_you_actually_interact/
https://www.reddit.com/r/opencode/comments/1xuh8a4/spelling_errors_are_costing_you/
What ideas do you want tested next? and I will try and run some experiments on this.
Let's have a discussion.
r/opencodeCLI • u/Ok-Buyer-9421 • 4d ago
Are agents.md essentially a wishlist?
I audited 20 open-source repos to see how often their written agent rules were actually followed. Four of them banned AI co-author lines in AGENTS.md.
But found that agent PRs added them anyway, 102 times in a month.
So, I've been working on an approach that turns AGENTS.md rules into executable checks:
- Glob selects the relevant files.
- Grep catches deterministic violations.
- A model judges anything that requires interpretation.
The checks live in the repo and don't depend on which coding agent you use.
How do you enforce your AGENTS.md rules beyond putting them in the agent's context?? Tips wanted :)