Skip to content

Commit 9f48518

Browse files
committed
docs: update readme to connect with antigravity
1 parent 4733240 commit 9f48518

2 files changed

Lines changed: 68 additions & 42 deletions

File tree

.lycheeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
https://github.com/gemini-cli-extensions/cloud-sql-mysql/compare/
2+
https://www.npmjs.com/package/skills

README.md

Lines changed: 67 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
> [!NOTE]
44
> Currently in beta (pre-v1.0), and may see breaking changes until the first stable release (v1.0).
55
6-
This repository provides a set of agent skills to interact with [Cloud SQL for MySQL](https://cloud.google.com/sql/docs/mysql) instances. These skills can be used with various AI agents, including [Gemini CLI](https://google-gemini.github.io/gemini-cli/), Claude Code, and Codex, to manage your databases, execute queries, explore schemas, and troubleshoot issues using natural language prompts.
6+
This repository provides a set of agent skills to interact with [Cloud SQL for MySQL](https://cloud.google.com/sql/docs/mysql) instances. These skills can be used with various AI agents, including [Antigravity](https://antigravity.google/), [Claude Code](https://claude.com/product/claude-code) and [Codex](https://developers.openai.com/codex), to manage your databases, execute queries, explore schemas, and troubleshoot issues using natural language prompts.
77

88
> [!IMPORTANT]
99
> **We Want Your Feedback!**
@@ -19,10 +19,9 @@ This repository provides a set of agent skills to interact with [Cloud SQL for M
1919
- [Getting Started](#getting-started)
2020
- [Configuration](#configuration)
2121
- [Installation & Usage](#installation--usage)
22-
- [Gemini CLI](#gemini-cli)
22+
- [Antigravity](#antigravity)
2323
- [Claude Code](#claude-code)
2424
- [Codex](#codex)
25-
- [Antigravity](#antigravity)
2625
- [Usage Examples](#usage-examples)
2726
- [Supported Skills](#supported-skills)
2827
- [Additional Agent Skills](#additional-agent-skills)
@@ -40,10 +39,11 @@ This repository provides a set of agent skills to interact with [Cloud SQL for M
4039
Before you begin, ensure you have the following:
4140

4241
- One of these AI agents installed
43-
- [Gemini CLI](https://github.com/google-gemini/gemini-cli) version **v0.6.0** or higher
44-
- [Claude Code](https://claude.com/product/claude-code) version **v2.1.94** or higher
45-
- [Codex](https://developers.openai.com/codex) **v0.117.0** or higher
46-
- [Antigravity](https://antigravity.google) **v1.14.2** or higher
42+
- Antigravity
43+
- [Antigravity CLI](https://github.com/google-gemini/gemini-cli) version **v1.6.0** or higher
44+
- [Antigravity 2.0](https://antigravity.google/product/antigravity-2) version **v2.0.0** or higher.
45+
- [Claude Code](https://claude.com/product/claude-code) version **v2.1.94** or higher.
46+
- [Codex](https://developers.openai.com/codex) **v0.117.0** or higher.
4747
- A Google Cloud project with the **Cloud SQL Admin API** enabled.
4848
- Ensure [Application Default Credentials](https://cloud.google.com/docs/authentication/gcloud) are available in your environment.
4949
- IAM Permissions:
@@ -84,34 +84,73 @@ For the latest version, check the [releases page][releases].
8484
<!-- {x-release-please-start-version} -->
8585

8686
<details open>
87-
<summary id="gemini-cli">Gemini CLI</summary>
87+
<summary id="antigravity">Antigravity</summary>
88+
89+
You can use either of these two agents for Antigravity:
90+
- [Antigravity CLI](https://github.com/google-gemini/gemini-cli) version **v1.6.0** or higher
91+
- [Antigravity 2.0](https://antigravity.google/product/antigravity-2) version **v2.0.0** or higher.
92+
93+
<blockquote>
94+
💡 <strong>Tip — Migrating from Gemini CLI?</strong><br>
95+
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:
96+
<ul>
97+
<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>
98+
<li><strong>Or, from your terminal</strong>, run:
99+
<pre><code class="language-bash">agy plugin import gemini</code></pre>
100+
</li>
101+
</ul>
102+
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.
103+
</blockquote>
104+
105+
#### Antigravity 2.0 (IDE)
106+
107+
**1. Clone the Repo:**
108+
109+
```bash
110+
git clone --branch 0.2.0 https://github.com/gemini-cli-extensions/cloud-sql-mysql.git
111+
```
112+
113+
**2. Install the skills:**
88114

89-
**1. Install the extension:**
115+
Choose a location for the skills:
116+
- **Global (all workspaces):** `~/.gemini/antigravity/skills/`
117+
- **Workspace-specific:** `<workspace-root>/.agents/skills/`
118+
119+
Copy the skill folders from the cloned repository's `skills/` directory to your chosen location:
90120

91121
```bash
92-
gemini extensions install https://github.com/gemini-cli-extensions/cloud-sql-mysql
122+
cp -R cloud-sql-mysql/skills/* ~/.gemini/antigravity/skills/
93123
```
94124

95-
During the installation, enter your environment vars as described in the [configuration section](#configuration).
125+
**3. Set env vars:**
126+
Set your environment vars as described in the [configuration section](#configuration).
96127

97-
**2. (Optional) Manage Configuration:**
98-
To view or update your configuration in Gemini CLI:
128+
_(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.)_
99129

100-
- Terminal: `gemini extensions config cloud-sql-mysql [setting name] [--scope <scope>]`
101-
- Gemini CLI: `/extensions list`
130+
#### Antigravity CLI
102131

103-
**3. Start the agent:**
132+
**1. Clone the Repo:**
104133

105134
```bash
106-
gemini
135+
git clone --branch 0.2.0 https://github.com/gemini-cli-extensions/cloud-sql-mysql.git
107136
```
108137

109-
_(Tip: Run `/extensions list` to verify your configuration and active extensions.)_
138+
**2. Install the skills:**
110139

111-
> [!WARNING]
112-
> **Changing Instance & Database Connections**
113-
> Currently, the database connection must be configured before starting the agent and can not be changed during a session.
114-
> To save and resume conversation history in Gemini CLI use command: `/chat save <tag>` and `/chat resume <tag>`.
140+
Choose a location for the skills:
141+
- **Global (all workspaces):** `~/.gemini/antigravity-cli/skills/`
142+
- **Workspace-specific:** `<workspace-root>/.agents/skills/`
143+
144+
Copy the skill folders from the cloned repository's `skills/` directory to your chosen location:
145+
146+
```bash
147+
cp -R cloud-sql-mysql/skills/* ~/.gemini/antigravity-cli/skills/
148+
```
149+
150+
**3. Set env vars:**
151+
Set your environment vars as described in the [configuration section](#configuration).
152+
153+
_(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.)_
115154

116155
</details>
117156

@@ -191,35 +230,21 @@ Enter your environment vars as described in the [configuration section](#configu
191230
_(Tip: Run `codex plugin list` or use the `/plugins` interactive menu to verify your installed plugins.)_
192231

193232
</details>
233+
## Installing using [open agent skills tool](https://github.com/vercel-labs/skills)
194234

195-
<details>
196-
<summary id="antigravity">Antigravity</summary>
235+
You can install skills using the `npx skills` command.
197236

198-
**1. Clone the Repo:**
237+
Run the following command in your terminal to automatically download and register the skills:
199238

200239
```bash
201-
git clone --branch 0.2.0 https://github.com/gemini-cli-extensions/cloud-sql-mysql.git
240+
npx skills add https://github.com/gemini-cli-extensions/cloud-sql-mysql/tree/0.2.0
202241
```
203242

204-
**2. Install the skills:**
243+
For detailed info check out the [Skills npm package](https://www.npmjs.com/package/skills).
205244

206-
Choose a location for the skills:
207-
- **Global (all workspaces):** `~/.gemini/antigravity/skills/`
208-
- **Workspace-specific:** `<workspace-root>/.agents/skills/`
209-
210-
Copy the skill folders from the cloned repository's `skills/` directory to your chosen location:
211-
212-
```bash
213-
cp -R cloud-sql-mysql/skills/* ~/.gemini/antigravity/skills/
214-
```
215-
216-
**3. Set env vars:**
245+
**2. Set env vars:**
217246
Set your environment vars as described in the [configuration section](#configuration).
218247

219-
_(Tip: Antigravity automatically discovers skills in these directories at the start of a session.)_
220-
221-
</details>
222-
223248
<!-- {x-release-please-end} -->
224249

225250
## Usage Examples

0 commit comments

Comments
 (0)