Command Palette

Search for a command to run...

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

alibabacloud-ebs-disk-events

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

Alibaba Cloud EBS Disk Risk Events Skill. Query and analyze cloud disk risk events via the DescribeEvents API, supporting filtering by disk, event name…

aliyunот aliyun★ 303 звезды на GitHub

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

Alibaba Cloud EBS Disk Risk Events Analysis

This skill is used to query and analyze Alibaba Cloud Elastic Block Storage (EBS) disk risk events. Based on the EBS DescribeEvents API, it supports filtering and paginated querying by disk, event name, event level, event status, and time range.

Scenario Description

Cloud disk events reported by CloudLens for EBS help users discover and handle the following issues in a timely manner:

  • NoSnapshot (Data Protection): Long-term absence of snapshots poses a risk of data loss.
  • CostOptimizationNeeded: ESSD AutoPL disk provisioned performance does not match actual workload.
  • DiskIOHang (IO Hang): Disk IO latency is too high, causing system instability or downtime.
  • DiskSpecNotMatchedWithInstance: The total disk specification exceeds the instance specification limit.
  • IOPS/BPS Limit Reached: Instance or disk IOPS/BPS reaches the instance or disk specification limit.
  • DiskIONo4kAligned (Non-4K Aligned IO): May affect cloud disk IO performance.
  • BurstIOTriggered: Burst IO occurs on the disk and may incur burst performance costs.

Architecture: EBS CloudLens / Block Storage Data Insights + DescribeEvents API + Cloud Disk Resources.

Supported Event Types (EventType):

  • Notification: Usage-triggered, the event can automatically recover immediately after being reported.
  • Alert: Usage-triggered, manual recovery operations are required.
  • SystemException: Underlying-triggered, severe events affecting user usage.

Supported Event Levels (EventLevel):

  • INFO: Notification
  • WARN: Warning
  • CRITICAL: Critical

Event Statuses (Status):

  • WillExecute: Pending
  • Executing: In Progress
  • Executed: Processed
  • Ignore: Ignored
  • Expired: Expired
  • Deleted: Deleted

Installation

Pre-check: Aliyun CLI >= 3.3.3

Run aliyun version to confirm the version is >= 3.3.3. If it is not installed or the version is too low, refer to references/cli-installation-guide.md for platform-specific installation methods (Homebrew for macOS, binary package download for Linux/Windows).

Pre-check: Install/Update EBS Plugin

[MUST] Run aliyun configure set --auto-plugin-install true to enable automatic plugin installation. [MUST] Run aliyun plugin install --names aliyun-cli-ebs to install the Block Storage plugin. [MUST] Run aliyun plugin update to keep the plugin up to date.


Authentication

Pre-check: Alibaba Cloud credentials required

Security Rules:

  • NEVER read, echo, or print AK/SK values (e.g., echo $ALIBABA_CLOUD_ACCESS_KEY_ID is FORBIDDEN)
  • NEVER ask the user to input AK/SK directly in the conversation or command line
  • NEVER use aliyun configure set with literal credential values
  • ONLY use aliyun configure list to check credential status
aliyun configure list

Check whether a valid profile exists in the output (AK, STS, or OAuth identity).

If no valid profile exists, STOP here.

  1. Obtain credentials from the Alibaba Cloud RAM Console
  2. Complete configuration outside of this session (via aliyun configure in the terminal or environment variables in the shell profile)
  3. Resume only after aliyun configure list shows a valid profile

RAM Policy

This skill requires the following Alibaba Cloud RAM permissions. See references/ram-policies.md for the complete permission policy.

Required API Permission:

  • ebs:DescribeEvents - Query cloud disk risk events

[MUST] Permission Failure Handling: If any command or API call fails due to permission errors, follow this process:

  1. Read references/ram-policies.md to get the full list of permissions required by this skill
  2. Use the ram-permission-diagnose skill to guide the user through requesting the necessary permissions
  3. Pause and wait until the user confirms that the required permissions have been granted before continuing

Observability

[MUST] Session Tracking — All aliyun CLI commands in this skill MUST include a --user-agent header for traceability. The legacy aliyun configure ai-mode mechanism is deprecated and MUST NOT be used.

User-Agent Template

AlibabaCloud-Agent-Skills/alibabacloud-ebs-disk-events/{session-id}
Placeholder Description
{session-id} 32-char lowercase hex string, generated once per skill invocation (see rules below)

Session-ID Generation Rule

  • Generate exactly one session-id per skill invocation, at the start of the Core Workflow (before the first CLI command).
  • Format: 32-char lowercase hex string (e.g., a1b2c3d4e5f67890a1b2c3d4e5f67890)
  • Reuse: If the environment variable SKILL_SESSION_ID is already set, reuse that value instead of generating a new one.
  • Persistence: Do NOT regenerate session-id between steps of the same invocation.
Полный SKILL.md на GitHub

Установить alibabacloud-ebs-disk-events в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

references/acceptance-criteria.mdreferences/cli-installation-guide.mdreferences/ram-policies.mdreferences/related-commands.mdreferences/verification-method.md

FAQ

Что делает скилл alibabacloud-ebs-disk-events?

Alibaba Cloud EBS Disk Risk Events Skill. Query and analyze cloud disk risk events via the DescribeEvents API, supporting filtering by disk, event name, level, status, and time range. Triggers: "EBS events", "disk events", "cloud disk risk events", "DescribeEvents", "EBS disk events", "IOHang event", "NoSnapshot event", "cost optimization event", "query disk events", "filtering disk events".

Как установить скилл alibabacloud-ebs-disk-events?

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

Скилл alibabacloud-ebs-disk-events запускает скрипты?

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

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

Сравнить alibabacloud-ebs-disk-events с