Auto-imported skill catalogs from other agents have no opt-out

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor scans and injects the skill catalogs of other AI agents into every
request. On my machine it reads ~/.claude/skills, ~/.claude/plugins/cache/**,
and ~/.codex/skills, and puts roughly 90 skill entries (~10-14K tokens) into
the prompt before any user content is sent. There is no setting to turn this
off, and no way for a user to say “these skills are not mine, they are not
relevant to this workspace”.

Impact

  • About 90 entries / 10-14K tokens of fixed prompt on every single request,
    unrelated to the task. On my setup that is roughly 35-45% of the whole
    prompt, paid on every turn.
  • It is another tool’s configuration. My Codex setup silently changes Cursor’s
    behaviour and prompt size, and the reverse.
  • The same skill is often present in several directories; which path wins is
    arbitrary and changes between requests.

Why this is a problem
Skills are a good feature, but importing every other agent’s directory by
default, with no switch and no visibility, takes control away from the user.
The cost is invisible too: the UI shows neither which skills are loaded, nor
where they come from, nor what they cost. Resurrecting a skill from a second
directory when I remove it from the first means there is no supported way to
opt out at all. A default-on, all-sources behaviour with no override is hard
to defend.

Steps to Reproduce

  1. Have skills installed for Claude Code and Codex:
    ~/.claude/skills//SKILL.md and ~/.codex/skills//SKILL.md
  2. Open Cursor in any workspace. Every request now carries a catalog entry
    (absolute path + description) for each of those skills.
  3. Try to opt out: move ~/.claude/skills/brainstorming out of that directory.
    On the next request the same skill is listed again, this time loaded from
    ~/.codex/skills/brainstorming.
  4. No setting, no per-source toggle and no per-skill switch changes this.

Expected Behavior

Requests, in priority order

  1. A global setting “Import skills from other agents’ directories”, default off.
  2. Per-source toggles: ~/.claude/skills, ~/.claude/plugins/cache/**,
    ~/.codex/skills, project .agents/skills, each switchable on its own.
  3. Per-skill enable/disable in the Skills panel, persisted and actually
    honoured: a disabled or deleted skill must not come back from another source.
  4. Show the source path and the token cost next to each skill in the list.
  5. A settings.json key or env var for the same thing, so it can be scripted.

Operating System

Windows 10/11

Version Information

Version: 3.27.22 (system setup)
VS Code Extension API: 1.128.0
Commit: b1aa50cb6db84fd3e8c808259cb172ea73425c10
Date: 2026-10-27T00:33:02.045Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.11.16
Chromium: 148.0.7778.280
Node.js: 24.19.0
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

No - Cursor works, but with this issue

2 posts were merged into an existing topic: Toggle (or allowlist) for Agent Skills roots — stop loading ~/.claude/skills and ~/.codex/skills when I only want .cursor / .agents