Skip to content

Commit 5991ace

Browse files
committed
fix
1 parent 6a6afd1 commit 5991ace

1 file changed

Lines changed: 30 additions & 63 deletions

File tree

README.md

Lines changed: 30 additions & 63 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 PostgreSQL](https://cloud.google.com/sql/docs/postgres) 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 PostgreSQL](https://cloud.google.com/sql/docs/postgres) instances. These skills can be used with various AI agents, including [Antigravity CLI](https://antigravity.google/product/antigravity-cli), Claude Code, and 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 P
1919
- [Getting Started](#getting-started)
2020
- [Configuration](#configuration)
2121
- [Installation & Usage](#installation--usage)
22-
- [Gemini CLI](#gemini-cli)
22+
- [Antigravity CLI](#antigravity-cli)
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,9 @@ This repository provides a set of agent skills to interact with [Cloud SQL for P
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
42+
- [Antigravity CLI](https://github.com/google-gemini/gemini-cli) version **v1.6.0** or higher
4443
- [Claude Code](https://claude.com/product/claude-code) version **v2.1.94** or higher
4544
- [Codex](https://developers.openai.com/codex) **v0.117.0** or higher
46-
- [Antigravity](https://antigravity.google) **v1.14.2** or higher
4745
- A Google Cloud project with the **Cloud SQL Admin API** enabled.
4846
- Ensure [Application Default Credentials](https://cloud.google.com/docs/authentication/gcloud) are available in your environment.
4947
- IAM Permissions:
@@ -83,34 +81,46 @@ For the latest version, check the [releases page][releases].
8381
<!-- {x-release-please-start-version} -->
8482

8583
<details open>
86-
<summary id="gemini-cli">Gemini CLI</summary>
84+
<summary id="antigravity-cli">Antigravity CLI</summary>
8785

88-
**1. Install the extension:**
86+
87+
You can install skills using the `npx skills` command or manually by copying files.
88+
89+
#### Option A: Install via Skills CLI
90+
91+
Run the following command in your terminal to automatically download and register all skills for Antigravity:
8992

9093
```bash
91-
gemini extensions install https://github.com/gemini-cli-extensions/cloud-sql-postgresql
94+
npx skills add https://github.com/gemini-cli-extensions/cloud-sql-postgresql/tree/0.4.0 -a antigravity -y
9295
```
9396

94-
During the installation, enter your environment vars as described in the [configuration section](#configuration).
97+
**2. Set env vars:**
98+
Set your environment vars as described in the [configuration section](#configuration).
99+
100+
#### Option B: Manual Installation
101+
102+
**1. Clone the Repo:**
103+
104+
```bash
105+
git clone --branch 0.4.0 https://github.com/gemini-cli-extensions/cloud-sql-postgresql.git
106+
```
95107

96-
**2. (Optional) Manage Configuration:**
97-
To view or update your configuration in Gemini CLI:
108+
**2. Install the skills:**
98109

99-
- Terminal: `gemini extensions config cloud-sql-postgresql [setting name] [--scope <scope>]`
100-
- Gemini CLI: `/extensions list`
110+
Choose a location for the skills:
111+
- **Global (all workspaces):** `~/.gemini/antigravity/skills/`
112+
- **Workspace-specific:** `<workspace-root>/.agents/skills/`
101113

102-
**3. Start the agent:**
114+
Copy the skill folders from the cloned repository's `skills/` directory to your chosen location:
103115

104116
```bash
105-
gemini
117+
cp -R cloud-sql-postgresql/skills/* ~/.gemini/antigravity/skills/
106118
```
107119

108-
_(Tip: Run `/extensions list` to verify your configuration and active extensions.)_
120+
**3. Set env vars:**
121+
Set your environment vars as described in the [configuration section](#configuration).
109122

110-
> [!WARNING]
111-
> **Changing Instance & Database Connections**
112-
> Currently, the database connection must be configured before starting the agent and can not be changed during a session.
113-
> To save and resume conversation history in Gemini CLI use command: `/chat save <tag>` and `/chat resume <tag>`.
123+
_(Tip: Antigravity 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.)_
114124

115125
</details>
116126

@@ -184,49 +194,6 @@ _(Tip: Run `codex plugin list` or use the `/plugins` interactive menu to verify
184194

185195
</details>
186196

187-
<details>
188-
<summary id="antigravity">Antigravity</summary>
189-
190-
You can install skills using the `npx skills` command or manually by copying files.
191-
192-
#### Option A: Install via Skills CLI
193-
194-
Run the following command in your terminal to automatically download and register all skills for Antigravity:
195-
196-
```bash
197-
npx skills add https://github.com/gemini-cli-extensions/cloud-sql-postgresql/tree/0.4.0 -a antigravity -y
198-
```
199-
200-
**2. Set env vars:**
201-
Set your environment vars as described in the [configuration section](#configuration).
202-
203-
#### Option B: Manual Installation
204-
205-
**1. Clone the Repo:**
206-
207-
```bash
208-
git clone --branch 0.4.0 https://github.com/gemini-cli-extensions/cloud-sql-postgresql.git
209-
```
210-
211-
**2. Install the skills:**
212-
213-
Choose a location for the skills:
214-
- **Global (all workspaces):** `~/.gemini/antigravity/skills/`
215-
- **Workspace-specific:** `<workspace-root>/.agents/skills/`
216-
217-
Copy the skill folders from the cloned repository's `skills/` directory to your chosen location:
218-
219-
```bash
220-
cp -R cloud-sql-postgresql/skills/* ~/.gemini/antigravity/skills/
221-
```
222-
223-
**3. Set env vars:**
224-
Set your environment vars as described in the [configuration section](#configuration).
225-
226-
_(Tip: Antigravity 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.)_
227-
228-
</details>
229-
230197
<!-- {x-release-please-end} -->
231198

232199
## Usage Examples

0 commit comments

Comments
 (0)