Command Palette

Search for a command to run...

Назад к скиллам
скилл № 39256

Alibabacloud Rds Postgresql Inspection

Batch health inspection for Alibaba Cloud RDS PostgreSQL instances. Supports single, multiple, or all-instance global scan with configurable time window…

БесплатноЗапускает вложенные скрипты
sdk-teamот sdk-team658 установок в других каталогах

Установить Alibabacloud Rds Postgresql Inspection в Claude Code и Claude Desktop

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

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

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

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

Alibaba Cloud RDS PostgreSQL Instance Inspection Skill

This skill performs batch health inspections of Alibaba Cloud RDS PostgreSQL instances. It supports three modes — single instance, multiple instances, and global batch — with a configurable time window (default 7 days, up to 30 days), and produces standardized HTML inspection reports.

⚡ TL;DR — Run ONE command, do NOT improvise

The ONLY correct way to fulfil any inspection request is to execute scripts/inspect.py. The agent MUST NOT fabricate a markdown summary, MUST NOT chain aliyun rds describe-* calls in the conversation, and MUST NOT write any *.md / *_health_report.md file as the deliverable. The script writes the required HTML files (instances/<id>.html per instance, plus summary.html in global mode) by itself.

# Global / batch / 全部 / 所有 / 全局 (the failed eval scenario):
SKILL_SESSION_ID={session-id} python3 scripts/inspect.py --all --days 7

# Single or multiple instances:
SKILL_SESSION_ID={session-id} python3 scripts/inspect.py -i pgm-xxx[,pgm-yyy] --days 7

Deliverables produced by the script (the eval asserts on these exact paths):

  • outputs/instances/<DBInstanceId>.html — one per instance, 5 sections.
  • outputs/summary.html — only in --all mode, 8 chapters, with health-score ranking sorted ascending and clickable links to each instances/<id>.html.
  • ❌ NEVER write rds_postgresql_health_report.md, health_summary.json, instances.csv or any .md / .json / .csv file into outputs/ as the report.

Usage

You do not need to run any command manually. Simply describe the request in natural language.

Example Prompts

Example 1: Single instance

  • Inspect RDS PostgreSQL instance pgm-bp1xxxxxx

Example 2: Multiple instances with a custom time window

  • Inspect pgm-bp1xxx and pgm-bp1yyy for the past 14 days

Example 3: Global inspection

  • Run a health inspection on all RDS PostgreSQL instances and produce a summary report

Example 4: Limit by region

  • Inspect all RDS PostgreSQL instances in cn-hangzhou and cn-shanghai

What the AI Does Automatically

  1. Recognizes the user intent (single / multiple / global) and extracts the time-window parameters.
  2. Calls rds describe-regions to obtain the list of available regions (filters out ClosedDown).
  3. Concurrently scans every region for RDS PostgreSQL instances (region ID is carried automatically — the user does not need to specify it).
  4. Concurrently retrieves attributes, monitoring, alerts, and slow logs for each target instance.
  5. Emits one HTML report per instance plus a summary HTML report, including a health-score ranking and optimization suggestions.

[MUST] Execution Mode — Always Run the Script, Never Hand-craft CLI

This skill is a one-shot script-driven tool. The agent MUST execute scripts/inspect.py end-to-end and MUST NOT improvise a sequence of aliyun CLI calls in place of the script. The script is the only place that correctly implements Phase 1 (DescribeRegions) → Phase 2 (cross-region DescribeDBInstances) → Phase 3-7 collection + rendering.

Intent → Command mapping (MUST follow exactly)

User intent (any of the trigger keywords) MUST run MUST NOT do
全部 / 所有 / 全局 / 批量 / --all / "all instances" / "global inspection" / "every RDS PostgreSQL" SKILL_SESSION_ID={session-id} python3 scripts/inspect.py --all [--days N] ❌ Calling aliyun rds describe-db-instances directly without iterating regions; ❌ relying on the default profile region only; ❌ skipping describe-regions
One or more instance IDs (pgm-xxx / pgm-yyy) SKILL_SESSION_ID={session-id} python3 scripts/inspect.py -i pgm-xxx[,pgm-yyy] [--days N] ❌ Asking the user for the region; ❌ hard-coding cn-hangzhou
Specific regions (e.g. "inspect all in cn-hangzhou and cn-shanghai") SKILL_SESSION_ID={session-id} python3 scripts/inspect.py --all --regions cn-hangzhou,cn-shanghai ❌ Skipping --regions and manually iterating regions with CLI

[MUST] Hard rules — apply to ALL modes (single / multiple / global)

These rules are NOT only for global mode. The single-instance and multi-instance modes have failed evals for the exact same root cause: the agent stitched a chain of aliyun CLI calls in the conversation, hit a timeout, and produced an empty outputs/ directory with no HTML report. Treat the rules below as universal:

  1. MUST execute python3 scripts/inspect.py exactly once with the appropriate flags. Do NOT replace it with a sequence of aliyun rds describe-* / aliyun cms describe-* calls in the conversation. The script is the only path that produces the required HTML report (5 chapters per instance + summary).
  2. MUST pass --all for 全部 / 所有 / 全局 / 批量 / all / global / every. Without --all the script will refuse to enter global scan mode.
  3. MUST pass -i <id1>[,<id2>...] for specific instance IDs. The
Полный SKILL.md на ClawHub

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

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

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

FAQ

Что делает скилл Alibabacloud Rds Postgresql Inspection?

Batch health inspection for Alibaba Cloud RDS PostgreSQL instances. Supports single, multiple, or all-instance global scan with configurable time window (default 7 days, max 30). Outputs one HTML report per instance plus a summary HTML. Dimensions include instance basics, resource utilization (CPU/memory/disk/IOPS/connections), CloudMonitor alert history, slow log TOP 20, long transactions, table bloat, QPS/TPS, replication delay. Cluster instances auto-detected with per-node metrics. Triggers on RDS inspection, RDS health check, RDS PostgreSQL inspection, Alibaba Cloud RDS inspection, batch or global multi-instance inspection, slow log analysis, space analysis, PostgreSQL inspection, long transaction, table bloat, replication delay. Chinese triggers: "巡检 RDS PostgreSQL"、"RDS PostgreSQL 巡检"、"RDS 健康巡检"、"RDS 健康检查"、"阿里云 RDS 巡检"、"批量巡检"、"全局巡检"、"所有实例巡检"、"实例巡检"、"慢日志分析"、"长事务"、"表膨胀"、"复制延迟"、"健康评分"、"汇总报告"。

Как установить скилл Alibabacloud Rds Postgresql Inspection?

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

Скилл Alibabacloud Rds Postgresql Inspection запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить Alibabacloud Rds Postgresql Inspection с