Skip to content

Instantly share code, notes, and snippets.

@stefangalescu
Created February 13, 2026 14:01
Show Gist options
  • Select an option

  • Save stefangalescu/b0d52d3769d640f411445e445864034a to your computer and use it in GitHub Desktop.

Select an option

Save stefangalescu/b0d52d3769d640f411445e445864034a to your computer and use it in GitHub Desktop.
Counselors config using OpenCode as a custom user-defined adapter to proxy to multiple models
{
"version": 1,
"defaults": {
"timeout": 540,
"outputDir": "./.agents/counselors",
"readOnly": "bestEffort",
"maxContextKb": 50,
"maxParallel": 4
},
"tools": {
"claude": {
"adapter": "custom",
"binary": "opencode",
"extraFlags": [
"run",
"--model",
"opencode/claude-opus-4-6"
],
"readOnly": {
"level": "none"
},
"stdin": true,
"custom": true
},
"codex": {
"adapter": "custom",
"binary": "opencode",
"extraFlags": [
"run",
"--model",
"opencode/gpt-5.2-codex"
],
"readOnly": {
"level": "none"
},
"stdin": true,
"custom": true
},
"gemini": {
"adapter": "custom",
"binary": "opencode",
"extraFlags": [
"run",
"--model",
"opencode/gemini-3-pro"
],
"readOnly": {
"level": "none"
},
"stdin": true,
"custom": true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment