Skip to content

[Bug]: Antigravity plugin skills in T3's per-instance profile never appear in the skills list #38925

Closed

Description

@p4cs-974

Before submitting

  • I searched existing issues. This overlaps with others; see Related issues below.
  • I included enough detail to reproduce or investigate the problem.

Related issues

If you'd rather track this under #28116, please close this as a duplicate. The details below should still help there.

Area

apps/server

Steps to reproduce

  1. Put a valid Antigravity plugin with a skills/ folder in T3's profile for an Antigravity instance: <profile>/config/plugins/<name>/, where <profile> is ~/.t3/userdata/providers/antigravity/<sha256 of instance id>. My plugin is t3-pstack 2.5.0, and agy plugin validate <dir> reports skills 66 · agents 4 · hooks 1.
  2. Restart the Antigravity provider and open a new Antigravity thread.
  3. Look at the provider's skills in T3.

Expected behavior

The plugin's skills appear in T3's skills list, as they do for Claude Code and Codex plugins.

Actual behavior

None of the plugin's skills appear. Only skills from the directories T3 scans (below) are listed.

Antigravity itself loads the plugin in T3 threads:

  • The ACP log shows Advertising 13 slash commands before the plugin was added and Advertising 79–82 slash commands after.
  • <profile>/antigravity-acp/plugin_data/<name>/ gets created.
  • The plugin's root hooks.json session-start hook runs, and the agent reads <profile>/config/plugins/<name>/skills/<skill>/SKILL.md.

Cause (from the strings in the bundled server build, so I don't have exact source lines): in src/provider/Drivers/AntigravitySkills.ts, discoverAntigravitySkills scans only these roots:

  • antigravityUserSkillDirectories(path.join(userHome, ".gemini")), which gives ~/.gemini/config/skills and ~/.gemini/antigravity-cli/skills
  • <cwd>/.gemini/skills, <cwd>/.agents/skills, <cwd>/.agent/skills

It never scans <profile>/config/plugins/*/skills. AntigravityProvider.onAvailableCommands updates slashCommands, but each workspace snapshot's skills still comes from discoveredSkills, so plugin skills never reach the skills list.

Suggested fix: in discoverAntigravitySkills, also scan <profileDirectory>/config/plugins/*/skills/*/SKILL.md, and possibly ~/.gemini/config/plugins/*/skills, which would also cover #28116.

Impact

Major degradation or frequent failure

Version or commit

0.1.11-nightly.20261118.4903

Environment

Linux x64, T3-managed Antigravity ACP 1.5.12 (oauth-personal), plugin in <profile>/config/plugins/t3-pstack (66 skills, 4 agents, 1 hook)

Logs or stack traces

# <profile>/antigravity-acp/log/acp-server-*.log
00:23:35 updates.go:517] Advertising 13 slash commands for session 65466bdd-…   # before the plugin was copied in
00:34:03 updates.go:517] Advertising 79 slash commands for session 01019426-…   # after
00:39:20 updates.go:517] Advertising 82 slash commands for session 3bcde0ab-…

Workaround

None that's clean. agy plugin install writes to ~/.gemini/config/plugins and ignores GEMINI_HOME, and T3 doesn't scan that folder either. Copying the skills into ~/.gemini/config/skills makes them show up. But linkAntigravityUserSkills links that folder into the profile, so Antigravity then loads every skill twice: once from the plugin and once as a standalone skill.

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