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 demo
mkdir -p .opencode/skills/demo and add .opencode/skills/demo/SKILL.md with frontmatter name: demo + description: Demo skill.
- Ensure at least one external skill exists, e.g.
~/.agents/skills/context7-mcp/SKILL.md
opencode debug skill lists demo; opencode run "hi" --print-logs 2>&1 | grep "init count" shows message=init count=3
- Launch
opencode (TUI), invoke ->Skill "demo" -> Skill "demo" not found; the TUI process logs message=init count=2
- Restart the TUI fresh with
"skills": { "paths": [".opencode/skills"] } in the project config -> still count=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)
Description
In interactive TUI sessions, project skills under
.opencode/skills/<name>/SKILL.mdare 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.~/.agents/skills/context7-mcp/SKILL.mdopencode debug skilllistsdemo;opencode run "hi" --print-logs 2>&1 | grep "init count"showsmessage=init count=3opencode(TUI), invoke->Skill "demo"->Skill "demo" not found; the TUI process logsmessage=init count=2"skills": { "paths": [".opencode/skills"] }in the project config -> stillcount=2Plugins
@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
/sharelink if needed)