Skip to content

Feature Request: Support hot-reloading skills or add a /reload-skills command #27956

Description

@zaojingyoutu

Problem

Currently, opencode scans and loads all skills only at startup. When a user creates or modifies a skill (e.g., adding a new skill to ~/.config/opencode/skills/ or .opencode/skills/), the changes are not recognized until opencode is completely restarted.

Suggested Solution

Implement one of the following:

  1. Hot-reloading: Automatically detect changes in skill directories and reload them without restarting.
  2. Manual reload command: Add a /reload-skills command that allows users to refresh the skill list during an active session.

Benefits

  • Significantly improves the developer experience when creating or testing custom skills.
  • Eliminates the need to restart the entire session just to load a new skill.
  • Makes opencode more flexible and user-friendly for power users who frequently extend its capabilities.

Metadata

Metadata

Assignees

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