setting-up-oh-my-opencode

Install and configure oh-my-opencode for Claude, Gemini, and Vertex AI routing.

4|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/johnnymo87/workstation --skill setting-up-oh-my-opencode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setting-up-oh-my-opencode
Source: https://github.com/johnnymo87/workstation/tree/main/.claude/skills/setting-up-oh-my-opencode
Command: npx skills add https://github.com/johnnymo87/workstation --skill setting-up-oh-my-opencode

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you install and configure the oh-my-opencode plugin so Claude, Gemini, and Vertex AI can be routed correctly and securely, enabling seamless model access in your dev environment.

Core Features & Use Cases

  • One-step installer: Use npm/npx to install and initialize the oh-my-opencode plugin.
  • Platform routing: Configure model routing for Claude, Gemini, OpenAI, and Vertex AI across macOS and devbox.
  • Post-install configuration: Update credentials and model mappings in ~/.config/opencode/oh-my-opencode.json, then verify access.

Quick Start

Run the installer for your platform to configure Vertex AI and Claude access. Example commands: macOS: npx oh-my-opencode install --no-tui --claude=yes --openai=yes --gemini=yes Devbox: npx oh-my-opencode install --no-tui --claude=max20 --openai=yes Then verify access with: opencode models | grep google-vertex or opencode run --model google-vertex-anthropic/claude-opus-4-5@20251101 "Say 'Vertex AI working'"

Frequently Asked Questions about setting-up-oh-my-opencode

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install and configure oh-my-opencode to route Claude and Gemini models?

Install oh-my-opencode using npx with platform-specific flags: on macOS, run `npx oh-my-opencode install --no-tui --claude=yes --openai=yes --gemini=yes`; on devbox, use `--claude=max20` instead. The installer configures model routing and updates ~/.config/opencode/oh-my-opencode.json with your credentials and model mappings.

Can I route multiple AI models like Claude, Gemini, and Vertex AI through a single plugin?

Yes, oh-my-opencode routes Claude, Gemini, OpenAI, and Vertex AI simultaneously. The plugin maps each model in ~/.config/opencode/oh-my-opencode.json, enabling you to switch between providers and access them via the opencode CLI without reconfiguration.

What authentication setup is required before installing oh-my-opencode?

Authentication setup is included in the oh-my-opencode installer; it prompts for API credentials during installation. After setup, verify access by running `opencode models | grep google-vertex` or test a model call with `opencode run --model google-vertex-anthropic/claude-opus-4-5@20251101`.

Does oh-my-opencode work on both macOS and devbox environments?

Yes, oh-my-opencode supports both macOS and devbox platforms. Installation flags differ slightly per platform—macOS uses `--claude=yes` while devbox accepts `--claude=max20`—but both complete the same configuration and credential mapping process.

How do I verify that Claude and Vertex AI models are accessible after installation?

After installing oh-my-opencode, verify model access by running `opencode models | grep google-vertex` to list available Vertex AI models, or execute a test command like `opencode run --model google-vertex-anthropic/claude-opus-4-5@20251101 "Say 'Vertex AI working'"` to confirm routing is active.

What happens if model routing fails after oh-my-opencode installation?

If routing fails, check that ~/.config/opencode/oh-my-opencode.json contains valid API credentials and correct model mappings for each provider. Re-run the installer or manually update the configuration file, then verify with `opencode models` to confirm all providers are registered.