subagent-cortex-code icon indicating copy to clipboard operation
subagent-cortex-code copied to clipboard

Cursor install: step 2 `cp` source path doesn't match where step 1 installs on macOS

Open JohnnyHagaman opened this issue 6 months ago • 0 comments

Following the README's Cursor install section on macOS: npx skills add snowflake-labs/subagent-cortex-code --copy --global The skill is installed to ~/.agents/skills/cortex-code/ (the universal location described later in the README), NOT to ~/.cursor/skills/cortex-code/ as step 1 claims. As a result, step 2 fails: cp ~/.cursor/skills/cortex-code/cortex-snowflake-routing.mdc ~/.cursor/rules/ cp: /Users//.cursor/skills/cortex-code/cortex-snowflake-routing.mdc: No such file or directory

Workaround:

Copy from the universal install path instead: cp ~/.agents/skills/cortex-code/cortex-snowflake-routing.mdc ~/.cursor/rules/ Suggested fix: Either: (a) update the Cursor section's cp source to ~/.agents/skills/..., or (b) have the installer also place the skill at ~/.cursor/skills/cortex-code/ as step 1 currently claims.

Environment:

  • macOS (darwin)
  • Cursor (latest)
  • npx skills add snowflake-labs/subagent-cortex-code --copy --global

JohnnyHagaman avatar May 08 '26 18:05 JohnnyHagaman