aliyun/alibabacloud-aiops-skills/alibabacloud-analyticdb-postgresql-supabase-ops
Claude Code and agent skill by aliyun/alibabacloud-aiops-skills
- community
Checking that the SKILL.md file is still in the repository.
Manage the full lifecycle of ADBPG Supabase projects. Use for listing/querying projects, create, pause/resume, reset password, API Keys, and security IP management. Triggers: "Supabase", "supabase project", "spb-xxx", "ADBPG Supabase"
Install
npx vskill@latest install aliyun/alibabacloud-aiops-skills/alibabacloud-analyticdb-postgresql-supabase-opsSKILL.md
The same SKILL.md was published earlier as aliyun/alibabacloud-aiops-skills/alibabacloud-analyticdb-postgresql-supabase-ops.
ADBPG Supabase Project Management
Manage the full lifecycle of Supabase projects based on AnalyticDB PostgreSQL (ADBPG).
Architecture: ADBPG (AnalyticDB PostgreSQL) + Supabase + VPC + VSwitch
Scope — Alibaba Cloud ADBPG only (not Supabase CLI)
- This skill controls projects provisioned on Alibaba Cloud via GPDB / `aliyun gpdb` APIs.
- Do not use the standalone `supabase` CLI (
supabase login,supabase projects list, etc.) for create/list/pause/resume here — that targets Supabase Cloud or self-hosted stacks, not ADBPG-managed Supabase instances. - All lifecycle and query operations in this skill are `aliyun gpdb …` with `--user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-supabase-ops`.
ProjectId format (spb-)
- `ProjectId` from create/list/get APIs uses the prefix `spb-` plus an alphanumeric suffix (e.g.
spb-2zen7c8752x12328). Use this exact value in `--project-id`. - If the user’s string does not match any instance, run `list-supabase-projects` in the right `--biz-region-id` and match `ProjectName` or the returned `ProjectId`.
Prerequisites
Pre-check: Aliyun CLI >= 3.3.3 requiredRunaliyun versionto verify >= 3.3.3. If not installed or version too low,runcurl -fsSL https://aliyuncli.alicdn.com/setup.sh | bashto install/update,or see references/cli-installation-guide.md for installation instructions.Then [MUST] runaliyun configure set --auto-plugin-install trueto enable automatic plugin installation.Then [MUST] runaliyun plugin updateto ensure that any existing plugins on your local machine are always up-to-date.
[MUST] CLI User-Agent — Every aliyun CLI command invocation must include: --user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-supabase-ops
At the start of the Core Workflow (before any CLI invocation): [MUST] Enable AI-Mode — AI-mode is required for Agent Skill execution. Run the following commands before any CLI invocation:
[MUST] Disable AI-Mode at EVERY exit point — Before delivering the final response for ANY reason, always disable AI-mode first. This applies to ALL exit paths: workflow success, workflow failure, error/exception, user cancellation, session end, or any other scenario where no further CLI commands will be executed. AI-mode is only used for Agent Skill invocation scenarios and MUST NOT remain enabled after the skill stops running.
Credential Verification
Pre-check: Alibaba Cloud Credentials RequiredSecurity Rules:- NEVER read, echo, or print AK/SK values (e.g.,echo $ALIBABA_CLOUD_ACCESS_KEY_IDis FORBIDDEN)- NEVER ask the user to input AK/SK directly in the conversation or command line- NEVER usealiyun configure setwith literal credential values- ONLY usealiyun configure listto check credential status```bashaliyun configure list```Check the output for a valid profile (AK, STS, or OAuth identity).If no valid profile exists, STOP here.1. Obtain credentials from Alibaba Cloud Console2. Configure credentials outside of this session (viaaliyun configurein terminal or environment variables in shell profile)3. Return and re-run afteraliyun configure listshows a valid profile
RAM Permissions
Ensure the current account has the required permissions before executing operations. See references/ram-policies.md for details.
Permission Pre-check: Use ram-permission-diagnose skill to check current user permissions, compare against references/ram-policies.md, and abort with prompt if any permission is missing.
Parameter Confirmation
IMPORTANT: Parameter Confirmation — Before executing any command or API call,ALL user-customizable parameters (e.g., RegionId, ProjectId, instance names, CIDR blocks,passwords, VPC/VSwitch IDs, etc.) MUST be confirmed with the user.For create, the skill supplies recommended defaults (and optional auto-discovery). You must present that full plan and obtain explicit user approval (or replaced values) before runningcreate-supabase-project.
Final execution confirmation (read-only vs mutating)
- No separate final “execute” step — only for read-only information retrieval: `aliyun gpdb list-supabase-projects`, `aliyun gpdb get-supabase-project`, `get-supabase-project-api-keys`, `get-supabase-project-dashboard-account`, and discovery-only calls such as `aliyun vpc describe-vpcs`, `aliyun vpc describe-vswitches`, `aliyun gpdb describe-regions` (same class as list / describe: no resource state change).
- Final user confirmation [MUST] — before the CLI runs, for every mutating operation: create, pause, resume, reset password, modify security IPs. Show what will execute and key parameters (e.g.
project-id, new password hint without logging secret, new whitelist). Obtain explicit approval. - After create, provisioning poll via `get-supabase-project` does not need a new confirmation — the user already approved create; polling is verification only.
CreateSupabaseProject is defined in the official API reference. Full CLI mapping, VPC/VSwitch discovery, name/password rules: references/create-supabase-project-parameters.md.
| Parameter | Required/Optional | Description | Default / recommendation | |
|---|---|---|---|---|
| ProjectId | Required (non-create) | Instance ID from API/list (spb- + suffix) | — | |
| BizRegionId | Optional (create) | Region ID (RegionId in API) | cn-beijing | |
| ProjectName | Required (create) | Project name | Derive from user scenario; user may replace | |
| ZoneId | Required (create) | Availability zone ID | cn-beijing-i | |
| VpcId | Required (create) | VPC ID | User input or from discovery (see Create Project) | |
| VSwitchId | Required (create) | VSwitch ID (must match ZoneId) | User input or recommend max `AvailableIpAddressCount` in zone | |
| AccountPassword | Required (create) / reset | Database password | User input or generate per API rules; user may replace | |
| SecurityIPList | Required (create) / modify | IP whitelist | `127.0.0.1`; user may supply IPs/CIDRs | |
| ProjectSpec | Required (create) | Instance spec | `2C2G` (skill default recommendation; user may choose e.g. 1C1G) | |
| StorageSize | Optional (create) | Storage (GB) | `20` (skill default recommendation) | |
| DiskPerformanceLevel | Optional (create) | PL0 / PL1 | PL0 | |
| PayType / UsedTime / Period | Optional (create) | Billing | `POSTPAY` (后付费) by default; set --period / --used-time only for prepaid/subscription | |
| ClientToken | Optional (create) | Idempotency | Omit unless user retries same create |
Timeout Configuration
Timeout Settings- Default CLI read timeout is often ~60 seconds per HTTP read — usually enough for `create-supabase-project`, because creation is asynchronous: the API accepts the request and returns `ProjectId` quickly; it does not block until the instance is ready.- 3–5 minutes is the typical time for background provisioning to finish — not the duration of the create HTTP response. Use Success Verification (pollget-supabase-projectuntilStatusisrunning) to wait for that phase.- Create success criterion: aftercreate-supabase-projectreturns `ProjectId`, the instance is not ready until `get-supabase-project` reports `Status` = `running` (API uses lowercase) — that state means provisioning succeeded and the project is usable.- If any command hits read timeouts in practice, raise--read-timeoutfor that call (e.g.--read-timeout 120).
Core Workflow
All commands use aliyun gpdb <command> format, must include `--user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-supabase-ops`.
Per [Final execution confirmation](#final-execution-confirmation-read-only-vs-mutating): read-only list / get / describe may run without a final execute prompt; create, pause, resume, reset password, modify IPs require explicit final user confirmation before invocation.
List Projects
- Risk: Low | Read-only — no final execution confirmation
Get Project Details
- Risk: Low | Read-only — no final execution confirmation
Get API Keys
- Risk: Low | Read-only — no final execution confirmation
- Policy: Fulfilling a request to read keys via this official Alibaba Cloud API (with RAM/account access) is not the same as scraping secrets from an unrelated codebase. Decline only when the task is clearly exfiltration from repos or third-party systems; otherwise run `get-supabase-project-api-keys`, return keys minimally (no logging full secrets), and remind the user to rotate if exposed.
Get Dashboard Account
- Risk: Low | Read-only — no final execution confirmation
Create Project
Automated workflow — When user provides intent like "帮我在北京 i 创建 ADBPG Supabase 项目", run these steps:
Step 1: Auto-discover all information (no user input needed yet)
- Region + Zone — Use user-specified values or defaults (
cn-beijing,cn-beijing-i). - ProjectName — Run
scripts/generate-project-name.shto get 1-3 candidates (timestamp-based). - Password — Run
scripts/generate-password.pyto generate a compliant password. - VPC/VSwitch discovery — Run
scripts/discover-vswitch.sh --biz-region-id <region> --zone-id <zone>to get the VSwitch with the most available IPs. - SecurityIPList — Default
127.0.0.1. - Optional flags — Use defaults:
2C2G,20GB,POSTPAY,PL0. - ClientToken — Generate one UUID.
Step 2: Present creation plan (single confirmation)
Display the full parameter table to the user with options:
Step 3: Execute after confirmation
If user selects "1" or presses Enter (confirm), run:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/database/gpdb/alibabacloud-analyticdb-postgresql-supabase-ops/SKILL.md
Popularity
- Repository stars
- 225
- Repository forks
- 28
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 29 Aug 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aliyun/alibabacloud-aiops-skills/alibabacloud-analyticdb-postgresql-supabase-ops)