Pixel for Antigravity

Antigravity keeps its native tools; pixel setup installs a prompt brief and a deferred, conversation-scoped metrics relay in its IDE and CLI plugins.

Updated

Install Pixel

Pixel is a command-line tool: Antigravity runs the pixel binary, so install it first (macOS and Linux).

curl -fsSL https://github.com/Pixel-CLI/pixel/releases/latest/download/install.sh | sh

How to read the script before it runs. It does not change any agent’s configuration.

What pixel setup writes

pixel setup

Run it once, from anywhere; it writes Antigravity’s files when ~/.gemini/config exists; the brief hook only where ~/.gemini/config/hooks.json already exists. For Antigravity:

  • ~/.gemini/config/config.json
  • ~/.gemini/config/hooks.json
  • ~/.gemini/config/plugins/pixel/plugin.json
  • ~/.gemini/config/plugins/pixel/hooks.json
  • ~/.gemini/config/plugins/pixel/skills/pixel/SKILL.md
  • ~/.gemini/antigravity-cli/plugins/pixel/plugin.json
  • ~/.gemini/antigravity-cli/plugins/pixel/hooks.json
  • ~/.gemini/antigravity-cli/plugins/pixel/skills/pixel/SKILL.md
  • ~/.gemini/config/import_manifest.json

A PreInvocation evidence brief, and a plugin that carries the pixel skill and a metrics relay which queues by conversation artifact directory, then injects the matching one-line metric at PostInvocation; native tools stay unchanged.

Every pixel setup also writes ~/.pixel/setup-receipt.json and ~/.pixel/config.yaml and ~/.claude/skills/pixel/SKILL.md and ~/.config/opencode/skills/pixel/SKILL.md and ~/.gemini/skills/pixel/SKILL.md and ~/.pixel/plugins/cand-j-callers/ and ~/.pixel/plugins/cand-j-chain/ and ~/.pixel/plugins/cand-j-stop-cause/ and ~/.pixel/plugins/cand-k-code-sites/ and ~/.pixel/plugins/cand-k-commit-patch/ and ~/.pixel/plugins/config-registry/ and ~/.pixel/plugins/doc-sections/ and ~/.pixel/plugins/error-origin/ and ~/.pixel/plugins/flow-rank/ and ~/.pixel/plugins/history-fallback/ and ~/.pixel/plugins/name-files/ and ~/.pixel/plugins/overview-answer-evidence/ and ~/.pixel/plugins/rank-blocks/ and ~/.pixel/plugins/test-bodies/. No prompt, rules file or retrieval guard is written: Antigravity keeps its native search, and Pixel’s commands stay available when you ask for them.

Pixel returns {} from Antigravity PostToolUse and defers display until PostInvocation, whose documented injectSteps contract accepts the one-line ephemeral message. A pixel-brief entry you wrote yourself in ~/.gemini/config/hooks.json is kept. The import manifest is maintained by AGY only when its CLI is available for plugin registration.

Check it

pixel doctor .

pixel doctor . reports the wiring of every agent as green, stale or missing, and names the command that repairs each finding. For Antigravity alone:

pixel doctor . --only install.antigravity

Remove it

pixel setup --remove

It removes everything pixel setup wrote, for every agent at once, and the binary at ~/.local/bin/pixel, where the install script puts it. A package manager removes its own copy: uninstall with the manager that owns it.

Pixel for other agents