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
Skills fail to load on Windows due to Expand-Archive using PowerShell 5.1 instead of configured pwsh shell #29957
Even with "shell": "pwsh" configured, skill loading uses Windows PowerShell 5.1's Expand-Archive, which fails with CouldNotAutoloadMatchingModule. Skill files already exist on disk at ~/.opencode/skills/kotlin/ so the ZIP extraction step should be skipped or should respect the shell config.
power shell 7.6.2 is installed.
`→ Skill "kotlin"
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'.
At line:1 char:50
additional test: blank project with simple readme.md file. i gave one simple prompt : "read the readme file" no extra skills/agents are registered.
error:
✱ Glob "README*"
Expand-Archive : The 'Expand-Archive' command was found in the module 'Microsoft.PowerShell.Archive', but the module co
uld not be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Archive'.
At line:1 char:50
Activity
github-actions commentedon May 30, 2026
This issue might be a duplicate of existing issues. Please check:
Expand-Archivemodule auto-load failure when spawned from opencode.exe (Bun) on Windows, with identical error messageExpand-Archiveerror on Windows PowerShell when loading skillsIf your issue is distinct (e.g. the skills ZIP already exists and extraction should be skipped entirely), please clarify that in your report.
turkeryildirim commentedon May 30, 2026
additional test: blank project with simple readme.md file. i gave one simple prompt : "read the readme file" no extra skills/agents are registered.
error:
✱ Glob "README*"
Expand-Archive : The 'Expand-Archive' command was found in the module 'Microsoft.PowerShell.Archive', but the module co
uld not be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Archive'.
At line:1 char:50
github-actions commentedon Jul 30, 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.