Skip to content

OpenCode: skills not exposed as slash commands after install #777

@lucabattistini

Description

@lucabattistini

Problem

When installing the compound-engineering plugin to OpenCode, no slash commands are written to ~/.config/opencode/commands/. All 54 skills are correctly copied to ~/.config/opencode/skills/, but since the plugin ships no commands/ directory, convertClaudeToOpenCode produces an empty commandFiles array.

The result: users cannot invoke /ce-work, /ce-plan, /ce-debug, etc. in OpenCode, even though those skills are installed. The skills are only reachable via the skill tool call — not as first-class slash commands.

Expected behaviour

Each installed skill should be available as a /ce-<name> slash command in OpenCode, mirroring the experience Claude Code users have natively.

Root cause

convertClaudeToOpenCode only reads from plugin.commands to build commandFiles. The CE plugin has no commands/ directory, so the output is always empty for this plugin.

Fix

PR #776 adds convertSkillsToCommands() which generates one OpenCodeCommandFile stub per skill. Explicit commands take priority when names collide (addressed in a follow-up commit after review feedback).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions