Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Local skills aren’t loaded reliably. In Agents Window, starting 3 new agent convos results in 3 very different <agent_skills> and <available_skills> blocks in the initial agent context provided by Cursor. Sometimes no skills are listed at all…other times, the two blocks are either nested or partially/inconsistently duplicated.
These are silent failures and the result is that skills can’t be relied on in agent sessions…or they can’t be used at all.
Steps to Reproduce
Kick off 3 new local agents in Agents Window, same repo, one right after the other…
Dump the raw text of the entire <available_skills> and <agent_skills> blocks from your initial context.
Do not call any tools. Don't abbreviate or truncate anything. Just print out exactly what you were given.
Expected Behavior
Every skill should be listed every time…not listing the skills in the context means skills flat out don’t work in the session.
As for the randomly different XML structure, I don’t know if that has any negative effects, but it wastes context window when duplicated. I don’t know why both tags exist, but if they need to, then perhaps this is the correct structure?
<agent_skills>
<available_skills>
<agent_skill>...</agent_skill>
...
</available_skills>
</agent_skills>
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 3.8.11
VS Code Extension API: 1.105.1
Commit: e56ad3440df06d22ca7501e65fd518e905486ef0
Date: 2026-06-18T01:40:18.333Z
Layout: glass
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.5.0
For AI issues: which model did you use?
composer-2.5
For AI issues: add Request ID with privacy disabled
These were run within a few minutes of each other…all from the same repo and run locally using Agents Window.
No skills listed at all:
b2464d12-fa4a-4016-b374-f8940ff17f86
Uses structure <agent_skills><available_skills></available_skills></agent_skills>:
f9e8a74d-c46c-4dce-ac06-d7442999259c
Uses structure where <available_skills> is not nested in <agent_skills>:
e977948c-972d-4424-8b05-749882651172
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor



