r/OpenCodeConfigs • u/ExtraNacho • 7d ago
almanac: schedule an OpenCode agent on a day and hour, not an interval
r/OpenCodeConfigs • u/ExtraNacho • 7d ago
r/OpenCodeConfigs • u/mehdiweb • 13d ago
been using it for 3 months, no issues. feels too cheap to be real. if they’re still making money at this price, how are they getting the accounts?
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/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/mohamed_bakkali • Sep 23 '26
r/OpenCodeConfigs • u/Fun-Understanding862 • Sep 16 '26
Add the package to your global OpenCode config at ~/.config/opencode/opencode.json:
{
"plugin": ["@ndigvijay/opencode-atria-connector"]
}find the source code here at https://github.com/ndigvijay/opencode-atria-connector?tab=readme-ov-file
get the free token worth 100,000,000 token from https://api.atria-asi.ai/
r/OpenCodeConfigs • u/ankescapade • Aug 30 '26
r/OpenCodeConfigs • u/s_dinxsh_ • Aug 16 '26
r/OpenCodeConfigs • u/OneKey9972 • Aug 01 '26
r/OpenCodeConfigs • u/Few_Map7816 • Jul 11 '26
r/OpenCodeConfigs • u/vikas_kumar__ • Jul 07 '26
r/OpenCodeConfigs • u/GroceryNo5562 • Jun 05 '26
r/OpenCodeConfigs • u/kysrno • Jun 03 '26
I’ve been trying to make my OpenCode setup a bit less “random prompt and hope for the best” and more structured.
Right now I’m experimenting with adding some OpenSpec / harness-style ideas into my config:
clearer specs before touching code
more explicit checks before considering a task done
trying to make the setup easier to debug and improve over time
I’m still figuring out where the line is between “useful structure” and “I’m just overengineering my AI config because I’m a developer and I can’t help myself”.
Has anyone here tried something similar with OpenCode, Claude Code, Cursor, or any other coding agent?
Would love to see how people are structuring their configs, agents, specs or workflows.
r/OpenCodeConfigs • u/kysrno • May 21 '26
I’ve been refactoring my OpenCode config recently.
Originally, most of my agent prompt logic lived in big Markdown files. It worked, but it was getting harder to reason about, reuse sections, and check whether changes were actually affecting the final prompt in the way I expected.
So I started moving the source of truth into TypeScript: separate files for things like sections, frontmatter, output contracts, permissions, model metadata, etc., and then generating the final Markdown files that OpenCode actually consumes.
The idea is that this might make it easier to debug, test small parts independently, enforce prompt invariants, and avoid accidentally breaking runtime agent files.
Repo here, in case anyone wants to judge the approach:
https://github.com/grojeda/opencode-config
Part of me thinks this is a sensible way to manage complex agent configs.
Another part of me thinks I’m just being a programmer who can’t resist turning a Markdown file into a tiny framework.
Would you keep this modular approach, or is this overengineering for personal OpenCode configs?
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/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/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 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.