Skip to content

Skill tool shows empty available_skills list #7069

@dcodesdev

Description

@dcodesdev

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

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions