In OpenCode version 1.1.53, the built-in skill Glob​ does not function properly. #8848

Open
opened 2026-02-16 18:11:00 -05:00 by yindo · 2 comments
Owner

Originally created by @supperman009 on GitHub (Feb 8, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

OpenCode version 1.1.53
windows11
powershell 7.5.4
npm 11.8.0

When running /skills, the installed skills information is visible and all checks appear normal. However, when asking questions to trigger the execution of built-in skill tools (including the Glob tool), failures occur with the following error. Only after multiple failed attempts does using the built-in readtool successfully load the skills.
Configuration via AGENT.mdto directly use the readtool for skill loading does not take effect—errors persist until after retries, at which point the readtool is used to load skills. Additionally, the behavior is unstable: sometimes after an error, the system proceeds to answer the user's question without loading the required skills.

→ Skill "chinese-novelist"
Error: The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()

Plugins

OpenCode TUI

OpenCode version

1.1.53

Steps to reproduce

When running /skills, the installed skills information is visible and all checks appear normal. However, when asking questions to trigger the execution of built-in skill tools (including the Glob tool), failures occur with the following error. Only after multiple failed attempts does using the built-in readtool successfully load the skills.

Screenshot and/or share link

Image

Operating System

windows11

Terminal

PowerShell 7.5.4

Originally created by @supperman009 on GitHub (Feb 8, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description OpenCode version 1.1.53 windows11 powershell 7.5.4 npm 11.8.0 When running /skills, the installed skills information is visible and all checks appear normal. However, when asking questions to trigger the execution of built-in skill tools (including the Glob tool), failures occur with the following error. Only after multiple failed attempts does using the built-in readtool successfully load the skills. Configuration via AGENT.mdto directly use the readtool for skill loading does not take effect—errors persist until after retries, at which point the readtool is used to load skills. Additionally, the behavior is unstable: sometimes after an error, the system proceeds to answer the user's question without loading the required skills. ``` → Skill "chinese-novelist" Error: The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch() ``` ### Plugins OpenCode TUI ### OpenCode version 1.1.53 ### Steps to reproduce When running /skills, the installed skills information is visible and all checks appear normal. However, when asking questions to trigger the execution of built-in skill tools (including the Glob tool), failures occur with the following error. Only after multiple failed attempts does using the built-in readtool successfully load the skills. ### Screenshot and/or share link <img width="1062" height="262" alt="Image" src="https://github.com/user-attachments/assets/5867cbe7-9952-4256-a23a-bcf7e9732353" /> ### Operating System windows11 ### Terminal PowerShell 7.5.4
yindo added the windowsopentuibug labels 2026-02-16 18:11:00 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 8, 2026):

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

  • #8580: linux 启动报错 The socket connection was closed unexpectedly - same error message affecting tool execution
  • #3511: socket connection was closed unexpectedly - MCP server socket disconnection issues
  • #2519: Certain tool calling frequently fails and disconnects the chat - related tool calling failures
  • #12051: Glob search / on Windows - Glob tool issues on Windows platform
  • #11044: Glob tool fails on Windows MSYS systems / git bash - Windows-specific path issues with Glob

These issues share the same socket connection error and Glob/tool loading failures on Windows. The root cause may be related to Windows path handling or MCP socket stability issues mentioned in #11044.

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

@github-actions[bot] commented on GitHub (Feb 8, 2026): This issue might be a duplicate of existing issues. Please check: - #8580: linux 启动报错 The socket connection was closed unexpectedly - same error message affecting tool execution - #3511: socket connection was closed unexpectedly - MCP server socket disconnection issues - #2519: Certain tool calling frequently fails and disconnects the chat - related tool calling failures - #12051: Glob search / on Windows - Glob tool issues on Windows platform - #11044: Glob tool fails on Windows MSYS systems / git bash - Windows-specific path issues with Glob These issues share the same socket connection error and Glob/tool loading failures on Windows. The root cause may be related to Windows path handling or MCP socket stability issues mentioned in #11044. Feel free to ignore if none of these address your specific case.
Author
Owner

@supperman009 commented on GitHub (Feb 8, 2026):

Image

skill工具出错,直接通过read方式读取。应该是个bug,还请修正

@supperman009 commented on GitHub (Feb 8, 2026): <img width="1068" height="511" alt="Image" src="https://github.com/user-attachments/assets/d185993b-5f86-4679-9f7b-f4075b9723a1" /> skill工具出错,直接通过read方式读取。应该是个bug,还请修正
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8848