Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Antigravity skill discovery ignores skills.json in T3's managed profile ($GEMINI_HOME) #46432

Closedstalkerg(GitHub profile, opens in a new tab) opened this issue 0 comments
stalkerg(GitHub profile, opens in a new tab)commented

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Install and enable Antigravity through T3 Code's UI on a machine with no standalone agy install (~/.gemini does not exist).
  2. Configure custom skills in the active Antigravity profile's $GEMINI_HOME/config/skills.json (~/.t3/userdata/providers/antigravity/<hash>/config/skills.json) — e.g. manually or by asking Antigravity itself to configure its skills.
  3. Start an Antigravity thread and compare typing / at the start of the prompt vs $ (or / mid-prompt).

Expected behavior

T3 Code's skill discovery (discoverAntigravitySkills) stays consistent with the managed Antigravity instance it launches: skills loaded from the instance's own $GEMINI_HOME/config/skills.json (and <profileDirectory>/config/skills) should also be discovered by T3 Code and appear in $ and mid-prompt /, matching the skills Antigravity itself loads and advertises over ACP.

Actual behavior

T3 Code launches antigravity acp with --gemini-dir <profileDirectory> (GEMINI_HOME=<profileDirectory>), so the agent loads <profileDirectory>/config/skills.json and advertises all configured skills via ACP available_commands_update (stored under slashCommands).

However, discoverAntigravitySkills in apps/server/src/provider/Drivers/AntigravitySkills.ts only reads skills.json from project folders and ~/.gemini/config/skills.json — it never checks <profileDirectory>/config/skills.json (even though it already reads <profileDirectory>/config/plugins).

When ~/.gemini does not exist, skills stays [], creating a confusing split UX:

  • / at position 0 shows all skills (via slashCommands).
  • $ shows "No skills found" (reads skills only).
  • / after any text/space hides all provider slashCommands (composerSlashCommandSearch.ts) and shows nothing.

(Related, not duplicates: #39762 added ~/.gemini/config/skills.json discovery/linking; #45309 covers linkAntigravityUserConfig failing to replace a regular file at the link path.)

Impact

Minor bug or occasional failure

Version or commit

v0.1.13 (bc0f04da94); also verified on main (apps/server/src/provider/Drivers/AntigravitySkills.ts lines 420-436)

Environment

Linux x86_64 (CachyOS), T3 Code Desktop v0.1.13, Antigravity managed runtime 1.5.18

Logs or stack traces

# antigravity-acp log: agent loads all 22 custom skills + 13 built-in commands from $GEMINI_HOME/config/skills.json
updates.go:831] Advertising 35 slash commands for session <session-id>

# ~/.t3/caches/antigravity.json: skills appear in slashCommands, but skills[] is empty
"slashCommands": [ ... 35 entries including custom skills from skills.json ... ],
"skills": []
  1. tanstack-source added labelsbug

  2. juliusmarminge closed this

Sign in to join this conversation.