GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Skill commands appear in random order in the slash command picker · Issue #43397 · anomalyco/opencode

Skill commands appear in random order in the slash command picker #43397

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Skill commands appear in random order in the slash command picker#43397
Copy link
Assignees
neriousy

Description

@honbou
honbou
opened on Aug 19, 2026
Issue body actions

Description

In the desktop app (and TUI) slash command picker, skills are listed in a random/non-deterministic order instead of alphabetical order. The order changes between sessions because skill loading is fully concurrent.

Root cause

  • command.list() in packages/opencode/src/command/index.ts returns Object.values(s.commands) with no sorting.
  • Skills are appended to the commands map from skill.all(), which returns Object.values(s.skills) unsorted (packages/opencode/src/skill/index.ts).
  • Skill frontmatter parsing happens with concurrency: "unbounded", so the insertion order (and therefore the displayed order) is nondeterministic.

Meanwhile the model-facing listing (Skill.available() / fmt()) already sorts alphabetically via toSorted((a, b) => a.name.localeCompare(b.name)), so the inconsistency is only in the UI path.

Reproduction

  1. Run opencode desktop (or TUI) with multiple installed skills.
  2. Type / to open the slash command picker.
  3. Observe skill entries appear in arbitrary order, varying across restarts.

Expected behavior

Skills (ideally all commands) are listed in deterministic alphabetical order.

Suggested fix

Sort in command.list():

const list = Effect.fn("Command.list")(function* () {
  const s = yield* InstanceState.get(state)
  return Object.values(s.commands).toSorted((a, b) => a.name.localeCompare(b.name))
})

Environment

  • opencode latest
  • macOS desktop app

Activity

  1. github-actions
    assigned
    neriousy
    on Aug 19, 2026
  2. github-actions commented on Oct 19, 2026

    @github-actions
    github-actionsBot
    on Oct 19, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  3. github-actions
    closed this as not plannedon Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @neriousy
    neriousy

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.