Skill tool shows empty available_skills list #4292

Open
opened 2026-02-16 17:43:18 -05:00 by yindo · 1 comment
Owner

Originally created by @dcodesdev on GitHub (Jan 6, 2026).

Originally assigned to: @rekram1-node on GitHub.

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:

  1. The skill system exists and has a skill function
  2. Skills may be configured in .claude/skills/ or .opencode/skills/
  3. 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

  1. Ask the agent "how many skills are available to you"
  2. Agent will report 0 skills due to empty <available_skills> tag
  3. This occurs even if skills are present in the workspace

Environment

  • OpenCode version: 1.0.203
  • Platform: Linux

Related Issues

  • #6266 - Questions about .claude/skills support
  • #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.

Originally created by @dcodesdev on GitHub (Jan 6, 2026). Originally assigned to: @rekram1-node on GitHub. ## 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: 1. The skill system exists and has a `skill` function 2. Skills may be configured in `.claude/skills/` or `.opencode/skills/` 3. 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 1. Ask the agent "how many skills are available to you" 2. Agent will report 0 skills due to empty `<available_skills>` tag 3. This occurs even if skills are present in the workspace ## Environment - OpenCode version: 1.0.203 - Platform: Linux ## Related Issues - #6266 - Questions about `.claude/skills` support - #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.
Author
Owner

@github-actions[bot] commented on GitHub (Jan 6, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6949: Customized Skills loading is slow and unrecognizable (related to skill visibility and loading)
  • #6018: Skill loading returns "[object Promise]" instead of actual skill list (directly related to skill list not being populated)
  • #6266: Does opencode actually support finding skills at .claude/skills? (related to skill discovery mechanism)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 6, 2026): This issue might be a duplicate of existing issues. Please check: - #6949: Customized Skills loading is slow and unrecognizable (related to skill visibility and loading) - #6018: Skill loading returns "[object Promise]" instead of actual skill list (directly related to skill list not being populated) - #6266: Does opencode actually support finding skills at `.claude/skills`? (related to skill discovery mechanism) Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4292