Description
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
- ... lobal:ProgressPreference = 'SilentlyContinue'; Expand-Archive -Litera ...
-
- CategoryInfo : ObjectNotFound: (Expand-Archive:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CouldNotAutoloadMatchingModule`
Plugins
No response
OpenCode version
1.15.12
Steps to reproduce
unzip below file to ~/.opencode/skills
kotlin.zip
Screenshot and/or share link
No response
Operating System
windows 11
Terminal
powershell 7.6.2
Description
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
Plugins
No response
OpenCode version
1.15.12
Steps to reproduce
unzip below file to ~/.opencode/skills
kotlin.zip
Screenshot and/or share link
No response
Operating System
windows 11
Terminal
powershell 7.6.2