Skip to content

setup --host cursor leaves 1.31-era unprefixed Cursor skill folders, so Cursor loads duplicate skills #3133

Closed

Description

@capy-ai

Split out of #3084 (the data-loss half is fixed in Wave 9 Lane A0).

What happens

Cursor installs from 1.31 created unprefixed skill folders such as ~/.cursor/skills/autoplan/, each holding a SKILL.md symlink into the checkout. Current setup links gstack-* folders instead, and _prune_stale_generated only looks at gstack-* names, so the old folders stay. With an intact checkout they still resolve (the per-skill SKILL.md files are committed), so Cursor loads two skills named autoplan, review and so on, one from each folder. With the checkout gone they dangle (45 links in @andrewkjankowski's report).

Expected

./setup --host cursor removes unprefixed Cursor skill folders that gstack created (a SKILL.md symlink into a gstack checkout, or a generated-banner copy), the way setup already cleans old unprefixed Claude entries, and leaves user-owned folders alone with a kept <path>: not proven generated line.

Test

A fixture with a 1.31-style unprefixed Cursor folder (symlinked SKILL.md into the checkout) and a user-owned ~/.cursor/skills/my-skill/: after ./setup --host cursor, the first is gone, the second is byte-identical.

Reported by @andrewkjankowski in #3084.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions