Skip to content

ACP v2 no longer exposes skills in available_commands_update (regression from v1) #60434

Done

Description

@kcdipesh

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_update returns 195 entries,
    including skills such as aws-observability.
  • OpenCode v2.2.2 ACP: available_commands_update returns 11 entries,
    commands only. No skills.

Reproduction

  1. Add a skill under ~/.agents/skills/<name>/SKILL.md.
  2. Start opencode acp.
  3. Send initialize, then session/new.
  4. Inspect the session/update notification with
    sessionUpdate: "available_commands_update".

Or reproduce in Zed 1.26.2:

  1. Configure OpenCode 2.2.x as an ACP agent.
  2. Open a new thread and type /.
  3. Only commands appear; no skills.
  4. 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.ts merges sdk.app.skills() into
    the command list before sending available_commands_update.
  • v2: packages/cli/src/acp/catalog.ts only calls client.command.list;
    there is no skill.list in the ACP catalog.
  • packages/schema/src/skill.ts in v2.2.2 still has no slash field.

Related

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

  1. opencodejr commented on Oct 30, 2026

    @opencodejr
    Contributor

    Thanks for the detailed report and the code pointers!

    In OpenCode v2, skills are deliberately no longer / commands. The slash frontmatter field was removed, and you load a skill yourself by mentioning it as @skill-id in 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 to available_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-name entries in available_commands_update or as another documented way for clients to find them. Maintainers will consider it.

    Until then, you can type @skill-name in 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:

    ---
    description: Run the <name> skill
    ---
    
    Load the `<name>` skill with the skill tool, then follow its instructions.
    
    $ARGUMENTS

    Commands are advertised over ACP, so these show up in Zed's / menu.

    Related issues:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions