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: built-in skill preview fails with 'Location not found: /builtin' on Windows #60517
In the desktop app on Windows, opening any built-in skill from Settings → Extensions → Skills fails with a toast 加载文件失败 / Location not found: /builtin. Built-in skills report a virtual path (/builtin/<id>.md) that has no filesystem root on Windows, so the file/location loader cannot resolve it. The skills themselves still work (the agent can load them), only in-app viewing is broken.
Nothing is displayed. Reproducible every time, for all three built-in skills.
Additional Context
opencode api get /api/skill returns paths /builtin/opencode.md, /builtin/report.md, /builtin/browser.md. None of these exist on disk — built-in skills are embedded in opencode-cli.exe.
The UI appears to route the skill through the location/file provider, which tries to resolve /builtin as a directory root. On POSIX /builtin is at least a syntactically valid absolute path; on Windows there is no such root, so resolution fails early with Location not found.
Workaround: read the body from /api/skill (or tools.opencode.models-style introspection) and save it as a normal .md file.
Possible fix: serve built-in skill content directly from the skill registry for previews, or register /builtin as a virtual location in the location provider so Location not found does not apply.
Agent-side loading via the skill tool is unaffected; the bug is limited to the GUI preview path.
Thanks for the detailed report! I think this is a duplicate of #60439, which reports the same Location not found: /builtin toast when opening the built-in skills (opencode, report, browser) on Windows and has the same cause.
Possible duplicates and related items, most likely first:
Closing this as a duplicate of #60439. There was no reply saying how this problem is different. #60439 was the same Location not found: /builtin error when opening the built-in skills (opencode, report, browser) on Windows, and #60464 fixed it after 2.2.2. Once a release after 2.2.2 is out, please update the desktop app. If built-in skills still won't open after that, comment here or open a new issue with your version and we'll take another look. Thanks again for the detailed report!
Activity
opencodejr commentedon Oct 30, 2026
Thanks for the detailed report! I think this is a duplicate of #60439, which reports the same
Location not found: /builtintoast when opening the built-in skills (opencode,report,browser) on Windows and has the same cause.Possible duplicates and related items, most likely first:
/builtin/*.mdpaths are sent to the location/file API, which returns 404). It was reproduced on 2.2.2 and is now closed as fixed./api/skillalready returns instead of looking up/builtinon disk. It was merged after 2.2.2, so it should be in a release after 2.2.2.The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.
opencodejr commentedon Oct 31, 2026
Closing this as a duplicate of #60439. There was no reply saying how this problem is different. #60439 was the same
Location not found: /builtinerror when opening the built-in skills (opencode,report,browser) on Windows, and #60464 fixed it after 2.2.2. Once a release after 2.2.2 is out, please update the desktop app. If built-in skills still won't open after that, comment here or open a new issue with your version and we'll take another look. Thanks again for the detailed report!