opencode-config

Community

Configure OpenCode CLI providers and models.

Authorserejaris
Version1.0.0
Installs0

System Documentation

What problem does it solve?

OpenCode CLI configurations are scattered across project, global, and auth locations, making provider setup, model selection, and baseURL changes error-prone and hard to audit.

Core Features & Use Cases

  • Centralized configuration: merges project > global > auth to determine model, provider, and baseURL.
  • Custom provider support: define OpenAI-compatible providers with baseURL and model mappings for different environments.
  • Troubleshooting and guidance: built-in steps to resolve common config issues and ensure correct model selection.

Quick Start

Install or enable the skill by placing it in your Claude/OpenCode skills directory, then edit opencode.json at the relevant location (project/global/auth) to set your default model and provider. Use the /models command to select a provider/model and test changes. If issues arise, consult the documentation and restart Claude to reload the config.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: opencode-config
Download link: https://github.com/serejaris/ris-claude-code/archive/main.zip#opencode-config

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.