From 1979e15c12ec812b9ae378cc08ef4447fc11ca3e Mon Sep 17 00:00:00 2001 From: Haoyu Wang Date: Fri, 31 Jul 2026 22:24:22 -0400 Subject: [PATCH 1/4] feat(plugin): support open plugin --- .claude-plugin/plugin.json | 46 +------------------------------------- README.md | 15 +++++++++++++ plugin.json | 18 +++++++++++++++ release-please-config.json | 5 +++++ 4 files changed, 39 insertions(+), 45 deletions(-) create mode 100644 plugin.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 0cc4bbd..590f4c4 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -9,49 +9,5 @@ "homepage": "https://cloud.google.com/sql", "license": "Apache-2.0", "repository": "https://github.com/gemini-cli-extensions/cloud-sql-postgresql", - "skills": "./skills/", - "userConfig": { - "cloud_sql_postgres_project": { - "title": "Project ID", - "description": "ID of the Google Cloud project", - "type": "string", - "sensitive": false - }, - "cloud_sql_postgres_region": { - "title": "Region", - "description": "Region of the Cloud SQL instance", - "type": "string", - "sensitive": false - }, - "cloud_sql_postgres_instance": { - "title": "Instance Name", - "description": "Name of the Cloud SQL instance", - "type": "string", - "sensitive": false - }, - "cloud_sql_postgres_database": { - "title": "Database Name", - "description": "Name of the database", - "type": "string", - "sensitive": false - }, - "cloud_sql_postgres_user": { - "title": "Database User", - "description": "(Optional) Username of the database user (Default: IAM user)", - "type": "string", - "sensitive": false - }, - "cloud_sql_postgres_password": { - "title": "Database Password", - "description": "(Optional) Password of the database user (Default: IAM user)", - "type": "string", - "sensitive": false - }, - "cloud_sql_postgres_ip_type": { - "title": "IP Type", - "description": "(Optional) Type of the IP address: PUBLIC, PRIVATE, or PSC (Default: Public)", - "type": "string", - "sensitive": false - } - } + "skills": "./skills/" } diff --git a/README.md b/README.md index 1ebd5a6..47886d5 100644 --- a/README.md +++ b/README.md @@ -202,6 +202,21 @@ For detailed info check out the [Skills npm package](https://www.npmjs.com/packa **2. Set env vars:** Set your environment vars as described in the [configuration section](#configuration). +## Installing using [open agent plugins tool](https://github.com/vercel-labs/plugins) + +This repository is a valid [Agent Plugins](https://github.com/agentplugins/agent-plugins-spec) plugin, so you can install it into any supported agent with the `npx plugins` command. + +Run the following command in your terminal to automatically detect your installed agents and register the plugin: + +```bash +npx plugins add gemini-cli-extensions/cloud-sql-postgresql +``` + +For detailed info check out the [Plugins npm package](https://www.npmjs.com/package/plugins). + +**2. Set env vars:** +Set your environment vars as described in the [configuration section](#configuration). + ## Usage Examples diff --git a/plugin.json b/plugin.json new file mode 100644 index 0000000..9b3abc8 --- /dev/null +++ b/plugin.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", + "name": "cloud-sql-postgresql", + "version": "0.4.0", + "description": "Create, connect, and interact with a Cloud SQL for PostgreSQL database and data.", + "author": { + "name": "Google LLC", + "email": "data-cloud-ai-integrations@google.com" + }, + "homepage": "https://cloud.google.com/sql", + "repository": "https://github.com/gemini-cli-extensions/cloud-sql-postgresql", + "license": "Apache-2.0", + "keywords": [ + "cloud-sql", + "postgresql", + "database" + ] +} diff --git a/release-please-config.json b/release-please-config.json index 34dc07b..a9ee30e 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -43,6 +43,11 @@ "type": "json", "path": ".claude-plugin/plugin.json", "jsonpath": "$.version" + }, + { + "type": "json", + "path": "plugin.json", + "jsonpath": "$.version" } ] } From 5600cbb4f7a86ca670ff2686168d852b8eea69f1 Mon Sep 17 00:00:00 2001 From: Haoyu Wang Date: Mon, 3 Aug 2026 09:08:14 -0400 Subject: [PATCH 2/4] update TOC --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 47886d5..5b3a6b3 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ This repository provides a set of agent skills to interact with [Cloud SQL for P - [Antigravity](#antigravity) - [Claude Code](#claude-code) - [Codex](#codex) +- [Installing using open agent skills tool](#installing-using-open-agent-skills-tool) +- [Installing using open agent plugins tool](#installing-using-open-agent-plugins-tool) - [Usage Examples](#usage-examples) - [Supported Skills](#supported-skills) - [Additional Agent Skills](#additional-agent-skills) From 86b3242259e04ad786794d8b6ad4aebd1b7b5dc3 Mon Sep 17 00:00:00 2001 From: Haoyu Wang Date: Mon, 3 Aug 2026 09:12:52 -0400 Subject: [PATCH 3/4] fix links --- .lycheeignore | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.lycheeignore b/.lycheeignore index c3fe010..f97cd63 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -1,2 +1,3 @@ https://github.com/gemini-cli-extensions/cloud-sql-postgresql/compare/ https://www.npmjs.com/package/skills +https://www.npmjs.com/package/plugins diff --git a/README.md b/README.md index 5b3a6b3..202723b 100644 --- a/README.md +++ b/README.md @@ -204,7 +204,7 @@ For detailed info check out the [Skills npm package](https://www.npmjs.com/packa **2. Set env vars:** Set your environment vars as described in the [configuration section](#configuration). -## Installing using [open agent plugins tool](https://github.com/vercel-labs/plugins) +## Installing using [open agent plugins tool](https://www.npmjs.com/package/plugins) This repository is a valid [Agent Plugins](https://github.com/agentplugins/agent-plugins-spec) plugin, so you can install it into any supported agent with the `npx plugins` command. From 6739202be4b0ec3214937e64eee48d0c479e487c Mon Sep 17 00:00:00 2001 From: Haoyu Wang Date: Mon, 3 Aug 2026 12:39:41 -0400 Subject: [PATCH 4/4] update readme --- .lycheeignore | 2 +- README.md | 16 +++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.lycheeignore b/.lycheeignore index f97cd63..e867c96 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -1,3 +1,3 @@ https://github.com/gemini-cli-extensions/cloud-sql-postgresql/compare/ https://www.npmjs.com/package/skills -https://www.npmjs.com/package/plugins +https://agent-plugins.org/compatible-clients diff --git a/README.md b/README.md index 202723b..2aea296 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ This repository provides a set of agent skills to interact with [Cloud SQL for P - [Claude Code](#claude-code) - [Codex](#codex) - [Installing using open agent skills tool](#installing-using-open-agent-skills-tool) -- [Installing using open agent plugins tool](#installing-using-open-agent-plugins-tool) +- [Installing via a compatible Agent Plugins client](#installing-via-a-compatible-agent-plugins-client) - [Usage Examples](#usage-examples) - [Supported Skills](#supported-skills) - [Additional Agent Skills](#additional-agent-skills) @@ -204,19 +204,17 @@ For detailed info check out the [Skills npm package](https://www.npmjs.com/packa **2. Set env vars:** Set your environment vars as described in the [configuration section](#configuration). -## Installing using [open agent plugins tool](https://www.npmjs.com/package/plugins) +## Installing via a compatible Agent Plugins client -This repository is a valid [Agent Plugins](https://github.com/agentplugins/agent-plugins-spec) plugin, so you can install it into any supported agent with the `npx plugins` command. +This repository is a valid [Agent Plugins](https://github.com/agentplugins/agent-plugins-spec) (v1) plugin. Any [Agent Plugins–compatible client](https://agent-plugins.org/compatible-clients) can install it directly using its own built-in plugin command — no extra tooling required — by pointing at this repository: -Run the following command in your terminal to automatically detect your installed agents and register the plugin: - -```bash -npx plugins add gemini-cli-extensions/cloud-sql-postgresql +``` +https://github.com/gemini-cli-extensions/cloud-sql-postgresql ``` -For detailed info check out the [Plugins npm package](https://www.npmjs.com/package/plugins). +Beyond harnesses covered by the native install above, compatible clients include VS Code, Cursor, GitHub Copilot, and Kiro. See your agent's documentation for its exact install command. -**2. Set env vars:** +**Set env vars:** Set your environment vars as described in the [configuration section](#configuration).