You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows skill loading fails when PowerShell archive module cannot load #24489
On Windows, loading a skill can fail before the skill content is shown when opencode bootstraps ripgrep. The ripgrep ZIP extraction path invokes PowerShell Expand-Archive, which can fail if Microsoft.PowerShell.Archive cannot autoload.
Observed error:
Expand-Archive : The 'Expand-Archive' command was found in the module 'Microsoft.PowerShell.Archive', but the module could not be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Archive'.
FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
Plugins
None required.
OpenCode version
Current dev / Windows build.
Steps to reproduce
On Windows, ensure cached rg.exe is removed from %LOCALAPPDATA%\\opencode\\bin.
Run opencode.
Load a skill, for example context7.
Observe skill loading fail while ripgrep extraction calls PowerShell Expand-Archive.
Activity
github-actions commentedon Apr 26, 2026
This issue might be a duplicate of existing issues. Please check:
Expand-Archivemodule auto-load fails when spawned from opencode.exe (Bun), with detailed investigationExpand-Archivefailure on Windows when loading skills (v1.14.18), includes a workaround (winget install BurntSushi.ripgrep.MSVC)Please review the above before continuing here — a fix or workaround may already be tracked.
github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.