Missing global skills directory path (C:\Users\USER\.gemini\antigravity\skills) in the Agentās <skills> System Prompt.
Description: According to the official documentation at Google Antigravity , the agent should support āGlobal Skillsā. However, the agent fails to automatically discover or use global skills located in the global directory (e.g., C:\Users\USER\.gemini\antigravity\skills on Windows).
Upon inspecting the AIās internal System Prompt, the <skills> section only defines the structure of a skill (SKILL.md with YAML frontmatter) but completely omits any directory paths to search for them. In contrast, the <workflows> section correctly specifies exactly where to look for workflows (e.g., {.agents,.agent}/workflows).
Because there is no default path injected for global skills, the agent operates completely blind to them unless the user manually provides the absolute path in the chat prompt.
Environment:
-
OS: Windows 11
-
Antigravity Version: 1.19.6
-
Model: Gemini 3.1 Pro (Low)
-
Feature: Global Skills
Steps to Reproduce:
-
Create a valid global skill with a
SKILL.mdfile in the global directory:C:\Users\USER\.gemini\antigravity\skills\my-test-skill\SKILL.md. -
Start a new chat with the Antigravity agent.
-
Ask the agent: āList my available skillsā or "Do you know about [my-test-skill]".
-
The agent will respond that it does not know any skills or cannot find them, because it doesnāt know where to look.
Expected Behavior: The Agentās System Prompt for <skills> should include the absolute paths or relative paths to both local project skills and the global skills directory (C:\Users\USER\.gemini\antigravity\skills\). The agent should automatically scan or be aware of the skills located in this global folder.
Actual Behavior: The <skills> prompt block only contains structural instructions without any path references:
<skills>
You can use specialized 'skills' to help you with complex tasks. Each skill has a name and a description listed below.
Skills are folders of instructions, scripts, and resources that extend your capabilities for specialized tasks...
</skills>
(Notice the lack of path references, unlike the <workflows> block which explicitly states: āThese workflows are defined as .md files in {.agents,.agent,_agents,_agent}/workflowsā)
Suggested Fix: Update the System Prompt generation logic for the <skills> tag to explicitly include the path to the userās global skills directory, similar to how local generic paths are provided for <workflows>, or inject a list of available global skills directly into the prompt.