r/opencodeCLI • u/Different-Paper-5697 • 4d ago
r/opencodeCLI • u/Emergency_You_8284 • 4d ago
Built a Spotify player plugin for OpenCode CLI (album art, synced lyrics, and playback controls in the sidebar)
Hey everyone,
I got tired of alt-tabbing out of OpenCode just to skip a track or check lyrics, so I built opencode-spotify—a plugin that puts a compact Spotify player right inside the OpenCode sidebar.
If you have Spotify Desktop installed on Windows, you can try it out with a single command
npx opencode-spotifyWhat it does:
- Shows album artwork, track info, and live synced lyrics right in the sidebar
- Mouse-first playback controls (play/pause, prev/next, seek bar, volume) so it never steals keyboard focus while you're typing in OpenCode
- Uses Spicetify under the hood to talk to Spotify Desktop—the CLI handles setting up Spicetify (plus Marketplace by default, or pass
--no-marketplace), registering the plugin, updating, and cleanly uninstalling if you ever want to remove it
Quick heads-up:
- Windows + Spotify Desktop only right now (no macOS/Linux or Web Player support yet).
- First-time
npxrun takes a couple of minutes to pull dependencies, and then setup runs through automatically.
GitHub: click this
npm: click this
It's finally at a stable release (v0.6.1), so I'd love for people to try it out and tell me what breaks or what you'd want added next!
r/opencodeCLI • u/Apprehensive-Ad-1333 • 4d ago
Using the opencode API key for Chat Only UI
I have been working on a minimal frontend-only Chat interface for AI (https://github.com/prastavna/aiui).
I was hoping to use the opencode API key for inference. But I am blocked by CORS. Wanted to know if it's possible?
Error:
Access to fetch at 'https://opencode.ai/inference/go/openai/v1/chat/completions' from origin '<redacted> has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
r/opencodeCLI • u/lothian_5 • 4d ago
Anyone else having issues with ChatGPT authentication in OpenCode?
I've been getting subscription_sharing_usage_limit_exceeded for several hours now, despite having available ChatGPT usage limits.
I'm using OpenCode 2.4.2 with ChatGPT Plus.
I've tried restarting OpenCode, switching IPs, restarting my router, re-authenticating, using standalone mode and creating new sessions. Nothing helped.
Interestingly, direct requests through curl using the same OAuth token sometimes work, while OpenCode itself consistently fails.
I also can't use Codex Legacy authentication because I don't have an eligible phone number.
Has anyone found a workaround for this? I'm honestly running out of ideas.
UPD: After ~2 days, it started working again.
r/opencodeCLI • u/Legend_One8 • 5d ago
My opencode sessions now outlive my laptop battery
I used to start a long opencode task, close the lid to go somewhere, and come back to a dead session. Moving it to a remote box took about 20 minutes and fixed that, plus a couple of things I did not expect.
The whole setup.
A small Linux VM with opencode on it, and every session started inside tmux. Closing the laptop or losing wifi changes nothing.
SSH from my phone with Termius to check in. Reading a big diff on a phone is painful, but unblocking an agent that got stuck on a question takes ten seconds.
A ping when it is done. The last step of every task curls an ntfy topic, so my phone buzzes instead of me checking every ten minutes.
A deploy key scoped to that one repo, and only the model provider key in the environment. The box has no idea my other projects or my cloud accounts exist.
That last part ended up being the real win. On my laptop the agent could read everything I can read. Here the worst case is a VM I rebuild in a few minutes.
For the box, a Hetzner VPS works fine, and Fly Machines if you want it scriptable. I went with boatdotdev because I start and stop it from the CLI and only pay while it runs. Two things to know. Stopping it is a reboot, so the tmux session dies and I commit before I stop. And the IP changes after a resume, so I look it up again instead of saving it.
If you mostly use opencode for long tasks, get it off the machine you carry around. Cheapest upgrade I made this year.
r/opencodeCLI • u/_Zibri_ • 4d ago
Please add a mdel token per second statistic in opencode website
It would be useful to have the theoretical and measured token/sec for each model.
It can help to judge which one to use depending on the tasks.
r/opencodeCLI • u/Rude-Philosopher-69 • 5d ago
What’s new in oc-box: a workspace dashboard, browser Studio, and timestamps for OpenCode
This roundup starts at v1.6.101. The stable 1.8.587 release already includes much of what’s below; the two timestamp add-ons and live dashboard limit controls are reasons to try development.
Start a conversation in the terminal, open it in a browser, and drop back into the same session shell. oc-box gives each project a reusable Linux environment for unmodified OpenCode, with rootless Podman and a private home for tools and conversations. The workspace still runs on your own Linux machine, shares its kernel, and can write to the mounted project.
https://www.padoka.org/2026/11/27/oc-box-whats-new-v1-9-689-dev0/
r/opencodeCLI • u/InvaderDolan • 5d ago
I finally solved the subagent uncertainty in OpenCode. This is what I wish Anomaly had built.
r/opencodeCLI • u/nandoptg • 5d ago
Yet another memory plugin - local first, auto recall/store, CLI & Desktop GUI
galleryr/opencodeCLI • u/Historical-Leg1858 • 5d ago
New fire pass?
Got this from a friend, https://nexus.fireworks.ai/pass?code=NEXUSPASS-DP8ELI6KZXQZ, i used to use fire pass and missed the OG days. I think this is just for coding
r/opencodeCLI • u/Nitjsefnie • 5d ago
my spare-usage board here on 11-19 was at 100 PRs by 13 people. this week 2 new people showed up, first since october
some weeks I burn the weekly early, other weeks a chunk is left at the reset and it's just gone. Overflow is for that: a week you have usage left, your agent fixes someone else's github issue, a week you're short, someone else's agent fixes yours
everyone starts at 0 points and can put points up before earning any. you get an issue's points when your PR merges and spend them on issues in your own repo. points only, no money, free, MIT
since 11-19: 107 to 128 users, and the 2 new people have 5 PRs merged so far, so it's 105 by 15 people other than me. 70 of the 105 merged with no changes-requested review, 24 took one round, 11 took two to five. still all on my repos tho, and only 1 repo on it is someone else's
opencode is fine for it, it only sees the PR, not the harness or the model. the agent can read the board over MCP. issue text is untrusted input, so run it sandboxed. each person runs their own agent on their own account and opens a normal PR
a real one: this issue was a 3, someone's agent sent this PR, I made it a 6 at merge, one round of changes took it to 5
main reason I'm posting: I want more people registering their repos. I'm not after help with mine, I want spare usage going into other people's projects. one form, public repos only, the labels have to exist first, and nothing lands unless you merge it
what would stop you from listing one issue?
r/opencodeCLI • u/ganang1722 • 5d ago
Why does OpenCode sometimes forget things from the same session?
I've been using OpenCode to work on some testnet tasks. I asked the agent to create a separate wallet specifically for testnet activities.
At first, everything worked fine. It created the wallet, claimed faucet tokens, and even made some transactions.
But at some point, while I was still in the same session, the agent seemed to forget that it had already created the wallet.
I had to ask it to scan the files on my VPS just to find the wallet again.
I'm a bit confused about why this happens. If I'm still using the same session, shouldn't it remember what it did earlier?
Could this be related to context limits, context compaction, or something else?
Has anyone experienced something similar? How do you usually handle this when working on longer tasks?
r/opencodeCLI • u/PadhaLikhaMajdur • 6d ago
New to local models: is OpenCode a good harness for a local Inkling-2-Mini, and how do you set it up?
I'm just getting started with local models. I have Inkling-2-Mini running on an RX 7800 XT (PolyStrata, ~64 tok/s at 32k), and I'm trying to pick a coding harness.
The idea is a stronger cloud model as the plan agent writing small tasks, and the local model as the build agent implementing them.
Questions
- Does anyone run a local model as the build agent? How well does it follow a plan?
- OpenCode vs Hermes vs Pi for local coding: I've tried Pi and Hermes briefly. What do you prefer and why?
- Any OpenCode settings, plugins or MCP tools you'd recommend for local models?
r/opencodeCLI • u/No_Development5871 • 6d ago
Made an editor for Opencode 2.x transcripts, give it a shot if it could help you
r/opencodeCLI • u/Significant-Sea-7238 • 7d ago
OpenCode permission prompts in the notch, now on Windows and Linux too
I posted Openbar here a few weeks ago. It puts OpenCode's permission requests in the Mac notch, so you can allow or deny them without switching back to the terminal.
It now runs on Windows and Linux as well. Before you allow an edit you see the diff, and if a few sessions ask at the same time, they wait in one queue.
Free and open source: https://github.com/MF-DEEV/Openbar
r/opencodeCLI • u/giannisCKS • 7d ago
I built an OpenCode V2 plugin so sessions can message each other
When I run two OpenCode sessions in parallel, I end up copying questions and handoff notes between tabs. I built Session Comms to send those directly.
Say one session is implementing a change and another is reviewing it. Open /session-comms, pick the reviewer, and ask about an edge case. The reviewer can reply to that specific request. You can also hand off a short summary and a next task.
Both sessions need to be on the same OpenCode server. There is no separate broker.
Install: opencode plugin add opencode-session-comms Source and docs: https://github.com/giannisCKS/opencode-session-comms
This is the first release. If you work across multiple sessions, I’d like to hear what you still end up copying between them.
r/opencodeCLI • u/m-ritter • 7d ago
Having a second agent review the plan before OpenCode writes any code
When an agent builds straight from a prompt, the misunderstandings show up late, as a diff that touches files nobody meant to change or skips a case that seemed obvious. By then the fix is a debugging session.
Splitting the work into a plan step and a build step works much better. The agent first asks what done means, reads the relevant code and writes a plan: the files it will touch, the steps, what is out of scope, and the checks that prove each point. Before I approve it, a different installed agent reads that plan cold and lists what is missing or risky, so the gaps get answered while they are still cheap.
After approval the build runs test first in small slices. Agents that did not write the code then check the result against every agreed point and record evidence, and I approve the finished change before a pull request opens. Nothing gets merged or pushed without my yes.
I built QualityLayer around this loop, and it runs natively in OpenCode. I'm the developer: https://github.com/maxritter/qualitylayer
r/opencodeCLI • u/chaitanyagiri • 7d ago
My favourite pass time while I wait for my opencode cli agents to finish
Meet Munder Difflin. It's an open source app that runs your opencode agents like a tiny office.
Each agent is a real opencode terminal, and each one gets its own desk, so you can see who's coding, who's reviewing and who's stuck.
What it does:
Runs multiple opencode agents in parallel, each in its own isolated git worktree
Shows the whole thing as a live Office-style floor view
Has Michael, your own clone, who plans the work and routes it to the right agent
Talk mode, so you can boss the office around with your voice
Slack and webhook triggers, plus remote control
Works with 10 CLI agents, not just opencode
The office view is deterministic, so it burns zero tokens. It's driven by what the agents are actually doing, not random animations.
How I built it:
I built it for myself while working on my own startup, because I needed a clone of my own workflow. It started as a weekend project and now runs a big chunk of my day to day.
Free, MIT licensed, and it runs on Mac, Windows and Linux. It uses your existing subscription, so there's no extra setup.
GitHub: https://github.com/chaitanyagiri/munder-difflin
Would love feedback from anyone running multi-agent setups. What's the most annoying part of managing your agents right now?
r/opencodeCLI • u/wwdennis5 • 7d ago
Don't use plan mode unless you actually interact with it
r/opencodeCLI • u/squirrelscrush • 8d ago
Kimi Phase 1
@opencode:
Gimme Kimi Phase 1
$60 of Kimi K3.1 Pro usage for $10
available to all OpenCode Go subscribers
@thdxr (dax):
we moved all of our current kimi traffic on to our own GPUs
and it's serving more efficiently than any other provider
and no you dummies it's not quantized, you can test it yourself
r/opencodeCLI • u/beppe28 • 8d ago
OpenCode Mobile (community) just hit 100 GitHub stars, here's what it can do now 🎉
GitHub: https://github.com/beppe2880/opencode-mobile · Android APK: https://github.com/beppe2880/opencode-mobile/releases/latest · iOS TestFlight: https://testflight.apple.com/join/Z7wVBAn3
About a month ago I posted here that I'd built an Android app to follow my OpenCode sessions from my phone. This week it passed 100 stars on GitHub, and honestly I didn't expect that. Thank you all! 🙏
The video is a real session:
- Home screen widget: running and recent sessions, one tap to jump in
- Live edits: diffs stream in while the agent writes them
- Images the agent reads show up in the chat, tap to open them full screen
/btw: ask a side question while the agent keeps working- Answer the agent's questions right from your phone
- Wide tables you can scroll sideways
- Full diff view of every change in the session
- Built-in terminal with full colors
- Fork, compact, undo and more from the chat menu
- 33 OpenCode themes, the same ones as the TUI
It connects directly to your own opencode serve, with nothing in between. Pair it with the QR code from opencode pair and use it on your LAN or over a VPN like Tailscale.
A few numbers since launch:
- 102 stars, 11 forks
- ~900 Android APK downloads
- 100+ iOS testers on TestFlight
- 137 merged PRs
Thank you
- To everyone who contributed code: @Andrease11, @gnacho, @Azykle and @rollins1338. Real features came from your PRs.
- To everyone who commented on the first post. u/Lur1an was the first to say it worked with Tailscale, and u/andrease48284 asked how to keep the connection secure. u/Pure_Ad5358 asked whether the terminal, the widget or replying from notifications would come next: two of the three are in the video. u/MessIsTransfer wished it was on iOS: it is now.
- To u/jakartaundercover for running it with OpenCode inside the phone itself via Termux (in r/opencode), and writing a step-by-step tutorial for it.
- To u/andrease48284 for this post saying the project deserves more attention, and for contributing to the repo.
- To everyone who tried it, opened issues and left feedback here and on GitHub.
Get it
- Android: https://github.com/beppe2880/opencode-mobile/releases/latest
- iOS (TestFlight): https://testflight.apple.com/join/Z7wVBAn3
- Source: https://github.com/beppe2880/opencode-mobile
It's free and open source (Kotlin Multiplatform + Compose Multiplatform). It's an independent project, not affiliated with the OpenCode team. Version 0.19 is almost out with Markdown/JSON export and bulk actions in the session list.
What would you like to see next? Bug reports and ideas are very welcome.
r/opencodeCLI • u/sutie000 • 7d ago
I built a persistent /btw history for the OpenCode TUI
The built-in /btw is one-shot: close the dialog and the answer is gone.
I built a small OpenCode V2 TUI plugin that keeps the same /btw flow and adds a persistent history:
- every /btw question stays in the session sidebar, with status and duration
- click a row to reopen the answer
- /btws filters the session history
- history survives TUI restarts and multiple windows
No OpenCode core changes.
Repo + demo + install: https://github.com/susususutie/btw
OpenCode V2 only. Feedback welcome.
r/opencodeCLI • u/Comfortable-Judge209 • 7d ago
open code go (10 usd per month) vs claude pro (20 per month usd)?
reddit.comr/opencodeCLI • u/beppe28 • 8d ago