Repository navigation
Description
Description
Description
OpenCode v1 exposed skills to ACP clients through available_commands_update,
so clients like Zed showed every skill in the / menu. OpenCode v2 no longer
does this: only regular commands are advertised, so skills disappear from the
/ menu.
With the same skill set (~116 skills in ~/.agents/skills):
- OpenCode v1.19.5 ACP:
available_commands_updatereturns 195 entries,
including skills such asaws-observability. - OpenCode v2.2.2 ACP:
available_commands_updatereturns 11 entries,
commands only. No skills.
Reproduction
- Add a skill under
~/.agents/skills/<name>/SKILL.md. - Start
opencode acp. - Send
initialize, thensession/new. - Inspect the
session/updatenotification with
sessionUpdate: "available_commands_update".
Or reproduce in Zed 1.26.2:
- Configure OpenCode 2.2.x as an ACP agent.
- Open a new thread and type
/. - Only commands appear; no skills.
- The same setup with OpenCode 1.19.5 shows all skills.
Expected
Skills should appear as /skill-name entries in ACP
available_commands_update, matching v1 behavior — or there should be a
documented/configurable ACP replacement.
Actual
Only regular commands are advertised. Skills are missing.
Code pointers
- v1:
packages/opencode/src/acp/service.tsmergessdk.app.skills()into
the command list before sendingavailable_commands_update. - v2:
packages/cli/src/acp/catalog.tsonly callsclient.command.list;
there is noskill.listin the ACP catalog. packages/schema/src/skill.tsin v2.2.2 still has noslashfield.
Related
- skills: documented slash frontmatter is not implemented in v2.0.18 #51427 —
slashfrontmatter ignored in v2 TUI/API (closed by bot, not fixed) - [FEATURE]:desktop: slash command list does not show skills #50638 — Desktop slash list does not show skills
- [FEATURE]: Auto-register
/commands from Claude Code compatible skills #35341 — auto-register/commands from compatible skills
Environment
- OpenCode: 2.2.2 (Zed ACP registry), also reproduced with local CLI 2.2.0
- Client: Zed 1.26.2
- OS: macOS arm64
- Workaround: OpenCode v1.19.5 as a custom ACP agent restores the skills
Plugins
No response
OpenCode version
2.2.2
Steps to reproduce
Add a skill under ~/.agents/skills//SKILL.md.
Start opencode acp.
Send initialize, then session/new.
Inspect the session/update notification with
sessionUpdate: "available_commands_update".
Screenshot
No response
Operating System
macOS arm64
Terminal
No response
Activity
opencodejr commentedon Oct 30, 2026
Thanks for the detailed report and the code pointers!
In OpenCode v2, skills are deliberately no longer
/commands. Theslashfrontmatter field was removed, and you load a skill yourself by mentioning it as@skill-idin the prompt (see #52752). So the ACP catalog only advertises regular commands, which is why Zed's/menu shows no skills. v1 did add skills toavailable_commands_update, but v2 changed that on purpose rather than by accident.I've marked this as a feature request to advertise skills to ACP clients again, for example as
/skill-nameentries inavailable_commands_updateor as another documented way for clients to find them. Maintainers will consider it.Until then, you can type
@skill-namein the prompt to load a skill if your ACP client passes the text through. You can also add a small command file per skill that you use often, e.g.~/.config/opencode/commands/<name>.md:Commands are advertised over ACP, so these show up in Zed's
/menu.Related issues:
/commands from Claude Code compatible skills #35341: open request to auto-register skills as/namecommands/listslashfrontmatter field in v2slashhad no effect in v2