cua icon indicating copy to clipboard operation
cua copied to clipboard

[Bug]: On Windows, cua-driver skills install creates an NTFS junction that Antigravity ignores

Open TomXPRIME opened this issue 2 weeks ago • 1 comments

Summary

On Windows, cua-driver mcp-config --client antigravity (and cua-driver skills install) installs the Antigravity skill by creating an NTFS Junction (ReparsePoint) at %USERPROFILE%\.gemini\config\skills\cua-driver pointing to %USERPROFILE%\.cua-driver\skills\cua-driver.

Antigravity does not discover or load this skill when it is an NTFS junction.

Environment

  • OS: Windows 11 (10.0.26300.9974, x86_64)
  • cua-driver: 0.55.0 (x86_64-pc-windows-msvc, git 8f484f30586e)
  • Client: Google Antigravity (Language Server 2.33.0)

Steps to Reproduce

  1. Install cua-driver on Windows via irm https://cua.ai/driver/install.ps1 | iex.
  2. Run cua-driver mcp-config --client antigravity (or cua-driver skills install).
    • Output reports: cua-driver: installed the skill pack for Antigravity IDE at C:\Users\<user>\.gemini\config\skills\cua-driver
    • Get-Item "$env:USERPROFILE\.gemini\config\skills\cua-driver" -Force shows Attributes: Directory, ReparsePoint and LinkType: Junction.
  3. Restart Antigravity and check Skills & Customizations and the agent's loaded skills list.

Expected Behavior

Antigravity discovers and loads the cua-driver skill.

Actual Behavior

Antigravity completely ignores cua-driver — it does not appear in the UI or in the agent's available skills list.

Root Cause & Verification

Antigravity's Go-based language server skips NTFS junctions when scanning %USERPROFILE%\.gemini\config\skills\ (on Windows, Go's os.ReadDir returns DirEntry.IsDir() == false for junctions/reparse points).

Verified workaround: Removing the junction and copying %USERPROFILE%\.cua-driver\skills\cua-driver as a regular directory to %USERPROFILE%\.gemini\config\skills\cua-driver makes Antigravity immediately discover and load the cua-driver skill with no changes to SKILL.md.

Suggested Fix

For Antigravity on Windows (or via a --copy option / per-agent copy strategy), materialize %USERPROFILE%\.gemini\config\skills\cua-driver as a regular directory copy (and refresh it on cua-driver skills update) instead of an NTFS junction.

TomXPRIME avatar Nov 20 '26 16:11 TomXPRIME

Hey, I'd love to take this!

I'm on Windows so I can test it locally. My plan is to update the install logic to copy the files directly (or fallback to a normal symlink) instead of creating an NTFS junction, so Antigravity detects it properly.

Mohit20057 avatar Nov 20 '26 17:11 Mohit20057