[Bug]: On Windows, cua-driver skills install creates an NTFS junction that Antigravity ignores
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, git8f484f30586e) - Client: Google Antigravity (Language Server
2.33.0)
Steps to Reproduce
- Install
cua-driveron Windows viairm https://cua.ai/driver/install.ps1 | iex. - Run
cua-driver mcp-config --client antigravity(orcua-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" -ForceshowsAttributes: Directory, ReparsePointandLinkType: Junction.
- Output reports:
- 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.
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.