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:
- Hot-reloading: Automatically detect changes in skill directories and reload them without restarting.
- 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.
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:
/reload-skillscommand that allows users to refresh the skill list during an active session.Benefits