r/OpenCodeConfigs • u/Ailton_berg • 14d ago
Criei uma ferramenta gratuita e de código aberto para ajudar a comunidade com o novo limite de tempo da CLI do OpenCode.
r/OpenCodeConfigs • u/Ailton_berg • 14d ago
r/OpenCodeConfigs • u/EL4CTEO • Oct 15 '26
I made a plugin that adds Claude Code's /goal command to OpenCode v2. You give the agent a finish line like "/goal npm test passes with 0 failures" and it keeps working turn after turn until the goal is actually met, no need to keep typing "continue".
After every turn an evaluator checks the conversation and decides if the goal is met, not met or impossible. If it's not met, the agent gets the reason and keeps going on its own.
It's token efficient: the evaluator reuses the session's cached context, so each check costs little more than a short answer.
It also has safety rails (pauses when the agent stops making progress, retries on network errors, turn limit) and a status indicator in the TUI.
Tell me what you think about it and feedback is appreciated.
Here's the repo and npm package:
r/OpenCodeConfigs • u/s_dinxsh_ • Aug 16 '26
r/OpenCodeConfigs • u/sertdisk • Oct 05 '26
I built a small OpenCode plugin because I got tired of editing model configs by hand
I’ve been using OpenCode with multiple models/providers, and I wanted a simple way to give an agent a fallback chain instead of having a single model configured for it.
So I ended up making a small plugin for my own setup:
OpenCode Model Router
The basic idea is pretty simple:
Primary → Secondary → Tertiary
You can assign up to three models to each OpenCode agent and let the next model in the chain take over when the previous one fails.
I also wanted to avoid constantly editing JSON files manually, so the plugin has a local web UI where I can:
select an agent
choose its primary / secondary / tertiary models
see the models available in my OpenCode setup
save the chains
apply them to the actual OpenCode configuration
It also supports provider-qualified model references, so the same model served through different providers can be treated as separate chain steps.
There is also support for oh-my-opencode-slim, where the chains are written as native agents.<agent>.model arrays.
A couple of other things I found useful in my own setup:
changes are backed up before being applied
the UI runs locally
there is a /model-router command for configuring chains without opening the browser
the project has zero external dependencies
I originally made this simply because I needed it myself. I figured there might be other OpenCode users with a similar setup, so I decided to put it out there rather than keeping it as a local script.
GitHub:
Search for the "OpenCode-Model-Router" extension on GitHub; I couldn't include the link because I am a new user.
I'm particularly interested in hearing from people using OpenCode with multiple providers/models:
How are you handling model fallback today?
Are you manually changing configs, using another plugin, or just sticking with a single model per agent?
If you try this, I'd also genuinely appreciate hearing what breaks or feels awkward. I built it around my own setup, so there are almost certainly configurations I haven't considered yet.
r/OpenCodeConfigs • u/kysrno • May 16 '26
I’m curious to see how people are actually setting up OpenCode in real projects.
Most examples I find are either very generic, hidden inside random GitHub repos, or scattered across Reddit comments. I’d like to see more real-world setups and understand what people are actually doing.
I started r/OpenCodeConfigs to collect this kind of stuff in one place, but I’m mostly interested in the discussion here too.
Would be great to see configs, repo links, screenshots, or even just a rough explanation of your setup.
r/OpenCodeConfigs • u/kysrno • May 13 '26
I’m curious what terminal setup people are using to run OpenCode.
On Windows I’ve been using Warp, but lately I’ve had a few issues where it randomly closes, so I often end up falling back to plain PowerShell.
On Linux I usually use Ghostty or Alacritty and both feel more stable so far.
Are you using Warp, Ghostty, Alacritty, Windows Terminal, plain PowerShell, WSL, something else?
Also curious if anyone has noticed differences in stability when running OpenCode, especially with long agent sessions.
r/OpenCodeConfigs • u/mohamed_bakkali • Sep 23 '26
r/OpenCodeConfigs • u/GroceryNo5562 • Jun 05 '26
r/OpenCodeConfigs • u/kysrno • May 08 '26
Welcome to r/OpenCodeConfigs.
This subreddit is for developers using OpenCode who want to share and improve their configurations, agents, skills and workflows.
When posting your setup, try to include:
What kind of projects you use it for
Your main tech stack
Which models you use
Your agent structure
Any custom skills or permissions
What works well
What still feels unreliable or experimental
The goal is not to show perfect configs. The goal is to learn from real ones.
The best ways to share your setup are:
A public GitHub repository, if your setup includes multiple files, agents, skills or documentation
A GitHub Gist, if you only want to share a single config, agent or skill
A code block directly in the post, if the config is short or you want feedback on a specific part
Screenshots are fine for context, but please include the actual config whenever possible so others can read, copy, test and give useful feedback.
Share your setup, ask for feedback, and steal the good ideas.
r/OpenCodeConfigs • u/kysrno • May 08 '26
Hi everyone,
I’ve been working on an OpenCode configuration for my day-to-day work:
https://github.com/grojeda/opencode-config
I usually work across different projects, stacks, and technologies, sometimes at the same time, so I wanted to create a reusable setup with agents, commands, and skills that helps me stay consistent without having to rebuild the same workflow for every repo.
It’s still relatively new and very much a work in progress. I’m still improving the structure, refining the agents, and adding more skills as I test it in real projects.
I’d really appreciate feedback from anyone who has built something similar:
Does the structure make sense?
Are the agents too broad or too specific?
Would you organise the skills differently?
Am I missing any useful patterns for multi-project / multi-stack work?
Any obvious mistakes or things that could burn too many tokens?
Any feedback, criticism, or examples of your own setup would be very welcome.
r/OpenCodeConfigs • u/kysrno • May 10 '26
I’ve found two situations where my agents silently got stuck lately:
Using models with very small context windows. No explicit error, they just… stopped progressing.
Over-restricting permissions or misconfiguring them. For example asking an agent to modify files while it had no bash access.
I like the idea of strict permissions and I think they’re important, but sometimes I wonder if I’m overengineering the safety side and hurting reliability/workflow instead.
Curious if others building agent workflows have hit the same issue.
Anything you’d add? Any patterns, safeguards, or permission setups that have worked well for you?
r/OpenCodeConfigs • u/Few_Map7816 • Jul 11 '26