Skip to content

Instantly share code, notes, and snippets.

@Yeshwanthyk
Created December 26, 2025 20:54
Show Gist options
  • Select an option

  • Save Yeshwanthyk/fb13dd63b4bfb8b231affcf492b4b8f2 to your computer and use it in GitHub Desktop.

Select an option

Save Yeshwanthyk/fb13dd63b4bfb8b231affcf492b4b8f2 to your computer and use it in GitHub Desktop.
// .config/opencode/config.json
{
"$schema": "https://opencode.ai/config.json",
"instructions": [
"~/.pi/agent/AGENTS.md",
],
"plugin": [
"opencode-openai-codex-auth@4.1.1"
],
"provider": {
"openai": {
"options": {
"reasoningEffort": "medium",
"reasoningSummary": "auto",
"textVerbosity": "medium",
"include": [
"reasoning.encrypted_content"
],
"store": false
},
"models": {
"gpt-5.2-medium": {
"name": "GPT 5.2 Medium (OAuth)",
"limit": {
"context": 272000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"options": {
"reasoningEffort": "medium",
"reasoningSummary": "auto",
"textVerbosity": "medium",
"include": [
"reasoning.encrypted_content"
],
"store": false
}
},
"gpt-5.2-high": {
"name": "GPT 5.2 High (OAuth)",
"limit": {
"context": 272000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"options": {
"reasoningEffort": "high",
"reasoningSummary": "detailed",
"textVerbosity": "medium",
"include": [
"reasoning.encrypted_content"
],
"store": false
}
},
"gpt-5.2-xhigh": {
"name": "GPT 5.2 Extra High (OAuth)",
"limit": {
"context": 272000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"options": {
"reasoningEffort": "xhigh",
"reasoningSummary": "detailed",
"textVerbosity": "medium",
"include": [
"reasoning.encrypted_content"
],
"store": false
}
}
}
}
},
"tui": {
"scroll_speed": 2
},
"agent": {
"research": {
"description": "Deep research agent for complex questions, codebase analysis, and multi-step investigations",
"mode": "subagent",
"model": "openai/gpt-5.2-high",
"temperature": 0.1,
"prompt": "You are a research agent focused on deep analysis and investigation.\n\nWhen researching:\n- Make prompts specific and detailed about what to research\n- Provide necessary context (file paths, concepts, goals)\n- Define clear boundaries for the research task\n- Use thorough analysis and multiple passes when needed\n- Document findings clearly\n\nFocus on:\n- Understanding complex codebase patterns\n- Investigating problems and root causes\n- Analyzing architecture and design decisions\n- Finding edge cases and potential issues\n- Providing comprehensive recommendations"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment