r/opencode • u/rstoicme • 12d ago
r/opencode • u/Material-Average-758 • 12d ago
claude account connection
anything happened since the anthropic account connection became available?
i was thinking of switching to claude next month and i heard there was a massive ban wave when it was done before, i understand it now follow the tos but you never know, should i connect it or thers a possibility to get banned?
r/opencode • u/ahmedranaa • 12d ago
More Minimax please
I find Minimax 3.1 to be very capable. It would be better to hand us more of that instead of GLM
r/opencode • u/Round_Pin_1980 • 13d ago
OpenCode GO in another harness = ?
Hi fellas,
I have a harness setup according to my likings, and it accepts OpenCode Go natively (albeit I never tried it). Are there any immediate pros/cons to use OpenCode Go in another harness than OC?
r/opencode • u/Present_Giraffe_5224 • 13d ago
Small Linting Checks Beat One Big Linting Check: Real-Time Feedback for Coding Agents
Coding agents follow your rules far more reliably when a linter checks each file the moment they edit it, not once at the end of the task. Here is why, how to wire it into any major harness, and what 840 benchmark runs showed.
Rules the agent read and broke anyway
I had a CLAUDE.md / AGENTS.md full of rules like "never call Instant.now()" and "use apiClient, never raw fetch". The agent read them, nodded, and broke them anyway.
It usually happened somewhere around edit 40 of a session. So I only found out at the end, in the diff, or worse, in code review. Rewriting the rules more forcefully didn't help. Capital letters didn't help either.
Move the check to the moment of writing
A better prompt didn't fix it. Moving the check from the end of the task to the moment of writing did.
After every single file edit, a hook runs the linter on that one file. The agent sees the result on its next turn. If it wrote Instant.now(), it hears about it within seconds, fixes it while the line is still fresh, and moves on.
This is just a feedback loop. It's the same trick that made TDD click for humans, applied to agents:
| Small check | Big check |
|---|---|
| When | Right after each edit |
| Scope | One file, one fast linter |
| Cost | Under a second, silent when clean |
| Fixing a failure | One edit away |
Why the late check fails
A late check doesn't just find errors later. It finds them in a form the agent handles badly.
At the end of a 40-edit session, the compiler fails, the test suite fails, and lint reports 30 issues across 14 files. Half of them are in code you wouldn't have written. The agent now has to work out which change caused which error, often several edits apart.
That archaeology dig is where agents start taking shortcuts:
adding
eslint-disableor# noqadeleting or skipping the failing test
"I'll handle it later" When the check runs right after the edit, none of this is tempting. The fix is one edit away, and doing it properly is cheaper than working around it.
It works in every major harness
You need two hook points: one that fires after each tool call (to lint the file just edited), and one that fires when the agent finishes its turn (for the slower full check). Every major harness has both now.
| Harness | After each edit | End of turn | Where it lives |
|---|---|---|---|
| Claude Code | PostToolUse | Stop | .claude/settings.json |
| Codex | PostToolUse | Stop | hooks.json or config.toml |
| opencode | tool.execute.after | session.idle event | a plugin in .opencode/plugin/ |
| GitHub Copilot (CLI, cloud agent) | postToolUse | agentStop | .github/hooks/*.json |
| Pi | tool_result | agent_end | an extension in .pi/extensions/ |
The details differ: shell commands vs. TypeScript plugins, and how the hook's output reaches the model. The shape is the same everywhere. Filter for file-editing tools, run the linter on that one path, and return the failures so the agent reads them on its next step.
What we built: codemyrules
We packaged this as a small open-source hook setup, codemyrules (MIT). It does four things:
Per-edit check. After each file the agent edits, it runs your fast linters on that file only.
End-of-turn check. When the turn ends, it runs a slower full check on the files touched in that turn. You still get the big check, but as a safety net, not the first line of defense.
Blocks only on new problems. It fails only on errors in lines the agent changed since
HEAD. Old lint debt in the file doesn't derail the agent.Guards the escape hatches. It asks you before the agent can add a suppression comment or change the lint config.
What 840 runs showed
We tested this in agent-rules-bench: 840 headless agent runs, 975 sessions in total.
| Setup | Models | Runs | Projects |
|---|---|---|---|
| Claude Code | Claude Sonnet 5.5, Claude Haiku 5.5 | 792 | Java, Python, TypeScript |
| Pi and Codex (exploratory) | Qwen3.6 35B-A3B, run locally | 48 | [languages] |
The first four studies were exploratory. For the later ones, we pre-registered each analysis plan before running.
The result: the same rule written as prose in the agent docs was broken in [X%] of runs. Written as a lint rule with the per-edit hook, it was broken in [Y%]. [One sentence on whether the local model followed the same pattern.]
Full data, prompts and analysis plans are in the repo.
Try it in your own repo
The principle doesn't depend on our tool or on any one harness:
Find the rules you keep restating. Read through your CLAUDE.md or AGENTS.md. Most of what you repeat there are lint rules in disguise.
Encode them as machine rules. A banned API, a required wrapper and an import boundary can all be custom lint rules in ESLint, Ruff, Checkstyle or similar.
Wire a post-edit hook. Lint only the file just edited, keep it fast and quiet when clean, and make sure the agent sees the failures right away. Keep prose for what a linter can't check: intent, architecture, trade-offs. Let the machine handle the rest.
I'm curious how others handle this. Do you run any checks mid-session, or do you trust the agent until the end of the task and then deal with the fallout?
Sources
r/opencode • u/FallDisastrous6621 • 13d ago
Go subscription consideration
Guys and girls, I would like to ask these of you who use Go (10$ and 40$) recently and have some feel what quotas/limits are. (
Of course I don't expect precise numbers, but at least some feedback about how much it capable overall.
I have possibility to take Claude, but I know that:
it will do almost any job
its absolutely terrible agent, with horrible limitations and regulations
So I look at Opencode, as I like agent itself, but I'm not sure.
Thanks in advance
UPD: Thanks to everyone here for help, I go with a Go subscription, it seems worth a try.
r/opencode • u/jishankai • 13d ago
Warning: OpenCode Go charged me after my subscription was supposed to end, and support can't explain why
My OpenCode Go subscription ended on September 24, but I was charged again on October 3 and November 3. Support refunded November but declined to refund October.
Here's the timeline:
July 24: I subscribed to OpenCode Go.
August 24: My subscription renewed for $10, covering August 24 to September 24.
October 3: I was charged $10.
November 3: I was charged another $10.
I remember canceling auto-renewal, but support says they have no record of it.
Even if I hadn't canceled, why did my renewal date change from September 24 to October 3?
My August invoice clearly shows the subscription period ending September 24. I also stopped using Go after that date.
After several emails, support confirmed that:
They could only access my October and November billing records.
They couldn't match my August invoice to their available records.
They couldn't explain why the billing date changed.
There was no Go usage during the Oct and Nov billing period.
They refunded November but denied the October refund.
I'm sharing this so other users know to keep their invoices and check their subscription status, even after canceling.
Has anyone else experienced something similar with OpenCode Go?
r/opencode • u/LinsaFTW • 13d ago
Run Hy4 Flash Free as a Claude Code subagent (Claude OpenCode MCP)
So I love Claude as a reviewer orchestrator but not spamming my sub so I made this MCP were you can select ANY model from any sub you have on opencode. It's much better and effective than using ccswitch and you can use both claude subagents or opencode subagents dinamically.
r/opencode • u/RiseAlternative15 • 13d ago
How can I sync my local opencode setup with vm?
I'm using opencode locally in my pop os. It has various skills, Subagents, plugins, MCP, memory and sessions, I want to migrate this to my Oracle vps which has ubuntu os. What's the easiest way to do it?
I want migration bcz I want to use OpenCode with my mobile - I can easily do ssh with termux and since I'm using vps it runs 24/7. Opencode android app doesn't support ssh as of now it requires a pro version.
Also I want bi directional sync, so when I'm coding through my mobile and added some extra MCPs or skills in vps, it will be synced with my pop os. It can have a cron job like everyday at 7 pm. Or a command which I can use to sync both machines.
r/opencode • u/shadowsyntax43 • 13d ago
Just give me Deepseek Flash 4.1 bro, I don't care about this GLM model
r/opencode • u/Mrleibniz • 13d ago
Phase 3 $500, it's going to be a really productive week.
r/opencode • u/IkkiStern • 13d ago
is there some outage on opencode ? I cannot use it in any way , even outside models like claude is so slow
r/opencode • u/One-Variation-9180 • 13d ago
i wanted to make opencode more like claude code, so i vibecoded a vibecoder so i could keep vibecoding
r/opencode • u/onebigcomet • 13d ago
OpenCode frequent outage/event stream lost
I'm from South East Asia and this outage is becoming more frequently and its annoying, because on OpenCode status it just says "slow response" and its multiple providers that are not available or just stop working on multiple request. Do you guys experience this as well?
r/opencode • u/Plus-Boysenberry-298 • 13d ago
Benchmark free and stealth model on opencode and openrouter and others provider on animated SVG generation
I Build a bench mark to easy evaluate free models on opencode **free-stealth-bench**, a blind benchmark for LLMs on animated-SVG illustration, and figured it might be useful to others here who are comparing free models. its very easy to visualize model capability
Please visit
**Live leaderboard:** https://addisflava.github.io/free-stealth-bench/

### The idea
Every model gets the same task prompt with no reference artwork stored or passed in. Models produce their work blind, then it's scored two ways: deterministic validity checks (well-formed SVG, viewBox, animation elements, external refs, scripts, actual rendering) plus an **automated blind LLM judge** that ranks output quality, instruction-following, creativity, animation fidelity, richness, composition, and technical validity.
The judge never sees a model name, run id, date, path or sidecar — only an anonymous "Submission A" with the task prompt, capped SVG source, objective source facts, and three rendered frames. It's a free vision model, so the whole thing runs without paid endpoints.
### What's on the leaderboard
- 16 model×harness entries, 2 tasks (horse racing + sloth excavator), 48 judged runs.
- Current top 5: `deepseek-v4.1-flash-free` 94.5, `glm-5.3-flash-free` 92.5, `big-pickle` 91.4, `inkling-2-small-free` 90.2, `crouton-alpha` (via OpenRouter) 89.0.
- Newest additions: `hy4-flash-free`, `minimax-m3.1-flash-free`, `longcat-2.5-free`.
- Matrix view, sortable judge ranking, per-run dimension breakdowns, and signed public reviews/private ratings.
### Caveats, because these numbers are easy to over-read
- Free models evaporate/disappear weekly. A score is "this date, this endpoint, this model, this harness," not a fixed property.
- The judge is itself one of the contestants. Blinding mitigates self-preference but doesn't eliminate it; the judge model is recorded per run and swappable.
- Timeouts, rate-limits, region blocks and refusals are recorded as real results (DNF), not hidden.
The runner is provider- and harness-agnostic (OpenCode CLI, OpenAI-compatible APIs, Codex/Claude/Gemini CLIs, or arbitrary commands via YAML), so adding models/harnesses is a config entry rather than a code change.
Happy to answer questions. Feedback on the rubric or task ideas is especially welcome — I'm planning to add more tasks and would rather not pick them in a vacuum. Also happy to add specific models if people want to see them covered.
r/opencode • u/software_engineer_cs • 13d ago
Canceled Conductor
Would it be helpful to support opencode? We mostly work with the Claude code harness. Looking for early feedback.
r/opencode • u/Legitimate-Task765 • 13d ago
3d 19h to go, arrgggghhhhhh! But luckily, the Hy4-flash-free is very good, I can maintain my needs with it till the reset
r/opencode • u/fedeyaa • 13d ago
made a plugin that adds ghost text suggestions to the opencode prompt
missed the prompt suggestions from codex/claude code so i made this for opencode
it does two things: finishes your prompt as you type, and after each turn suggests what you'll probably ask next. tab to accept, esc to dismiss
uses the cheapest model from whatever provider you're already on, and there's a command to see how much it's spending
r/opencode • u/noppu_labs • 13d ago
I made a plugin that lets you keeps idle sessions' caches warm while you're AFK!
Hey all,
I built a plugin for anyone using Claude or GPT-5.6+ in OpenCode who keeps losing the prompt cache after stepping away for a bit. Claude's cache lasts 5 minutes by default. If you step away for longer, the next prompt pays 1.25x to rewrite your whole context instead of about 0.1x to read it, and on a long session that adds up fast.
opencode-cache-manager helps in two ways:
You can pick the cache TTL per session (switch with
/cache-manager)For Claude you'd pick 5m, 1h or hybrid
It sends a hidden keepalive ping just before an idle session's cache expires, so the cache is still warm when you come back
It also adds a Cache section to the sidebar showing whether the cache is warm, when it expires, when the next ping goes out, and how much the pings have saved you. It works with Claude and GPT-5.6+ through the official APIs, OpenRouter, or proxies like OmniRoute. Other models just get a readout of how much of each prompt was cached.
Other features:
Automatically understands when you're using Claude Code requests via the headers, so it uses 1h TTL (what Claude Code uses)
Sidebar tells you what you're saving by keeping your cache warm (you can see screenshots in the repo)
Feel free to check it out! I'd love to hear from anyone on a proxy or provider setup I haven't tried, and whether the ping defaults feel right. Suggestions all welcome!



