Skip to content

feat(skills): install for Antigravity with remote compatibility checks - #21650

Merged
nwparker merged 3 commits into
nwparker/agy-skill-discoveryfrom
nwparker/agy-skill-install
Sep 21, 2026
Merged

nwparker merged 3 commits into
nwparker/agy-skill-discoveryfrom
nwparker/agy-skill-install

Conversation

@nwparker

@nwparker nwparker commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 6 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​146 0 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​146
Prod 7 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​35 $\color{#cf222e}{\Huge{\mathbf{−}}}$​22 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​13

ELI5

Orca could find Antigravity skills after #21647, but its installer still did not offer Antigravity. It now places global skills where agy reads them and recognizes that workspace skills already live in the shared workspace directory. An older remote Orca must update before accepting an explicit Antigravity selection.

What Changed

Add Antigravity to the existing native skill-provider registry: global placement in ~/.gemini/config/skills, workspace placement through .agents/skills. Reuse the existing managed alias/copy, ownership, and removal implementation. The existing picker offers Antigravity globally, selects it when detected, and lists it among automatically included workspace agents.

Advertise skills.install-antigravity.v1 on runtimes and SSH relays. Individual and bundle install requests check this capability before sending an explicit Antigravity choice, including the SSH upload fallback. Existing update-required errors explain an unsupported host.

Stacked on #21647. No third-party installer is introduced.

Why

The installed provider's agy-customizations documentation specifies these directories. Real installation checks confirmed global symlink loading and interactive workspace discovery. Reusing the installer preserves its ownership and cleanup behavior. The capability matters because older hosts accept the provider field but silently filter unknown provider IDs; merely adding a checkbox could report success without installing for agy.

Linked Issue

Addresses the installation gap described in #12897, following its discovery fix #21647. Related to #21541; this does not complete that broader onboarding request.

Visual Proof

The actual picker component rendered in the hidden Electron app, with a fixture saying Antigravity is detected. These are explicitly labeled component previews, not a hosted-share download demonstration. Captured through CDP using the electron and visual-proof skills.

Before:

Before

After:

After

Testing

  • Real macOS native installer check: package a unique temporary skill, install with installSharedSkill, query installed agy, then remove with removeSharedSkill and verify both owned paths are absent.
  • Global: the managed .gemini/config/skills symlink points to the canonical .agents/skills copy; agy's JSON /skills command lists the exact probe.
  • Workspace: installed into the existing isolated folder workspace's .agents/skills; a real interactive agy PTY /skills screen lists the workspace probe. The noninteractive /skills command omitted workspace skills even when installed, so it is not used as workspace proof.
  • 107 focused tests pass: native install/remove, destination resolution, provider picker/dialog, contract parsing, relay capability publication, and old/new runtime/SSH hosts for single and bundled installs. Old-host cases verify no install RPC is sent.
  • Full pnpm tc, changed-code-quality gate, commit lint/format hooks, and relay build pass.
  • Temporary skills and preview harness removed. User authentication and existing skills preserved.

Review

  • Agent skill upstream boundary followed. Provider paths came from installed official documentation and real agy checks, not third-party skill path tables.

Notes

Still draft: real Windows/WSL/SSH installation, a hosted share-to-install UI flow, and skill use during an authenticated model turn remain unverified. The real workspace test used a non-git folder workspace. No protocol version bump or required wire field is added; older clients keep their existing provider choices, and explicit Antigravity requests require a capable host.

Checklist

  • Focused on native skill installation and its compatibility boundary
  • ELI5, before/after, mechanism, and approach explained
  • Before/after visual proof attached with its limits
  • Self-reviewed
  • Cross-platform, folder, SSH and mixed-version behavior considered
  • Full lint/test/build suite (focused checks and full typecheck above; CI covers broader checks)

@nwparker

Copy link
Copy Markdown
Contributor Author

Independent verification update:

  • Installed agy 1.2.7 returned the exact sentinel AGY_SKILL_INSTALL_LIVE_OK.
  • Native/remote/SSH/relay/provider-picker skill-install suites: 68 passed in the focused run.
  • pnpm tc:node and pnpm tc:web passed.
  • Changed-code quality passed with 0 new findings.
  • CI run 35436005491 passed typecheck, static analysis, all 8 test shards, wire compatibility, verify, and both packages.

Scoped verdict: Approve after CI for Antigravity skill installation and capability gating. Windows/WSL/SSH live installation, hosted share-to-install, and skill execution during an authenticated model turn remain unverified.

@nwparker

Copy link
Copy Markdown
Contributor Author

Independent verification (2026-09-20):

  • Skill discovery/install/remote/SSH/relay/provider-picker suites: 96/96 passed.
  • pnpm tc:node and pnpm tc:web passed.
  • pnpm run check:code-quality:changed origin/main passed with 0 new findings across 69 changed files.
  • Installed agy 1.2.7 authenticated exact sentinel returned AGY_SKILL_INSTALL_OK.
  • Full CI run 35436005491 plus RPC recording/verify 35436005404 is green across required shards, wire checks, packages, and verify.

Verdict: approve after CI in stack order for capability gating and provider-aware skill installation. The local tests cover remote/SSH/relay contracts, but live Windows/WSL/SSH installation and authenticated skill execution remain unverified. No merge performed.

@nwparker

Copy link
Copy Markdown
Contributor Author

Fresh CI rerun: green.

ELI5: skill installation checks the machine that will run the skill, so remote installs do not silently target the wrong host. Merge verdict: approve together with #21647.

@nwparker

Copy link
Copy Markdown
Contributor Author

Merge-risk review (2026-09-20)

This remains low risk within the existing skill-install subsystem: it reuses the current provider registry, ownership, cleanup, and capability checks; it adds no third-party installer and no required wire field. Focused tests, macOS install/remove proof, before/after picker screenshots, and full CI (including Windows package) are green.

Verdict: low-to-medium risk; approve after #21647 and normal review. The honest boundary is that real Windows/WSL/SSH installation execution and hosted-share installation remain unverified, so this should not be described as universal remote support.

@nwparker

Copy link
Copy Markdown
Contributor Author

Remote compatibility verification (2026-09-21)

The live awin host is an older Orca runtime and does not advertise skills.install-antigravity.v1; the client therefore refuses an explicit remote Antigravity install with the update-required path instead of silently reporting success.

On the #21650 head, the complete skill install/discovery/remote/SSH/relay test set passed on native Windows: 63 tests across 6 files. This includes provider capability gating, old/new host behavior, direct download fallback, upload fallback, cancellation, retry, and SSH relay contracts.

Remote verdict: compatible and safe to merge; universal remote installation still requires the host update as designed.

@nwparker
nwparker marked this pull request as ready for review September 21, 2026 00:24
@pullfrog

pullfrog Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

This run was cancelled 🛑

The workflow was cancelled before completion. Please check the link below for details.

Pullfrog  | View workflow run | via Pullfrog | 𝕏

@nwparker
nwparker merged commit 14f1c9a into nwparker/agy-skill-discovery Sep 21, 2026
37 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant