Repository navigation
Description
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
- [Bug]: Antigravity does not expose the installed plugins #28116 (open), "Antigravity does not expose the installed plugins". I read it and its comments. It reports plugins installed with the Antigravity app or
agyinto~/.gemini/config/plugins, which T3 threads can't use at all: the agent says they don't exist, and their MCP servers don't load. This issue is narrower and more specific. The plugin sits in T3's own per-instance Antigravity profile, and Antigravity does load it inside T3 threads. Its hook runs and its skills can be read, and the ACP server advertises them. The only gap is T3's skills list, which comes from T3's own disk scan. - [Bug]: User-installed Antigravity plugin slash commands (config/plugins/*/skills) disappear in existing/new threads after restart or hot-install #38511 (closed as a duplicate of [Bug]: Antigravity native slash commands (e.g. /swarm) never appear in the composer #35611) raised the same scanner gap as a side point. Its main subject was stale slash-command snapshots.
- [Bug]: Antigravity native slash commands (e.g. /swarm) never appear in the composer #35611 (open) covers advertised slash commands not reaching the composer. That's a separate path: this issue is about
skillsfromdiscoverAntigravitySkills, which stays without plugin skills even afteravailable_commands_updatearrives.
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
- 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, andagy plugin validate <dir>reportsskills 66 · agents 4 · hooks 1. - Restart the Antigravity provider and open a new Antigravity thread.
- 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 commandsbefore the plugin was added andAdvertising 79–82 slash commandsafter. <profile>/antigravity-acp/plugin_data/<name>/gets created.- The plugin's root
hooks.jsonsession-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/skillsand~/.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.
- Skip plugins that
config/config.jsondisables (plugins.<name>.enabled: false). - Give them a
pluginscope or carry the plugin name, so they don't collide with user skills of the same name (see [Bug]: Same-name skills from different sources collide and can invoke the wrong skill #11161). - Keep them within
MAX_SCAN_ENTRIESandMAX_SCAN_BYTES(compare [Bug]: Antigravity skill discovery drops all skills once SKILL.md files exceed the 8 MB scan budget #32161).
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.
Activity