Skip to content

bug(target): antigravity target fails to load skills on Windows due to wrong default path and sync mode #255

Description

@EriaWalker

bug(target): antigravity target fails to load skills on Windows due to wrong default path and sync mode

Environment

  • OS: Windows 11
  • Target: antigravity

Symptoms

Skills installed by skillshare for the antigravity target do not appear in Antigravity. The agent cannot load or execute any synced skill.


Root Cause

The default target configuration for antigravity contains two errors:

  1. Incorrect Target Path

    • Default configured path: ~/.gemini/skills/
    • Actual path read by Antigravity: ~/.gemini/config/skills/
  2. Incompatible Default Sync Mode on Windows

    • Default sync mode: merge (creates symlinks)
    • Behavior: Antigravity cannot traverse Windows directory symlinks and returns an Incorrect function error. Antigravity requires real directories.

Workaround for Users

  1. Edit %APPDATA%\skillshare\config.yaml (or ~/.config/skillshare/config.yaml):

    targets:
      antigravity:
        mode: copy
        skills:
          path: C:\Users\<username>\.gemini\config\skills
  2. Run the commands to apply the mode and sync files:

    skillshare target antigravity --mode copy
    skillshare sync --force
  3. Open a new session in Antigravity to load the copied skills.


Proposed Fix for skillshare

Update the built-in target definition for antigravity in skillshare:

  1. Change the default skills path for antigravity from ~/.gemini/skills to ~/.gemini/config/skills.
  2. Change the default sync mode for antigravity on Windows from merge to copy.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions