Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

alibabacloud-ecs-gpu-diagnosis阿里云 ecs GPU 诊断

Agent Skill

alibabacloud-ecs-gpu-diagnosis 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,023

周安装

86

GitHub Stars

公开资料未说明

下载量

709
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:alibabacloud-ecs-gpu-diagnosis(阿里云 ecs GPU 诊断)
来源仓库:https://github.com/sdk-team/alibabacloud-ecs-gpu-diagnosis
安装命令:
openclaw skills install alibabacloud-ecs-gpu-diagnosis
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install alibabacloud-ecs-gpu-diagnosis

简介

专门用于诊断阿里云 ECS GPU 实例的设备状态与驱动问题。

  • 检测 GPU 硬件故障、驱动版本与显存使用情况。
  • 提供修复建议,如重装驱动或更换实例规格。
  • 安装命令:openclaw skills install alibabacloud-ecs-gpu-diagnosis。
  • 涉及硬件级操作时需联系技术支持,避免自行拆解造成损失。

SKILL.md

name
alibabacloud-ecs-gpu-diagnosis
description
>
license
Apache-2.0
compatibility
>
metadata
domain
aiops
owner
ecs-team
contact
ecs-agent@alibaba-inc.com

Usage Instructions

Initiate diagnosis on a specified ECS GPU instance to detect GPU device status and output diagnosis results.

Execution Constraints

  • All steps MUST be executed in order; skipping steps is NOT permitted
  • Each step MUST be verified as successful before proceeding to the next
  • Inform the user of the current step being executed
  • If any step fails, user confirmation MUST be obtained before continuing

Prerequisites

  1. Check Alibaba Cloud CLI Environment

- Execute which aliyun or aliyun --version to check if CLI is installed - If not installed, inform the user that Alibaba Cloud CLI needs to be installed and provide installation guidance from references/cli-installation.md: - macOS: Homebrew installation or manual installation (Intel/Apple Silicon) - Linux: Download installation package for corresponding architecture (x86_64/ARM64) - Windows: Download installation package and configure PATH, or use PowerShell installation - After installation, run aliyun version to confirm version >= 3.0.299 - Confirm CLI is configured with AccessKey: aliyun configure - Permission Reminder: Remind the user that the current RAM user needs the permissions to execute GPU diagnosis from references/ram-policies.md :

  1. Obtain Required Parameters

- Check if INSTANCE_ID is provided (ECS instance ID, format MUST match this regular expression ^i-[a-z0-9]{20}$ ) - Check if REGION_ID is provided (region ID, like cn-shanghai) - If either parameter is missing, ask the user: - "Please provide the ECS instance ID to diagnose (format: i-bp1xxxxx)" - "Please provide the region ID where the instance is located (e.g., cn-shanghai, cn-hangzhou)"

  1. Validate Parameters

- Validate INSTANCE_ID format: Check if INSTANCE_ID matches the regex pattern ^i-[a-z0-9]{20}$ - If validation fails, inform the user: "Invalid instance ID format. Instance ID must match the pattern ^i-[a-z0-9]{20}$" - Validate REGION_ID: Query available regions using DescribeRegions API to verify the region is valid:

     aliyun ecs DescribeRegions --user-agent AlibabaCloud-Agent-Skills

- Extract the Regions.Region[].RegionId list from the response - Check if the provided REGION_ID exists in the list - If region is invalid, inform the user: "Invalid region ID. Please provide a valid region ID from the available regions list."

  1. Check Instance Operating System Type

- Before creating a diagnosis report, query instance information to confirm the OS type:

     aliyun ecs DescribeInstances  --user-agent AlibabaCloud-Agent-Skills --RegionId ${REGION_ID} --InstanceIds '["${INSTANCE_ID}"]'

- Extract the Instances.Instance[0].OSType field from the response - If OSType is "linux": Continue with the subsequent diagnosis process - If OSType is not "linux": Notify the user and terminate the process:

     The current instance ${INSTANCE_ID} has operating system ${OSType}.
     This Skill currently only supports Linux operating system instances, other operating systems are not supported.
     No further diagnosis process is needed.

Execute Diagnosis

  1. Create Diagnostic Report

Use the following command to initiate GPU diagnosis:

   aliyun ecs CreateDiagnosticReport \
     --user-agent AlibabaCloud-Agent-Skills \
     --RegionId '${REGION_ID}' \
     --ResourceId '${INSTANCE_ID}' \
     --MetricSetId 'dms-instanceGPUdevice' \
     --output cols=ReportId

Extract ReportId from the output and save it for subsequent queries.

  1. Poll Diagnostic Results

Use the following command to query the diagnosis report status:

   aliyun ecs DescribeDiagnosticReports \
     --user-agent AlibabaCloud-Agent-Skills \
     --RegionId '${REGION_ID}' \
     --ReportIds.1 '${REPORT_ID}'

Handle based on the returned Status field:

- Status = "Finished": Diagnosis complete, parse the Issues field content - If Issues is empty or does not exist, report "GPU diagnosis normal, no anomalies detected" - If Issues contains content, extract each Issue's IssueId, MetricId, Severity, and MetricCategory, and output diagnosis results and recommended actions according to the IssueId mapping table below - Status = "InProgress": Diagnosis in progress, wait 5 seconds before querying again - Status = "Failed": Diagnosis failed, report the failure status to the user

Set timeout mechanism: poll up to 60 times (approximately 5 minutes), if still not complete, prompt the user to query manually later.

Output Description

After diagnosis is complete, the output should include:

  • Instance ID and region
  • Diagnostic report ID
  • GPU device status summary
  • Discovered Issues (if any)
  • Recommended remediation measures (inferred from Issues content)

Diagnostic Result Analysis

The Issues returned in the diagnosis report is an array, where each Issue contains IssueId, MetricId, Severity, and MetricCategory fields. Output diagnosis description and handling measures according to the IssueId mapping table below:

IssueIdDiagnostic DescriptionException Handling Measures
GuestOS.GPU.MemoryEccCheckErrorDetect GPU Double Bit Error conditionsPrompt user to restart instance based on error count
GuestOS.GPU.InfoRomCorruptedDetect GPU infoROM firmware informationO&M notification will be sent to user
GuestOS.GPU.DriverVersionMismatchDetect driver anomalies caused by Kernel upgradesUser needs to uninstall and reinstall driver
GuestOS.GPU.FabricmanagerCheckDetect Fabricmanager component running statusUser needs to install or start Fabricmanager component service
GuestOS.GPU.PowerCableErrorDetect GPU power cable and power supply statusO&M notification will be sent to user
GuestOS.GPU.DeviceLostDetect GPU card loss conditionsO&M notification will be sent to user
GuestOS.GPU.DriverNotInstalledDetect GPU driver installation statusUser needs to install driver
GuestOS.GPU.NVXidErrorDetect GPU Xid error anomaliesPrompt user to restart instance based on different XID errors
GuestOS.GPU.RmInitAdapterErrorDetect GPU card initialization anomalies, manifested as driver card lossO&M notification will be sent to user
GuestOS.GPU.NVLinkErrorCheck GPU NVlink statusO&M notification will be sent to user

Output Format Example:

Diagnosis Complete! Instance: i-bp1xxxxxxxxx (cn-shanghai)
Report ID: dr-xxxxxxxx

1 anomaly found:

[1] GuestOS.GPU.DriverNotInstalled
    Severity: Warn
    Diagnostic Description: Detect GPU driver installation status
    Handling Measures: User needs to install driver

Diagnostic Recommendations:
- Please install the corresponding version of NVIDIA GPU driver
- Installation Guide: https://help.aliyun.com/document_detail/108460.html

Special Reminder: When the exception handling measure is "O&M notification will be sent to user", append the following reminder to the output:

⚠️ Important Reminder:
- Alibaba Cloud will send you O&M event notifications
- Please go to the ECS console to view event details
- Pay attention to whether you receive O&M events and handle them as required

If Issues is an empty array or does not exist, output:

Diagnosis Complete! Instance: i-bp1xxxxxxxxx (cn-shanghai)
Report ID: dr-xxxxxxxx

GPU diagnosis normal, no anomalies detected.

Edge Case Handling

  • Instance does not exist: CLI will return an error, capture and inform the user that the instance ID may be incorrect
  • Region error: Prompt user to confirm the region where the instance is located
  • Non-GPU specification: If the instance is not a GPU specification, diagnosis may have no results, prompt user to confirm instance type
  • Insufficient permissions: If permission error is returned, prompt user to check AccessKey permissions
  • Network timeout: Set command execution timeout (recommended 30 seconds), retry after timeout or prompt user to check network

Example Workflow

User: Help me diagnose this GPU server i-bp1xxxxxxxxx

Agent:
1. Check CLI is installed
2. Ask for region (user did not provide)
3. User replies: cn-shanghai
4. Check instance OS type is Linux
5. Execute CreateDiagnosticReport, get ReportId: dr-xxxxxxxx
6. Poll DescribeDiagnosticReports
7. Status=InProgress, wait 5 seconds...
8. Query again, Status=Finished
9. Output Issues content to user

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

89.98%
按下载量换算638

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills