[Bug]: Cursor/OpenCode skill discovery returns zero skills despite skills existing on disk (Claude/Codex discover them fine)
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
description: T3Code exposes skills for Claude/Codex providers but its Cursor/OpenCode provider caches can report zero skills despite files existing. category: processing created: 2026-05-16 status: active
T3Code skill bugs need per-provider cache evidence
When investigating T3Code skill behavior, check both the provider-native discovery output and T3's cached provider metadata. A skill may exist on disk and be visible to the underlying agent while T3 still fails to expose or route it.
For the 2026-05-16 skill issue, the important evidence was provider-specific:
~/.t3/caches/claudeAgent.jsonlisted arscontexta entries as slash commands, includingnext,remember,distill, andconnect.~/.t3/caches/codex.jsonlisted 22 Codex skills, including arscontexta skills such asnext,remember,distill, andconnect.~/.t3/caches/cursor.jsonlistedskills: []andslashCommands: []even though arscontexta skill symlinks existed in~/.cursor/skills/and project.cursor/skills/.~/.t3/caches/opencode.jsonlistedskills: []andslashCommands: []even thoughopencode debug skillemitted arscontexta skills from~/.opencode/skill/*/SKILL.md.- Manually pasting a
<skill>block into the conversation made Codex follow the skill body, so the model can execute the instructions when T3 provides them.
Future debugging should separate three layers: filesystem discovery, T3 provider cache population, and chat-input command routing/injection.
Expected behavior
T3Code should ingest and expose provider skills consistently across supported providers.
Claude provider: arscontexta skills appear as slash commands. Codex provider: arscontexta skills appear as skills. Cursor provider: user/project skills from ~/.cursor/skills/ and .cursor/skills/ should appear in T3Code’s provider cache and be invocable. OpenCode provider: skills from ~/.config/opencode/skill/, ~/.opencode/skill/, and commands from ~/.config/opencode/command/ should appear in T3Code’s provider cache and be invocable.
Actual behavior
T3Code only sees skills/commands for Claude and Codex. Cursor and OpenCode provider caches report no skills or slash commands even though the files exist on disk.
Observed T3 provider cache summary:
claudeAgent: slashCommands_count=49, includes arscontexta commands codex: skills_count=22, includes arscontexta skills cursor: skills_count=0, slashCommands_count=0 opencode: skills_count=0, slashCommands_count=0 Skill files exist for Cursor/OpenCode:
~/.cursor/skills/next ~/.cursor/skills/remember ~/.config/opencode/skill/next ~/.opencode/skill/next ~/.config/opencode/command/next.md
Impact
Cosmetic issue
Version or commit
T3Code desktop: T3-Code-0.0.24-x86_64.AppImage Codex: codex-cli 0.129.0 OpenCode: 1.15.3 Cursor agent: 2026.05.16-0338208
Environment
No response
Logs or stack traces
Relevant cache evidence:
~/.t3/caches/claudeAgent.json:
slashCommands_count=49
includes connect, distill, next, remember, validate, verify
~/.t3/caches/codex.json:
skills_count=22
includes connect, distill, next, remember, validate, verify
~/.t3/caches/cursor.json:
slashCommands_count=0
skills_count=0
~/.t3/caches/opencode.json:
slashCommands_count=0
skills_count=0
OpenCode itself can see the skills, but T3Code cache does not:
opencode debug skill
next -> ~/.opencode/skill/next/SKILL.md
remember -> ~/.opencode/skill/remember/SKILL.md
connect -> ~/.opencode/skill/connect/SKILL.md
distill -> ~/.opencode/skill/distill/SKILL.md
Screenshots, recordings, or supporting files
opencode.json cursor.json codex.json claudeAgent.json
Workaround
manually paste the relevant SKILL.md content into the chat, or use the provider directly outside T3Code. For OpenCode specifically, native opencode debug skill can see the skills, so the issue appears to be T3Code’s provider cache/discovery layer rather than the skill files themselves.
Will this bug be fixed in the near future? It is really frustrating to use opencode without skills.
I second that this makes OpenCode very frustrating to use.
Seems like a PR is open here: #3154. Wondering what help is needed to get this fixed, seems to have a few likes.
#5168 is a pretty good fix for this.
I hope that can get merged soon.
+1 — same issue with Cursor showing no skills. #5168 looks like the right fix; hoping it can get reviewed/merged.
+1 to this as well. Big blocker for any serious OpenCode users w/ skills.
I fixed this for opencode in this PR
- #4588
It was closed whilst v2 orchestrator is merged, once that is in I will get this rebased on v2 changes and open a new PR
I just wish this issue would get eyes on it since many PRs have been suggested as fixes.
I see they are working on skills (https://github.com/pingdotgg/t3code/pull/5335, https://github.com/pingdotgg/t3code/pull/4630), and doing some architectural changes, so we may just need to be patient and wait 😄
Ah I missed those. Thanks for the links! 👍
Still hitting this on 0.0.34-nightly with cursor-agent 2026.08.11 — cursor.json is still 0/0.
For cursor at least, I don't think a scanner is needed. If you talk ACP to cursor-agent acp, it sends an available_commands_update on session/new with everything already in it — 51 entries here, all 34 of my skills, picked up from ~/.agents/skills. T3 decodes that message and then does nothing with it, and CursorProvider.ts never passes slashCommands/skills into buildServerProvider, so they default to []. Wiring up an update we already receive seems like the smaller change.
One catch: cursor's ACP handleSlashCommand only checks its commands map, not skills, so /foo still won't fire for skills with disable-model-invocation: true even once the menu works. That one's on cursor, not you.
If I understand correctly, to use acp I would need to start a session into the cwd before being able to read the skills/slash.
But that means simply selecting Cursor as a model/provider in a new-thread composer would likely need to spawn cursor-agent acp process, create a new session in the current working directory and wait for the available commands.
That seems useful once work has already started and a Cursor session exists, but I wonder what's the best approach before the first run.
Experiencing the same issue not only with Opencode but with Grok build too
T3 (stable): 0.0.33
OC: 1.18.11
Grok: 1.0.4
+1 to this one. Big blocker for my workflows.
OpenCode reads skills from ~/.agents/skills on my system, but T3 Code doesn't see them
I've fixed it in https://github.com/pingdotgg/t3code/pull/2891
Looks like that PR has stalled though?
It was closed in favor of an broken implementation, but that was never merged either.
I would imagine that all of this is paused until orchestrator v2 is merged as anything merged now on this would need porting for v2
I would imagine that all of this is paused until orchestrator v2 is merged as anything merged now on this would need porting for v2
Yes I think that's the case too, 🤞 that it lands soon