Skip to content

[Bug]: Antigravity provider ignores skills.json (missing from profile linking and T3 Code skill picker) #39762

Closed

Description

@mameli

Area

apps/server

Steps to reproduce

  1. 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.)
  2. Open a thread in T3 Code using the Antigravity provider.
  3. 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

  1. 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.
  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions