anomalyco / anomalyco/opencode
Project .opencode/skills not discovered in TUI sessions (only in run/debug skill)
@simonklee is already working on this.
Since Sep 4, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
In interactive TUI sessions, project skills under .opencode/skills/<name>/SKILL.md are never discovered, so the model cannot load them. Headless commands on the same machine, repo, and directory see them fine. A freshly launched TUI process reproduces it, so it is not stale state. The config workaround "skills": { "paths": [".opencode/skills"] } is ignored by the TUI but honored headless.
Steps to reproduce
git init demo && cd demomkdir -p .opencode/skills/demoand add.opencode/skills/demo/SKILL.mdwith frontmattername: demo+description: Demo skill.- Ensure at least one external skill exists, e.g.
~/.agents/skills/context7-mcp/SKILL.md opencode debug skilllistsdemo;opencode run "hi" --print-logs 2>&1 | grep "init count"showsmessage=init count=3- Launch
opencode(TUI), invoke->Skill "demo"->Skill "demo" not found; the TUI process logsmessage=init count=2 - Restart the TUI fresh with
"skills": { "paths": [".opencode/skills"] }in the project config -> stillcount=2
Plugins
@tarquinen/opencode-dcp@latest (only plugin; also tested without)
OpenCode version
1.18.27 (installer binary from https://github.com/anomalyco/opencode, dev)
Operating System
Debian GNU/Linux 13 (trixie)
Terminal
VS Code integrated terminal (xterm-256color)
Screenshot and/or share link
Not yet provided (can generate a /share link if needed)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.