Custom slash commands not available until ~1 minute after startup #4934

Open
opened 2026-02-16 17:46:45 -05:00 by yindo · 0 comments
Owner

Originally created by @taylor-mitchell-shopify on GitHub (Jan 12, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Custom slash commands are not visible in the command list immediately after startup. They appear after approximately 1 minute delay, seemingly after background loading completes.

I have no commands in ~/.config/opencode/command/ - only a command defined in the JSON config (~/.config/opencode/opencode.json).

I was able to replicate this issue with both:

  • Commands defined as markdown files in ~/.config/opencode/command/
  • Commands defined in the JSON config under the command key

Plugins

No response

OpenCode version

1.0.220

Steps to reproduce

  1. Have a custom command configured (either as markdown file or in JSON config)
  2. Close OpenCode completely
  3. Open OpenCode fresh
  4. Immediately type / to see available commands
  5. Notice custom commands are missing from the list (only built-in commands shown)
  6. Wait ~1 minute
  7. Type / again - custom commands now appear

Screenshot and/or share link

No response

Operating System

macOS

Terminal

iTerm2

Originally created by @taylor-mitchell-shopify on GitHub (Jan 12, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Custom slash commands are not visible in the command list immediately after startup. They appear after approximately 1 minute delay, seemingly after background loading completes. I have no commands in `~/.config/opencode/command/` - only a command defined in the JSON config (`~/.config/opencode/opencode.json`). I was able to replicate this issue with both: - Commands defined as markdown files in `~/.config/opencode/command/` - Commands defined in the JSON config under the `command` key ### Plugins _No response_ ### OpenCode version 1.0.220 ### Steps to reproduce 1. Have a custom command configured (either as markdown file or in JSON config) 2. Close OpenCode completely 3. Open OpenCode fresh 4. Immediately type `/` to see available commands 5. Notice custom commands are missing from the list (only built-in commands shown) 6. Wait ~1 minute 7. Type `/` again - custom commands now appear ### Screenshot and/or share link _No response_ ### Operating System macOS ### Terminal iTerm2
yindo added the bug label 2026-02-16 17:46:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4934