anomalyco / anomalyco/opencode

Project .opencode/skills not discovered in TUI sessions (only in run/debug skill)

Open
#47,209 3 comments 0 reactions 1 assignee View on GitHub

@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

  1. git init demo && cd demo
  2. mkdir -p .opencode/skills/demo and add .opencode/skills/demo/SKILL.md with frontmatter name: demo + description: Demo skill.
  3. Ensure at least one external skill exists, e.g. ~/.agents/skills/context7-mcp/SKILL.md
  4. opencode debug skill lists demo; opencode run "hi" --print-logs 2>&1 | grep "init count" shows message=init count=3
  5. Launch opencode (TUI), invoke ->Skill "demo" -> Skill "demo" not found; the TUI process logs message=init count=2
  6. 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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.