Skip to content

feat: add OpenCode support - #5

Open
xsj4wmjz wants to merge 3 commits into
DargonLee:mainfrom
xsj4wmjz:main
Open

xsj4wmjz wants to merge 3 commits into
DargonLee:mainfrom
xsj4wmjz:main

Conversation

@xsj4wmjz

@xsj4wmjz xsj4wmjz commented May 6, 2026

Copy link
Copy Markdown

Summary

Add OpenCode (opencode.ai) as a supported AI CLI app in SkillSwitch.

Changes

  • AppContext.tsx: Register OpenCode in APP_LIST
  • store.rs: Add opencode to app_cli_dir_aliases()
  • store.rs: Include opencode in symlink/repair scans
  • variables.css: Add --app-opencode CSS brand color
  • Icons: Add OpenCode app icon
  • Docs: Update README.md and AGENTS.md

Skill Paths

  • Project: <project>/.opencode/skills/<name>/
  • Global: ~/.config/opencode/skills/<name>/
  • Also discovers from .claude/skills/ (existing claude support)

Notes

OpenCode auto-discovers skills from .claude/skills/ and .opencode/skills/ with standard SKILL.md format. Compatible with existing SkillSwitch architecture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant