Area#
apps/server
Steps to reproduce#
- Configure a global Antigravity
skills.json at ~/.gemini/config/skills.json pointing to a custom skills directory (for example, ~/.agents/skills):
{
"entries": [
{ "path": "/Users/<user>/.agents/skills" }
]
}
(Or add a workspace .agents/skills.json pointing to a shared skills folder.)
- Open a thread in T3 Code using the Antigravity provider.
- Open the composer skill picker (
$) or check whether skills declared in skills.json appear as skill pills.
Expected behavior#
- T3 Code links
~/.gemini/config/skills.json into the managed Antigravity GEMINI_HOME profile (<profileDirectory>/config/skills.json) when present, just like it does for config/skills and antigravity-cli/skills.
discoverAntigravitySkills parses skills.json (global ~/.gemini/config/skills.json and workspace .agents/skills.json, supporting entries, inherits, include_only, and exclude per Antigravity's customization spec) so declared skills appear in T3 Code's $skill picker and render as skill pills in the composer, matching Antigravity's own discovery.
Actual behavior#
apps/server/src/provider/antigravityAuthSupport.ts only links antigravityUserSkillDirectories (config/skills and antigravity-cli/skills), so ~/.gemini/config/skills.json is not linked into the isolated GEMINI_HOME profile.
apps/server/src/provider/Drivers/AntigravitySkills.ts (discoverAntigravitySkills) only scans hardcoded skill directories and plugin directories, ignoring skills.json completely. As a result, even if skills.json is manually symlinked into the profile (so Antigravity loads the skills and advertises them as ACP /slash commands), T3 Code discovers 0 user skills from skills.json and does not show them in the $ skill picker / skill pill UI.
(Related, distinct issue: #39324 / PR #39355 cover $skill dispatch for disable-model-invocation: true skills, whereas this issue is about skills.json linking and discovery.)
Impact#
Minor bug or occasional failure
Environment#
macOS 27.0.1, T3 Code Desktop, Antigravity provider (ACP)
Workaround#
Symlink the custom skills directory directly to ~/.gemini/config/skills (e.g. ln -s ~/.agents/skills ~/.gemini/config/skills) instead of using ~/.gemini/config/skills.json.