docs: update readme to connect with antigravity#160
Closed
twishabansal wants to merge 1 commit into
Closed
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the documentation to replace references to Gemini CLI with Antigravity (including Antigravity CLI and Antigravity 2.0) and adds instructions for installing via the open agent skills tool. However, the changes introduce duplicate sections for both the Antigravity installation instructions and the open agent skills tool installation guide, which should be removed.
Comment on lines
151
to
221
|
|
||
| <details open> | ||
| <summary id="gemini-cli">Gemini CLI</summary> | ||
| <summary id="antigravity">Antigravity</summary> | ||
|
|
||
| You can use either of these two agents for Antigravity: | ||
| - [Antigravity CLI](https://github.com/google-gemini/gemini-cli) version **v1.6.0** or higher | ||
| - [Antigravity 2.0](https://antigravity.google/product/antigravity-2) version **v2.0.0** or higher. | ||
|
|
||
| **1. Install the extension:** | ||
| <blockquote> | ||
| 💡 <strong>Tip — Migrating from Gemini CLI?</strong><br> | ||
| If you previously installed this extension with <code>gemini extensions install</code>, you can convert it to an Antigravity plugin instead of reinstalling from scratch: | ||
| <ul> | ||
| <li><strong>On first launch of Antigravity CLI</strong>, accept the Migration Options prompt to automatically convert your installed Gemini CLI extensions to Antigravity plugins.</li> | ||
| <li><strong>Or, from your terminal</strong>, run: | ||
| <pre><code class="language-bash">agy plugin import gemini</code></pre> | ||
| </li> | ||
| </ul> | ||
| See <a href="https://antigravity.google/docs/gcli-migration">Migrating from Gemini CLI</a> for details on plugins, context files (<code>GEMINI.md</code> / <code>AGENTS.md</code>), and MCP server config differences. | ||
| </blockquote> | ||
|
|
||
| #### Antigravity 2.0 (IDE) | ||
|
|
||
| **1. Clone the Repo:** | ||
|
|
||
| ```bash | ||
| gemini extensions install https://github.com/gemini-cli-extensions/alloydb | ||
| git clone --branch 0.2.0 https://github.com/gemini-cli-extensions/alloydb.git | ||
| ``` | ||
|
|
||
| During the installation, enter your environment vars as described in the [configuration section](#configuration). | ||
| **2. Install the skills:** | ||
|
|
||
| Choose a location for the skills: | ||
| - **Global (all workspaces):** `~/.gemini/antigravity/skills/` | ||
| - **Workspace-specific:** `<workspace-root>/.agents/skills/` | ||
|
|
||
| Copy the skill folders from the cloned repository's `skills/` directory to your chosen location: | ||
|
|
||
| **2. (Optional) Manage Configuration:** | ||
| To view or update your configuration in Gemini CLI: | ||
| ```bash | ||
| cp -R alloydb/skills/* ~/.gemini/antigravity/skills/ | ||
| ``` | ||
|
|
||
| **3. Set env vars:** | ||
| Set your environment vars as described in the [configuration section](#configuration). | ||
|
|
||
| _(Tip: Antigravity 2.0 automatically discovers skills in these directories at the start of a session. You can verify they are active by running the `/skills` command in your active session.)_ | ||
|
|
||
| #### Antigravity CLI | ||
|
|
||
| **1. Clone the Repo:** | ||
|
|
||
| ```bash | ||
| git clone --branch 0.2.0 https://github.com/gemini-cli-extensions/alloydb.git | ||
| ``` | ||
|
|
||
| **2. Install the skills:** | ||
|
|
||
| - Terminal: `gemini extensions config alloydb [setting name] [--scope <scope>]` | ||
| - Gemini CLI: `/extensions list` | ||
| Choose a location for the skills: | ||
| - **Global (all workspaces):** `~/.gemini/antigravity-cli/skills/` | ||
| - **Workspace-specific:** `<workspace-root>/.agents/skills/` | ||
|
|
||
| **3. Start the agent:** | ||
| Copy the skill folders from the cloned repository's `skills/` directory to your chosen location: | ||
|
|
||
| ```bash | ||
| gemini | ||
| cp -R alloydb/skills/* ~/.gemini/antigravity-cli/skills/ | ||
| ``` | ||
|
|
||
| _(Tip: Run `/extensions list` to verify your configuration and active extensions.)_ | ||
| **3. Set env vars:** | ||
| Set your environment vars as described in the [configuration section](#configuration). | ||
|
|
||
| > [!WARNING] | ||
| > **Changing Instance & Database Connections** | ||
| > Currently, the database connection must be configured before starting the agent and can not be changed during a session. | ||
| > To save and resume conversation history in Gemini CLI use command: `/chat save <tag>` and `/chat resume <tag>`. | ||
| _(Tip: Antigravity CLI automatically discovers skills in these directories at the start of a session. You can verify they are active by running the `/skills` command in your active session.)_ | ||
|
|
||
| </details> |
Contributor
Comment on lines
309
to
+323
|
|
||
| Copy the skill folders from the cloned repository's `skills/` directory to your chosen location: | ||
| ## Installing using [open agent skills tool](https://github.com/vercel-labs/skills) | ||
|
|
||
| ```bash | ||
| cp -R alloydb/skills/* ~/.gemini/antigravity/skills/ | ||
| ``` | ||
| You can install skills using the `npx skills` command. | ||
|
|
||
| **3. Set env vars:** | ||
| Set your environment vars as described in the [configuration section](#configuration). | ||
| Run the following command in your terminal to automatically download and register the skills: | ||
|
|
||
| _(Tip: Antigravity automatically discovers skills in these directories at the start of a session.)_ | ||
| ```bash | ||
| npx skills add https://github.com/gemini-cli-extensions/alloydb/tree/0.2.0 | ||
| ``` | ||
|
|
||
| </details> | ||
| For detailed info check out the [Skills npm package](https://www.npmjs.com/package/skills). | ||
|
|
||
| **2. Set env vars:** | ||
| Set your environment vars as described in the [configuration section](#configuration). |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replicating gemini-cli-extensions/cloud-sql-postgresql#173