Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
If I tag a project skill with / before creating a worktree, that skill stops showing up in the slash menu once the chat is running in the worktree. Plugin skills still appear. The skill files are present in the worktree on disk.
This also affects the agent: the skill is missing from the available-skills list injected into the session, so the model cannot discover it either.
Related prior report (said fixed in 3.9): Rules not taken into account when agent runs in a new worktree
Steps to Reproduce
Open an agent chat against a local repo that has project skills.
Type / and confirm a project skill appears in the autocomplete.
Move the chat into a new worktree (Worktree environment).
In that worktree chat, type / again and search for the same skill.
Expected Behavior
Project skills stay available in the slash menu and in the agent skill catalog after the chat moves into a worktree.
Operating System
MacOS
Version Information
Version: 3.15.19
VSCode Version: 1.128.0
Commit: de07bee81cefe43461ebf4f40c3d2d78d15052a0
Date: 2026-08-11T05:22:54.627Z
Additional Information
Repro’d by tagging a project skill in a local chat, then creating a worktree for that chat. After the move, / autocomplete only shows unrelated plugin skills for the same query. Typing the full skill name also does not surface it.
Does this stop you from using Cursor
No - Cursor works, but with this issue