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★ 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: NotificationWARN: WarningCRITICAL: Critical
Event Statuses (Status):
WillExecute: PendingExecuting: In ProgressExecuted: ProcessedIgnore: IgnoredExpired: ExpiredDeleted: Deleted
Installation
Pre-check: Aliyun CLI >= 3.3.3
Run
aliyun versionto confirm the version is >= 3.3.3. If it is not installed or the version is too low, refer toreferences/cli-installation-guide.mdfor 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 trueto enable automatic plugin installation. [MUST] Runaliyun plugin install --names aliyun-cli-ebsto install the Block Storage plugin. [MUST] Runaliyun plugin updateto 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_IDis FORBIDDEN)- NEVER ask the user to input AK/SK directly in the conversation or command line
- NEVER use
aliyun configure setwith literal credential values- ONLY use
aliyun configure listto check credential statusaliyun configure listCheck whether a valid profile exists in the output (AK, STS, or OAuth identity).
If no valid profile exists, STOP here.
- Obtain credentials from the Alibaba Cloud RAM Console
- Complete configuration outside of this session (via
aliyun configurein the terminal or environment variables in the shell profile)- Resume only after
aliyun configure listshows 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:
- Read
references/ram-policies.mdto get the full list of permissions required by this skill- Use the
ram-permission-diagnoseskill to guide the user through requesting the necessary permissions- Pause and wait until the user confirms that the required permissions have been granted before continuing
Observability
[MUST] Session Tracking — All
aliyunCLI commands in this skill MUST include a--user-agentheader for traceability. The legacyaliyun configure ai-modemechanism 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_IDis already set, reuse that value instead of generating a new one. - Persistence: Do NOT regenerate session-id between steps of the same invocation.
Установить alibabacloud-ebs-disk-events в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic