Skip to content

Skills don't show up in TUI autocomplete but they do in the web app #22129

@mxaddict

Description

@mxaddict

Hey! I noticed that when I have skills set up, they show up fine in the web app's slash command popover (with a nice "Skill" badge even), but they're completely missing from the TUI autocomplete suggestions.

Tracked it down to packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx:363 where there's an explicit filter:

if (serverCommand.source === "skill") continue

This skips all skill-sourced commands when building the autocomplete list in the TUI. The web app doesn't have this filter (packages/app/src/components/prompt-input.tsx:628-635), so skills show up there just fine.

Not sure if this was intentional or just got missed — but it'd be nice to have parity between the two UIs so skills are discoverable in the TUI too. Maybe with a :skill label suffix like MCP commands get :mcp?

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

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