Xpersona
A

Alibabacloud Analyticdb Postgresql Supabase Ops

CLAWHUB · Unverified

Manage the full lifecycle of ADBPG Supabase projects. Use for listing/querying projects, create, pause/resume, reset password, API Keys, and security IP mana...

62
Rank
84
Safety
989
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 989 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: medium.

clawhub skill install s173swjet2yrebzqrp6hjkvmy583mxef:alibabacloud-analyticdb-postgresql-supabase-ops
  1. Install using `clawhub skill install s173swjet2yrebzqrp6hjkvmy583mxef:alibabacloud-analyticdb-postgresql-supabase-ops` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/sdk-team/alibabacloud-analyticdb-postgresql-supabase-ops before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sdk-team-alibabacloud-analyticdb-postgresql-supabase-op/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

114,441 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: alibabacloud-analyticdb-postgresql-supabase-ops
description: |
  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"
---

# 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 required**
> Run `aliyun version` to verify >= 3.3.3. If not installed or version too low,
> run `curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash` to install/update,
> or see [references/cli-installation-guide.md](references/cli-installation-guide.md) for installation instructions.
> Then **[MUST]** run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation.
> Then **[MUST]** run `aliyun plugin update` to 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:
```bash
aliyun configure ai-mode enable
aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-supabase-ops"
```
**[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 enabl

_meta.json

{
  "ownerId": "kn74p5w8ywv6prh40g0s82gmqh83nw54",
  "slug": "alibabacloud-analyticdb-postgresql-supabase-ops",
  "version": "0.0.2",
  "publishedAt": 1777432565132
}

references/acceptance-criteria.md

# Acceptance Criteria: ADBPG Supabase Management

**Scenario**: ADBPG Supabase Project Management
**Purpose**: Skill testing acceptance criteria

## Table of Contents

- [Correct CLI Command Patterns](#correct-cli-command-patterns)
  - [1. Product](#1-product--verify-product-name-exists)
  - [2. Command](#2-command--verify-action-exists-under-the-product)
  - [3. Parameters](#3-parameters--verify-each-parameter-name-exists)
  - [4. User-Agent](#4-user-agent--every-command-must-include)
  - [5. Complete Command Examples](#5-complete-command-examples)
- [Security Patterns](#security-patterns)
  - [1. Credential Handling](#1-credential-handling)
  - [2. Password Requirements](#2-password-requirements)
  - [3. Security IP List](#3-security-ip-list)
- [User confirmation](#user-confirmation)

---

## User confirmation

Per the main skill ([SKILL.md](../SKILL.md)):

- **No final “execute” confirmation** for read-only **list / get / describe** (e.g. `list-supabase-projects`, `get-supabase-project*`, `vpc describe-vpcs`, `vpc describe-vswitches`, `gpdb describe-regions`).
- **Explicit final user confirmation** before CLI for **create**, **pause**, **resume**, **reset-supabase-project-password**, **modify-supabase-project-security-ips**.

---

# Correct CLI Command Patterns

## 1. Product — verify product name exists

#### ✅ CORRECT
```bash
aliyun gpdb ...
```

#### ❌ INCORRECT
```bash
aliyun GPDB ...        # Error: product name must be lowercase
aliyun adbpg ...       # Error: product name is gpdb, not adbpg
```

## 2. Command — verify action exists under the product

#### ✅ CORRECT (Plugin Mode - lowercase with hyphens)
```bash
aliyun gpdb list-supabase-projects
aliyun gpdb get-supabase-project
aliyun gpdb create-supabase-project
aliyun gpdb pause-supabase-project
aliyun gpdb resume-supabase-project
aliyun gpdb reset-supabase-project-password
aliyun gpdb modify-supabase-project-security-ips
aliyun gpdb get-supabase-project-api-keys
aliyun gpdb get-supabase-project-dashboard-account
```

#### ❌ INCORRECT (Traditional API Mode)
```bash
aliyun gpdb ListSupabaseProjects       # Error: use list-supabase-projects
aliyun gpdb GetSupabaseProject         # Error: use get-supabase-project
aliyun gpdb CreateSupabaseProject      # Error: use create-supabase-project
```

## 3. Parameters — verify each parameter name exists

#### ✅ CORRECT (Plugin Mode - lowercase with hyphens)
```bash
--project-id spb-xxxxx
--biz-region-id cn-beijing
--project-name my_project
--zone-id cn-beijing-i
--account-password 'MyPass123!'
--security-ip-list "127.0.0.1"
--vpc-id vpc-xxxxx
--vswitch-id vsw-xxxxx
--project-spec 2C2G
--max-results 20
--user-agent AlibabaCloud-Agent-Skills
```

#### ❌ INCORRECT (Traditional API Mode)
```bash
--ProjectId spb-xxxxx        # Error: use --project-id
--RegionId cn-beijing       # Error: use --biz-region-id or --region
--ProjectName my_project     # Error: use --project-name
--ZoneId cn-beijing-i       # Error: use --zone-id
--AccountPassword 'xxx'    

references/cli-installation-guide.md

# Aliyun CLI Installation & Configuration Guide

Complete guide for installing and configuring Aliyun CLI.

## Table of Contents

- [Installation](#installation)
  - [macOS](#macos)
  - [Linux](#linux)
  - [Windows](#windows)
- [Configuration](#configuration)
  - [Quick Start](#quick-start)
  - [Environment Variables](#environment-variables)
  - [Managing Multiple Profiles](#managing-multiple-profiles)
- [Verification](#verification)
- [Troubleshooting](#troubleshooting)
- [References](#references)

> **Aliyun CLI 3.3.3+**: Supports installing and using all published Alibaba Cloud product plugins. Make sure to upgrade to 3.3.3 or later for full plugin ecosystem coverage.

## Installation

### macOS

**Using Homebrew (Recommended)**
```bash
brew install aliyun-cli
# Upgrade to latest
brew upgrade aliyun-cli

# Verify version (>= 3.3.3)
aliyun version
```

**Using Binary**
```bash
# Download
wget https://aliyuncli.alicdn.com/aliyun-cli-macosx-latest-amd64.tgz

# Extract
tar -xzf aliyun-cli-macosx-latest-amd64.tgz

# Move to PATH
sudo mv aliyun /usr/local/bin/

# Verify
aliyun version
```

### Linux

**Debian/Ubuntu**
```bash
# Download
wget https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-amd64.tgz

# Extract and install
tar -xzf aliyun-cli-linux-latest-amd64.tgz
sudo mv aliyun /usr/local/bin/

# Verify
aliyun version
```

**CentOS/RHEL**
```bash
# Download
wget https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-amd64.tgz

# Extract and install
tar -xzf aliyun-cli-linux-latest-amd64.tgz
sudo mv aliyun /usr/local/bin/

# Verify
aliyun version
```

**ARM64 Architecture**
```bash
# Download ARM64 version
wget https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-arm64.tgz

# Extract and install
tar -xzf aliyun-cli-linux-latest-arm64.tgz
sudo mv aliyun /usr/local/bin/
```

### Windows

**Using Binary**
1. Download from: https://aliyuncli.alicdn.com/aliyun-cli-windows-latest-amd64.zip
2. Extract the ZIP file
3. Add the directory to your PATH environment variable
4. Open new Command Prompt or PowerShell
5. Verify: `aliyun version`

**Using PowerShell**
```powershell
# Download
Invoke-WebRequest -Uri "https://aliyuncli.alicdn.com/aliyun-cli-windows-latest-amd64.zip" -OutFile "aliyun-cli.zip"

# Extract
Expand-Archive -Path aliyun-cli.zip -DestinationPath C:\aliyun-cli

# Add to PATH (requires admin privileges)
$env:Path += ";C:\aliyun-cli"
[Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)

# Verify
aliyun version
```

## Configuration

### Quick Start

```bash
aliyun configure set \
  --mode AK \
  --access-key-id <your-access-key-id> \
  --access-key-secret <your-access-key-secret> \
  --region cn-beijing
```

All `aliyun configure` commands support non-interactive flags, which is the recommended approach —
it works in scripts, CI/CD pipelines, and agent-driven automation without hanging on stdin prompts.

**Where to Get Access Keys**

1. Log in to Aliyun Console: https://ram.console.aliyun.com/
2.

references/create-supabase-project-parameters.md

# CreateSupabaseProject — parameters & defaults

Official API: [CreateSupabaseProject](https://help.aliyun.com/zh/analyticdb/analyticdb-for-postgresql/developer-reference/api-gpdb-2016-05-03-createsupabaseproject) (ADBPG / GPDB).

CLI command: `aliyun gpdb create-supabase-project` (plugin mode). Every invocation must include `--user-agent AlibabaCloud-Agent-Skills/alibabacloud-analyticdb-postgresql-supabase-ops`.

**Rule**: The skill proposes **defaults** in the table below. The agent **must** show the user a filled-in plan (or short list of options) and obtain **explicit confirmation** or replacement values before calling create.

**Global policy** (see main [SKILL.md](../SKILL.md) **Final execution confirmation**): only **list / get / describe** (read-only) skip a final execute prompt; **create** and all other mutating GPDB operations require **final user confirmation** before the CLI runs.

## Parameter matrix (API → CLI)

| API field | CLI flag | Required | Default / recommendation | User may override |
|-----------|----------|----------|---------------------------|-------------------|
| RegionId | `--biz-region-id` | No | `cn-beijing` (skill default) | Yes |
| ProjectName | `--project-name` | Yes | Derive from scenario (see below) | Yes |
| ZoneId | `--zone-id` | Yes | `cn-beijing-i` (skill default) | Yes |
| AccountPassword | `--account-password` | Yes | Generate if user omits (see below) | Yes |
| SecurityIPList | `--security-ip-list` | Yes | `127.0.0.1` (no external access until changed) | Yes |
| VpcId | `--vpc-id` | Yes | From discovery if omitted (see below) | Yes |
| VSwitchId | `--vswitch-id` | Yes | From discovery if omitted (see below) | Yes |
| ProjectSpec | `--project-spec` | Yes | **`2C2G`** (skill default recommendation; API doc minimum default is `1C1G`) | Yes |
| StorageSize | `--storage-size` | No | **`20`** (GB, skill default recommendation; API doc default is `1`) | Yes |
| DiskPerformanceLevel | `--disk-performance-level` | No | `PL0` | Yes (`PL1`) |
| PayType | `--pay-type` | No | **`POSTPAY`** (后付费, skill default recommendation) | Yes |
| UsedTime | `--used-time` | No | Omit unless required by chosen PayType | Yes |
| Period | `--period` | No | Omit unless required by chosen PayType | Yes |
| ClientToken | `--client-token` | No | **Skill**: generate **one** UUID (or stable string) **before** first create; **reuse** on safe create retries; see [Async create retries](#async-create-retries-skill) | Yes |

## ProjectName from scenario

1. Take the user’s intent (e.g. “user auth production”, “demo app”).
2. Normalize to API rules: length 1–128; only `[A-Za-z0-9_-]`; **must start with** `[A-Za-z_]`.
3. Replace spaces with `_`, remove invalid characters, collapse repeats.
4. Examples: `User Auth Prod` → `user_auth_prod`; `demo-app` → `demo_app` or keep `demo-app` if valid.
5. Offer **1–2** candidates; user confirms or supplies another name.

## AccountPassword when user does not provide one

Per API: length **8–32**; at least 

Sponsored

Ads related to Alibabacloud Analyticdb Postgresql Supabase Ops and adjacent AI workflows.