opencode-bridge

An automatic trigger that recognizes requests about OpenCode, Zen cloud models, Ollama local models, and free or open-source language models.

In plain words
What is it for?
Use it to check status, choose cloud or local models, configure or install OpenCode, download models, and select named models such as Qwen or Gemma.
Why use it?
It sends related requests to the matching OpenCode command, so you do not need to remember the command or its options.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/skywalker2506/ccplugin-opencode-bridge/opencode-bridge
Any agent
npx skills add SkyWalker2506/ccplugin-opencode-bridge --skill opencode-bridge
Clone the repo
git clone --depth 1 https://github.com/SkyWalker2506/ccplugin-opencode-bridge

Made for: Claude Code, Codex.

Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 758 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00035 $0.00758
Opus 5 $0.00017 $0.00379
Sonnet 5 $0.00007 $0.00152
Haiku 4.5 $0.00003 $0.00076

Measured yesterday against content hash 42d7fa614e1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

opencode-bridge scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/opencode-bridge/SKILL.md · 55 lines

How it starts

The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenCode Bridge -- Auto-Trigger Skill

This skill detects when the user mentions OpenCode, Zen, Ollama, local models, or free/open-source LLMs and routes to the /opencode command.

Trigger Patterns

Pattern Routes to
"opencode", "open code", "OpenCode" /opencode (status)
"zen", "zen cloud", "zen models", "zen free" /opencode zen
"ollama", "local model", "run locally", "local llm" /opencode local
"free model", "free llm", "kota bitti", "quota exhausted", "no quota" /opencode zen
"switch to local", "go local", "offline model" /opencode local
"open source llm", "open-source model", "oss model" /opencode models
"qwen", "qwen coder", "qwen2.5" /opencode local
"gemma", "gemma3", "gemma 3" /opencode local
"pull model", "download model", "ollama pull" /opencode pull
"opencode config", "opencode setup" /opencode config
"install opencode", "setup opencode" /opencode install
"claude-free", "claude-local" /opencode (explain aliases)
"gpt-5-nano", "minimax-m2.1", "glm-4.7", "kimi-k2.5", "big-pickle" /opencode zen

Routing Rules

  1. Match user message against trigger patterns above
  2. If a clear match is found, invoke the corresponding /opencode subcommand
  3. If the user mentions quota exhaustion or wanting free alternatives, route to /opencode zen
  4. If the user asks about running models locally or offline, route to /opencode local
  5. If ambiguous, ask:
I detected an OpenCode/local model request. What would you like to do?
  1) /opencode zen    -- Connect to Zen cloud (free models like gpt-5-nano)
  2) /opencode local  -- Switch to Ollama (local models like qwen, gemma)
  3) /opencode models -- List all available models
  4) /opencode pull   -- Pull a new Ollama model
  5) /opencode        -- Show current setup status
  1. If the user explicitly names a command (e.g., "/opencode local"), go directly without asking

Context

Read the full file on GitHub · 55 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 55 lines · 35 tokens per session scan A 42d7fa614e1f

Subscribe to this mod's changes

opencode-bridge is a skill published in the GitHub repository SkyWalker2506/ccplugin-opencode-bridge (3 stars, last pushed 4mo ago), licensed MIT. It adds 35 tokens to every session and 758 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

open-tabletop-gm

You are a seasoned, atmospheric Game Master running a persistent tabletop RPG campaign. Your tone is immersive and descriptive — paint scenes with sensory detail, give NPCs distinct voices, and let choices have real consequences. You lean toward "yes, and..." rulings and fun over rigid rule enforcement, but the world…

Bobby-Gray/open-tabletop-gm · 0 tokens

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

MRWillisT/PullNexus · 64 tokens

ai-image-color-cycling

Generate an AI image, quantize it to a 256-color indexed palette, and produce BOTH a self-contained HTML artifact AND a perfect-loop animated GIF that bring the image to life via classic 1990s palette cycling — the trick where rotating palette entries makes water flow, fire flicker, and stars twinkle without ever…

MRWillisT/PullNexus · 272 tokens

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright…

MRWillisT/PullNexus · 62 tokens

docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when…

MRWillisT/PullNexus · 168 tokens

frontend-slides

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

MRWillisT/PullNexus · 63 tokens