opencode
opencode copied to clipboard
Skill tool shows empty available_skills list
Description
The skill tool's description shows an empty <available_skills></available_skills> tag, indicating 0 skills are available to the agent even when skills may be present in the workspace.
Expected Behavior
The <available_skills> section should list all available skills that the agent can load, similar to how other tools list their capabilities.
Actual Behavior
When checking the skill tool description, it shows:
<available_skills> </available_skills>
This means the agent sees 0 skills available, even though:
- The skill system exists and has a
skillfunction - Skills may be configured in
.claude/skills/or.opencode/skills/ - The agent is told it can "Load a skill to get detailed instructions for a specific task"
Impact
- Agents cannot discover what skills are available
- Users have to manually know skill names to reference them
- The skill discovery mechanism appears broken
Steps to Reproduce
- Ask the agent "how many skills are available to you"
- Agent will report 0 skills due to empty
<available_skills>tag - This occurs even if skills are present in the workspace
Environment
- OpenCode version: 1.0.203
- Platform: Linux
Related Issues
- #6266 - Questions about
.claude/skillssupport - #6949 - Skills loading being slow/unrecognizable
- #6900 - Skill can't find scripts path
This appears to be a separate issue from skills not loading - this is about the skill list not being populated in the tool description that gets sent to the agent.