Skip to content

skills synced to apps I did not select - OpenCode

Quick fix

Upgrade cc-switch to v3.12.3 for the implicit inference bug fix, and turn off reading skills from the .claude directory in OpenCode settings.

Error output
skills中,只选择了claude,但是打开其他客户端如codex、opencode同样受到了影响
English translation

In skills I only selected claude, but opening other clients such as codex and opencode was affected too

Client behaviour and a bug in older cc-switch combine here. OpenCode reads skills and slashcommands config from the .claude directory by default. At the same time, the Skills Import Flow in older cc-switch relied on implicit filesystem-based app inference, so a skill was wrongly activated for several apps.

  1. Upgrade cc-switch to v3.12.3 or newer. That version replaced the implicit inference with an explicit ImportSkillSelection and added reconciliation logic that removes orphaned symlinks and MCP servers automatically.

  2. In OpenCode settings, turn off reading skills and slashcommands from the .claude directory by default.

ToolOpenCode
Versionv3.12.3 修复了此问题
PlatformsUnknown
Were all the skills synced wrongly?
Yes, all of them. After a restart only OpenCode may show this, because OpenCode reads skills config from .claude by default.
I installed opencode through npm and as an exe, and ccs still cannot detect it. What now?
Probably a path or environment configuration problem preventing the current config import being recognised. Check the install path, or confirm your cc-switch version supports that install method.
Why does configuring the Xiaomi MiMo Token Plan return 404?
If you picked @ai-sdk/amazon-bedrock by mistake while adding it by hand, OpenCode generates a Bedrock Converse URL while the Token Plan endpoint expects Anthropic Messages (/v1/messages). Use the built-in Xiaomi MiMo Token Plan (China) preset in cc-switch v3.16.0 or newer instead.

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.