Skip to content

Commit 93ca3a5

Browse files
committed
fix(opencode): hide Claude app-only skills
Claude Code syncs claude.ai skills into ~/.claude/skills/synced/, which OpenCode V2 always reads and cannot exclude (anomalyco/opencode#36990). Six of them call tools only the Claude app has, so deny them instead of letting the model load a skill that cannot work.
1 parent bd1ddee commit 93ca3a5

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎opencode/opencode.jsonc‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,16 @@
405405
"manage-github-projects": "allow",
406406
"git-*": "allow",
407407
"japanese-*": "allow",
408+
// The Claude desktop app syncs its skills into ~/.agents/skills/synced/,
409+
// which OpenCode reads through ~/.claude/skills. These need tools only
410+
// that app has (its browser, Claude in Chrome, computer use, connectors,
411+
// memory), so deny hides them from the model instead of failing.
412+
"built-in-browser": "deny",
413+
"chrome-browser": "deny",
414+
"computer-use": "deny",
415+
"docs": "deny",
416+
"import-memory": "deny",
417+
"morning": "deny",
408418
},
409419
// Custom GitHub Project tools (lib/custom-tools/github_project.ts) — board + issue-lifecycle ops, no delete
410420
"github_project_create": "allow",

0 commit comments

Comments
 (0)