Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Antigravity skill picker ignores the skills paths in a plugin's plugin.json #43586

Closedhazemkya(GitHub profile, opens in a new tab) opened this issue 0 comments

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. In an Antigravity instance profile, add a plugin that lists its skills in its manifest. Antigravity supports this, and plugins converted from Claude Code use it:

    <profile>/config/plugins/demo/
      .antigravity-plugin/plugin.json   {"name": "demo", "version": "1.0.0", "skills": ["./engineering", "./skills/cat/listed"]}
      engineering/collected/SKILL.md    (name: collected)
      skills/cat/listed/SKILL.md        (name: listed)
  2. agy plugin validate <profile>/config/plugins/demo --json reports "skills": 2, and an Antigravity session advertises /collected and /listed.

  3. Open a thread on that Antigravity instance and type $ in the composer.

Expected behavior

The $ picker lists demo:collected and demo:listed, the two skills agy loads.

Actual behavior

Neither skill appears. discoverAntigravitySkills (apps/server/src/provider/Drivers/AntigravitySkills.ts) only scans <plugin>/skills, one level deep, and never reads the plugin's manifest. It also has the opposite problem: it lists skills from plugin folders that agy refuses to load, either because they have no manifest or because their manifest doesn't parse.

In a real profile with four plugins, agy loads 87 skills and the picker shows 59. All 28 missing skills are listed in their plugin's plugin.json: one plugin uses "skills": ["./engineering"], and another lists 27 paths like ./skills/engineering/tdd.

I checked these rules on throwaway plugins with agy plugin validate --json (agy 1.5.17):

  • Manifest choice: agy reads only the first manifest present, in this order: .antigravity-plugin/plugin.json, .gemini-plugin/plugin.json, plugin.json. If there is none, or that first one doesn't parse, it skips the whole plugin.
  • skills field: a string or a list. Its paths are added to skills/, not used instead of it, and resolve relative to the plugin folder. Each path can be a collection, a single skill folder, or a SKILL.md file, and is scanned one level deep.
  • Agent Plugins manifests: agy ignores skills in a manifest that declares an Agent Plugins $schema, because its enable-agent-plugins-spec flag is on.

Workaround: pick the skill from the / menu instead. agy advertises these skills as slash commands, so /name works.

Related: #38925 (fixed by #38960, which added plugin scanning with the fixed skills/ path), #39324, #28116.

Impact

Major degradation or frequent failure

Version or commit

main @ c2fcbd79

  1. tanstack-source added labelsbug

  2. juliusmarminge closed this

Sign in to join this conversation.