Description
In the opencode desktop TUI, typing /skill-name (e.g., /雪球-cli) and sending the message causes the entire SKILL.md content to be injected directly into the conversation context as visible text. This is inconsistent with how skills should work — the agent should discover and load the skill via the native skill tool, not get the raw markdown dumped inline.
Steps to Reproduce
- Open opencode desktop TUI
- Type
/ to trigger the skill list popup
- Select a skill from the list (e.g.,
雪球-cli)
- The input becomes
/雪球-cli
- Press Enter to send
- The full content of
SKILL.md is loaded into the conversation as visible output
Workaround
Delete the leading / before sending — the agent then correctly uses the skill tool to load the skill, showing only a concise tool invocation.
Expected Behavior
/skill-name should behave the same as typing the skill name without / — i.e., the agent should decide to load the skill via the skill tool on its own. The / prefix should only serve as a selection/discovery mechanism in the autocomplete popup, not trigger a premature injection of the skill content.
Environment
- opencode desktop TUI (latest version)
- Windows
Description
In the opencode desktop TUI, typing
/skill-name(e.g.,/雪球-cli) and sending the message causes the entire SKILL.md content to be injected directly into the conversation context as visible text. This is inconsistent with how skills should work — the agent should discover and load the skill via the nativeskilltool, not get the raw markdown dumped inline.Steps to Reproduce
/to trigger the skill list popup雪球-cli)/雪球-cliSKILL.mdis loaded into the conversation as visible outputWorkaround
Delete the leading
/before sending — the agent then correctly uses theskilltool to load the skill, showing only a concise tool invocation.Expected Behavior
/skill-nameshould behave the same as typing the skill name without/— i.e., the agent should decide to load the skill via theskilltool on its own. The/prefix should only serve as a selection/discovery mechanism in the autocomplete popup, not trigger a premature injection of the skill content.Environment