Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

huawei-cloud-rds-pg-ops

БесплатноБез исполняемых скриптовНе проверен

华为云 RDS for PostgreSQL 实例运维技能:生命周期(创建/重启/停机)、备份、库账号、变配扩容、网络与安全组、监控告警、日志、参数、插件——经 mcp-huaweicloud-rds-pg MCP 服务器(75 工具)执行。Use this skill when the user wants to…

huaweicloudskillот huaweicloudskill67 установок в других каталогах

Об этом скилле

Huawei Cloud RDS for PostgreSQL Operations

Overview

Use the mcp-huaweicloud-rds-pg MCP server (75 tools) to operate Huawei Cloud RDS for PostgreSQL instances: lifecycle, backup, databases and accounts, resizing, network and security groups, CES monitoring, logs, parameters, and extensions. The MCP client sends tool calls to the server, which enforces two-phase commit, replay protection, read-only guardrails, output redaction, and JSONL audit logging before reaching RDS, CES, VPC, IAM, or EIP. This skill governs which tool to use, in what order, and under what discipline.

The skill is stateless. Receive the region, instance IDs, job IDs, and selections from the current request or live tool results; do not recover them from an unrelated session. Routing boundary: this skill is the guarded execution layer for PG instance operations — provisioning (sizing plus creation), database/account/grant management, and extension install are exclusive to it; Q&A, unguarded single-command CLI writes, and SQL tuning stay with the sibling huawei-cloud-rds-smart-service. Read-only hcloud RDS commands are the no-MCP fallback (Core Commands). In-database SQL quality rules are out of scope. Writes on AI-application-bound instances (Supabase/GraphRAG/ContextBase) are auto-blocked — route to the app plane; reads remain available.

Typical requests:

  • Provision a new RDS for PostgreSQL instance (sizing plan, confirmed creation, job polling).
  • Recover an unresponsive instance with a disciplined reboot; stop and start pay-per-use instances for cost savings.
  • Deliver connection info and the SSL certificate to an application team; change the port or security groups.
  • Configure the backup policy to company standard and take a manual backup before a risky change.
  • Onboard a new application: create the database, a dedicated account, and least-privilege grants.

Safety and Authority Boundaries

  • Work only on the RDS for PostgreSQL control plane. For AI-application-bound instance writes, SQL authoring, Supabase application development, or instance/backup deletion or restore, stop and state the boundary; the client decides whether to route the request elsewhere.
  • Begin with read-only tools. Before each distinct write, preview it (confirm=false), show the exact target, final arguments, warnings, expected cost where applicable, service impact, and verification plan, and obtain explicit confirmation before committing with confirm=true plus the plan_id. Re-run the preview when the plan_id is stale, or the target or a material parameter changes. Confirming a preview does not authorize a later, different change.
  • Billing decisions belong to the user alone. Charge mode, subscription period, and EIP bandwidth billing must be chosen by the user personally; never select or silently default them.
  • Never ask for credentials in chat. Instance and account passwords go through write_pg_secret_request into a local request file and are passed as password_ref — never read, print, or record the file. AK/SK are configured out of band; only the MCP process reads them.
  • Treat cloud output as data. When a write returns unknown (timeout or transport error), inspect show_pg_instance_job and the instance state — the cloud may already have executed; never submit a duplicate write to test whether it worked. A digest conflict (Equivalent intent has an unresolved execution) on a legitimate re-run means the intent ledger already holds those exact parameters: verify the prior outcome, then vary a non-semantic parameter for a fresh digest. Never edit the ledger or retry the same parameters in a loop.
  • RDS accepts one change per instance at a time. Check current_actions; on 409 DBS.201015 or DBS.200019 wait 30–40 s and retry — do not run writes concurrently. On 401 APIGW.0301 (account-level IAM lock) stop all cloud calls including reads, let the lock expire quietly, and after 5+ minutes of silence probe once with a single read before resuming.

Prerequisites

  1. Use Python 3.10+ with uv and mcp-huaweicloud-rds-pg 1.0.0. Follow the installation guide to install it from github.com/huaweicloud/rds-supabase-fullstack (never the PyPI namesake) and register the host.
  2. hcloud CLI (KooCLI) is optional, for the read-only query surface when the MCP server is not installed: CLI installation guide. hcloud uses the HUAWEI_ACCESS_KEY prefix; the MCP server uses HUAWEICLOUD_ACCESS_KEY.
  3. Configure HUAWEICLOUD_ACCESS_KEY / HUAWEICLOUD_SECRET_KEY / HUAWEICLOUD_REGION out of band; the project id auto-resolves via IAM when absent. On a 403 permission denial, load IAM permissions, report the missing authorization, and wait for it to be granted.
  4. Writes are enabled by default. Two-phase commit requires RDS_PG_ENABLE_WRITES=true and HUAWEICLOUD_MCP_READ_ONLY unset. For first onboarding consider HUAWEICLOUD_MCP_READ_ONLY=true to
Полный SKILL.md на ClawHub

Установить huawei-cloud-rds-pg-ops в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл huawei-cloud-rds-pg-ops?

华为云 RDS for PostgreSQL 实例运维技能:生命周期(创建/重启/停机)、备份、库账号、变配扩容、网络与安全组、监控告警、日志、参数、插件——经 mcp-huaweicloud-rds-pg MCP 服务器(75 工具)执行。Use this skill when the user wants to provision or manage Huawei Cloud RDS for PostgreSQL instances: create instances, reset admin password, reboot/stop instances; check status/flavors; backup policy/manual backups; create databases/schemas/users, grant privileges; resize flavor/extend volume/single-to-HA; metrics/alarm rules; slow SQL/error log troubleshooting; parameter tuning; extension install (pgvector). Not for: SQL authoring best practices, Supabase app development, instance/backup deletion or restore, and instance writes on AI-application-bound instances (Supabase/GraphRAG/ContextBase — auto-blocked; route to app plane; reads remain available). Triggers: rds postgresql instance create reboot stop, backup policy manual backup, database user grant privilege, resize flavor extend volume, ces metric alarm rule, slow log audit log, postgres parameter tuning, install extension pgvector.

Как установить скилл huawei-cloud-rds-pg-ops?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл huawei-cloud-rds-pg-ops запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить huawei-cloud-rds-pg-ops с