Troubleshoot an Alibaba Cloud ECS Linux OS. Use when a user needs to diagnose a specified ECS Linux instance, such as instance stuck in Starting, boot stuck, SSH/VNC/Workbench login failure, network issues, disk/FS issues, performance anomalies, suspected mining or hidden processes, crash/hang, clock drift, or configuration not taking effect.
This skill applies only to Linux GuestOS on Alibaba Cloud ECS and diagnoses abnormal issues on the Alibaba Cloud ECS Linux instance specified by the user (the target instance). The agent may run on the target instance or another machine, and uses the aliyun CLI to remotely diagnose and collect data from the target ECS instance.
When to Use This Skill
The troubleshooting target specified by the user is an Alibaba Cloud ECS Linux instance.
The user's description involves abnormal issues such as mismatches between startup/running status and OS state, remote login failures, network connectivity failures, disk expansion/mount issues, performance anomalies, crashes or hangs, clock drift, or configurations not taking effect.
Not applicable: non-Alibaba Cloud ECS, non-Linux GuestOS, other clouds or physical machines; purely control-plane, billing, or API-side issues with no GuestOS involvement.
Principles and Requirements
Troubleshooting target = the Alibaba Cloud ECS Linux instance specified by the user: all checks and conclusions must target that one machine. Commands and paths in references/ are written for the in-instance environment.
Use the aliyun CLI for remote diagnosis and data collection: except for the steps in references/utils/guestos-pe-prep.md, all other steps may only use the subcommands listed in references/aliyun-cli-cheatsheet.md. Do not call subcommands that are not listed there.
Clarify the problem before investigating: strictly follow the troubleshooting workflow. First narrow the user's description to a phenomenon domain, then follow the corresponding troubleshooting document. Do not skip phases or reorder them, and do not draw a conclusion or stop the workflow early when the evidence does not uniquely point to a single root cause.
Prefer the commands described in the references/<slug>.md troubleshooting document. Do not blindly guess commands on your own.
External reference material: when a troubleshooting document contains a URL, such as an Alibaba Cloud help page, you must fetch the content of that link and use it as the basis for the investigation. Do not judge based only on the link title or on prior knowledge.
Multiple-instance scenarios: troubleshoot each ECS instance separately. Do not use results from instance A to draw conclusions about instance B.
Least-privilege permissions: before running this skill, ensure the caller has only the required RAM actions for the selected workflow. Use references/ram-policies.md as the permission source of truth.
Progress Checklist
Before starting the troubleshooting workflow, create the following 6 phase tasks with the progress checklist tool. After completing each phase, immediately mark the corresponding task as complete before moving to the next phase:
Phase 1: Clarify the abnormal issue
Phase 2: Classify into a phenomenon domain
Phase 3: Confirm whether it is a GuestOS issue
Phase 4: Diagnostic tool investigation
Phase 5: GuestOS-internal component investigation
Phase 6: Summary and recommendations
Input Validation and Execution Safety
Validate all user-provided and model-derived values before placing them in an aliyun CLI command because invalid identifiers or shell metacharacters can target the wrong resource or change command meaning.
Business region (--biz-region-id): allow only Alibaba Cloud region identifiers such as cn-hangzhou; use ^[a-z]+-[a-z]+-[a-z0-9]+$ as the baseline pattern.
ECS instance IDs, disk IDs, image IDs, security group IDs, ENI IDs, diagnostic report IDs, and invoke IDs: require the expected product prefix and reject whitespace, quotes, shell metacharacters, command substitution, or newlines.
JSON parameters such as InstanceIds and AdditionalOptions: build them with a JSON serializer or a quoted literal verified as valid JSON; do not concatenate untrusted fragments.
Time windows: accept only ISO 8601 timestamps and ensure StartTime <= EndTime.
Passwords and key-pair names in offline rollback: treat them as sensitive inputs, never echo them in the final report, and pass them only after explicit user confirmation.
If any value cannot be validated, stop that command path and ask the user for a corrected value.
Use bounded waits for all polling operations because cloud operations may stay pending or fail silently. Default policy: poll every 10 to 20 seconds, stop after 10 minutes or 30 attempts, and then report the last observed status and the next safe action. A referenced document may define a shorter timeout for a specific operation.
Observability
Every aliyun CLI command must include the following user-agent parameter:
First, call DescribeInstances to query the instance information:
Success: record the instance metadata, such as region, image, and status, then continue with the normal workflow below.
Failure (an error or an empty result is returned): ask the user "Has this instance been released?"
The user confirms it is released: enter degraded mode, see references/degraded-mode.md.
The user denies it but confirms the instance ID is correct: also enter degraded mode.
Before opening any domain document, if the user's issue description is vague, first refine the issue through multi-turn dialogue. Use the aliyun CLI and questions to the user to complete the evidence and related environment information for when the abnormal issue occurred. This usually includes the following information:
Dimension
Information to Complete
How to Obtain
Basic instance information, status, and specification
Instance status
Call aliyun CLI as needed
Scope
Whether it is reproducible; start and end time; whether there were changes, restarts, scale-out/scale-in, or configuration changes when the abnormal issue occurred
Ask the user
Access channel
Whether VNC is available; whether SSH/Workbench/Cloud Assistant is available
Ask the user
Network direction
External source to instance service port, instance to external network, only intra-VPC connectivity, etc.
Ask the user
Symptoms
Original error messages and screenshots
Ask the user
Note: the instance status and the GuestOS status may be inconsistent. Even if the instance status is Running, the GuestOS kernel may have failed to start. This phase only completes the environment information; do not make any root cause judgment or output any conclusion.
Phase 2: Classify into a Phenomenon Domain
Open references/symptom-to-domain.md, and select the phenomenon domain category and phenomenon domain based on the clarified abnormal issue description.
Output one phenomenon domain and record the corresponding troubleshooting document path references/<slug>.md. At the same time, ask the user to confirm whether the phenomenon domain is accurate. Enter Phase 3 only after it is confirmed as accurate. If the user says it is inaccurate, exclude the phenomenon domain selected in step 2 and show the TOP 3 secondary phenomenon domains to the user for confirmation. If the user says none of the secondary phenomenon domains applies, stop all subsequent workflows and recommend that the user submit an Alibaba Cloud support ticket.
Phase 3: Confirm Whether It Is a GuestOS Issue
After opening the selected references/<slug>.md, complete the steps in the initial "Confirm Whether It Is a GuestOS Issue" section in order. Requirements:
You must confirm that it is a GuestOS issue before entering any subsequent steps. Otherwise, directly return the abnormal issue conclusion to the user.
Prefer completing the judgment yourself in order: for any data that can be obtained through the aliyun CLI, call it directly. Do not ask the user before attempting to obtain the data through the aliyun CLI. Ask the user only when the information can genuinely only be obtained from the console or the user's client-side environment.
Do not enter any subsequent steps before completing the judgment.
Phase 4: Diagnostic Tool Investigation
Before entering detailed domain-specific investigation, first perform a quick investigation using the diagnostic tools recommended for the phenomenon domain.
Check the "Recommended Diagnostic Metric Sets" column for the current phenomenon domain in references/phenomenon-domain.md to determine the list of diagnostic metric sets to call. If the recommended column is "—" (no recommended diagnostic metric set), skip this phase and enter Phase 5 directly.
First, ask the user to confirm whether to run the recommended diagnostic metric sets. If the user agrees, use the diagnostic metric set list obtained in step 1 and, in order, follow references/create-diagnostic-report.md to create resource diagnostic reports and run diagnostics. If the user does not agree, skip this phase. Notes:
If a diagnostic metric set requires additional input parameters, first query related data through the aliyun CLI. Ask the user to provide the data only when it cannot be obtained through the aliyun CLI.
If the diagnostic metric set does not exist or resource diagnostic report creation fails, first explain the situation to the user, then skip this phase and enter the next phase.
View the resource diagnostic report details. If the diagnostic report already contains diagnostic items strongly related to the abnormal issue, enter Phase 6 directly. Otherwise, carry the diagnostic report output into subsequent phases and analyze it together with the domain-specific workflow.
Phase 5: GuestOS-Internal Component Investigation
Read the GuestOS-internal section of references/<slug>.md:
Read the Related Components list. These are the GuestOS components that may be involved in the current phenomenon domain, such as NICs, routes, DNS, firewalls, sshd, PAM, disks, and the kernel.
Follow the Issue Localization steps in the document. When an investigation step points to a component investigation document link such as references/utils/<component-slug>.md, open the referenced document and perform component investigation in order. Requirements: collect data through the aliyun CLI (when GuestOS-internal data for the current phenomenon domain needs to be collected, use the plugin command aliyun ecs run-command to call the RunCommand OpenAPI action). Commands should be as detailed as possible, and should collect all data needed for this phenomenon domain in one run whenever possible to reduce the number of RunCommand executions.
Do not perform any remediation operation. Only provide conclusions and remediation recommendations.
Phase 6: Summary and Recommendations
Finally, provide a summary and recommendations based on one of the following two situations:
Root cause identified: provide a structured diagnosis report explaining the phenomenon domain, the evidence chain from the investigation process, and the conclusion, and provide recommendations to fix or mitigate the issue. Requirements:
You must generate the diagnosis report using the template in references/diagnosis-report-template.md.
Make it clear and readable; avoid vague statements.
When multiple root causes exist, analyze their relationships: whether one root cause caused another, or whether multiple root causes jointly caused the issue.
Root cause still uncertain: list the candidate root causes that have been ruled out and provide next-step troubleshooting recommendations.
Output contract:
Always include the target instance, region, phenomenon domain, confirmed issue boundary, key evidence, conclusion confidence, and recommended next actions.
For every conclusion, cite the command output, diagnostic report item, console evidence, or user-provided fact that supports it.
If remediation is recommended, describe the risk and expected impact, but do not execute remediation unless the user explicitly requests it.
Do not include secrets, passwords, access keys, or full sensitive command outputs in the report.
Workflow Overview
flowchart TD
A[Phase 1: Collect facts + collect metadata with aliyun CLI] -->|Instance available| B[Phase 2: Determine phenomenon domain: symptom-to-domain + phenomenon-domain]
A -->|Instance released or unreachable| DG[[Degraded mode]]
DG --> B
B --> C[Select references/slug.md]
C --> D[Phase 3: Confirm issue boundary: GuestOS / control plane / client]
D -->|Non-GuestOS primary cause| E[Handle control-plane, network, or platform-side issues first]
D -->|GuestOS| D2[Phase 4: Quick investigation with resource diagnostic reports]
D2 -->|Recommended diagnostic metric set exists| D3[Run aliyun ecs create-diagnostic-report]
D2 -->|No recommended diagnostic metric set| F[Phase 5: Domain investigation: component investigation + localization steps]
D3 --> F
F --> G{Need utils / more data?}
G -->|Yes| H[Open the referenced document and perform component investigation in order]
G -->|No| I[Phase 6: Summary and recommendations]
H --> I
E --> I
Least-privilege RAM actions required by the workflows
create-diagnostic-report.md
Resource diagnostic report creation and interpretation
degraded-mode.md
Available evidence and phase behavior when the instance is released or unreachable
diagnosis-report-template.md
Diagnosis report template (used in Phase 6)
references/<slug>.md
Complete troubleshooting workflows for each phenomenon domain
references/utils/<component-slug>.md
GuestOS component-level investigation
utils/guestos-console-log.md
Serial console log acquisition, keyword search, and context expansion
utils/cloudmonitor-metrics.md
CloudMonitor metric queries and per-domain metric selection
utils/guestos-malware-mining.md
Mining trojan and hidden process investigation
1---2name: alibabacloud-ecs-linux-os-troubleshooting3description: Troubleshoot an Alibaba Cloud ECS Linux OS. Use when a user needs to diagnose a specified ECS Linux instance, such as instance stuck in Starting, boot stuck, SSH/VNC/Workbench login failure, network issues, disk/FS issues, performance anomalies, suspected mining or hidden processes, crash/hang, clock drift, or configuration not taking effect.4---56# ECS Linux Troubleshooting
78This skill applies **only to Linux GuestOS on Alibaba Cloud ECS** and diagnoses abnormal issues on the Alibaba Cloud ECS Linux instance specified by the user (the target instance). The agent may run on the target instance or another machine, and uses the aliyun CLI to remotely diagnose and collect data from the target ECS instance.
910## When to Use This Skill
1112- The troubleshooting target specified by the user is an Alibaba Cloud ECS Linux instance.
13- The user's description involves abnormal issues such as mismatches between startup/running status and OS state, remote login failures, network connectivity failures, disk expansion/mount issues, performance anomalies, crashes or hangs, clock drift, or configurations not taking effect.
14- **Not applicable**: non-Alibaba Cloud ECS, non-Linux GuestOS, other clouds or physical machines; purely control-plane, billing, or API-side issues with no GuestOS involvement.
1516## Principles and Requirements
17181. **Troubleshooting target = the Alibaba Cloud ECS Linux instance specified by the user**: all checks and conclusions must target that one machine. Commands and paths in `references/` are written for the in-instance environment.
192. **Use the aliyun CLI for remote diagnosis and data collection**: except for the steps in [`references/utils/guestos-pe-prep.md`](references/utils/guestos-pe-prep.md), all other steps may only use the subcommands listed in [`references/aliyun-cli-cheatsheet.md`](references/aliyun-cli-cheatsheet.md). **Do not call subcommands that are not listed there**.
203. **Clarify the problem before investigating**: strictly follow the **troubleshooting workflow**. First narrow the user's description to a **phenomenon domain**, then follow the corresponding **troubleshooting document**. **Do not skip phases or reorder them**, and **do not draw a conclusion or stop the workflow early when the evidence does not uniquely point to a single root cause**.
214. Prefer the commands described in the `references/<slug>.md` troubleshooting document. **Do not blindly guess commands on your own**.
225. **External reference material**: when a troubleshooting document contains a URL, such as an Alibaba Cloud help page, **you must fetch the content of that link and use it as the basis for the investigation**. Do not judge based only on the link title or on prior knowledge.
236. **Multiple-instance scenarios**: troubleshoot each ECS instance separately. Do not use results from instance A to draw conclusions about instance B.
247. **Least-privilege permissions**: before running this skill, ensure the caller has only the required RAM actions for the selected workflow. Use [`references/ram-policies.md`](references/ram-policies.md) as the permission source of truth.
2526## Progress Checklist
2728Before starting the troubleshooting workflow, create the following 6 phase tasks with the progress checklist tool. After completing each phase, **immediately** mark the corresponding task as complete before moving to the next phase:
29301. [ ] Phase 1: Clarify the abnormal issue
312. [ ] Phase 2: Classify into a phenomenon domain
323. [ ] Phase 3: Confirm whether it is a GuestOS issue
334. [ ] Phase 4: Diagnostic tool investigation
345. [ ] Phase 5: GuestOS-internal component investigation
356. [ ] Phase 6: Summary and recommendations
3637## Input Validation and Execution Safety
3839Validate all user-provided and model-derived values before placing them in an aliyun CLI command because invalid identifiers or shell metacharacters can target the wrong resource or change command meaning.
4041- Business region (`--biz-region-id`): allow only Alibaba Cloud region identifiers such as `cn-hangzhou`; use `^[a-z]+-[a-z]+-[a-z0-9]+$` as the baseline pattern.
42- ECS instance IDs, disk IDs, image IDs, security group IDs, ENI IDs, diagnostic report IDs, and invoke IDs: require the expected product prefix and reject whitespace, quotes, shell metacharacters, command substitution, or newlines.
43- JSON parameters such as `InstanceIds` and `AdditionalOptions`: build them with a JSON serializer or a quoted literal verified as valid JSON; do not concatenate untrusted fragments.
44- Time windows: accept only ISO 8601 timestamps and ensure `StartTime <= EndTime`.
45- Passwords and key-pair names in offline rollback: treat them as sensitive inputs, never echo them in the final report, and pass them only after explicit user confirmation.
46- If any value cannot be validated, stop that command path and ask the user for a corrected value.
4748Use bounded waits for all polling operations because cloud operations may stay pending or fail silently. Default policy: poll every 10 to 20 seconds, stop after 10 minutes or 30 attempts, and then report the last observed status and the next safe action. A referenced document may define a shorter timeout for a specific operation.
4950## Observability
5152Every aliyun CLI command must include the following user-agent parameter:
5354```bash
55--user-agent AlibabaCloud-Agent-Skills/alibabacloud-ecs-linux-os-troubleshooting/{session-id}
56```
5758Requirements:
59601. Generate or obtain one non-empty `session-id` for each troubleshooting session.
612. Reuse the same `session-id` for all aliyun CLI commands within the same troubleshooting session.
623. Do not reuse a `session-id` across different troubleshooting sessions.
634. Include the parameter in every example and every actual aliyun CLI command execution.
6465Example:
6667```bash
68aliyun ecs describe-instances \
69 --biz-region-id <region-id> \
70 --instance-ids '["<instance-id>"]' \
71 --user-agent AlibabaCloud-Agent-Skills/alibabacloud-ecs-linux-os-troubleshooting/<session-id>
72```
7374## Troubleshooting Workflow
7576**Execute the phases in order.**
7778### Phase 1: Clarify the Abnormal Issue
7980First, call `DescribeInstances` to query the instance information:
8182- **Success**: record the instance metadata, such as region, image, and status, then continue with the normal workflow below.
83- **Failure** (an error or an empty result is returned): ask the user "Has this instance been released?"
84 - The user confirms it is released: enter **degraded mode**, see [`references/degraded-mode.md`](references/degraded-mode.md).
85 - The user denies it but confirms the instance ID is correct: also enter **degraded mode**.
8687Before opening any domain document, if the user's issue description is vague, **first refine the issue through multi-turn dialogue**. Use the **aliyun CLI** and **questions to the user** to complete the evidence and related environment information for when the abnormal issue occurred. This usually includes the following information:
8889| Dimension | Information to Complete | How to Obtain |
90| --- | --- | --- |
91| **Basic instance information, status, and specification** | Instance status | Call aliyun CLI as needed |
92| **Scope** | Whether it is reproducible; start and end time; whether there were changes, restarts, scale-out/scale-in, or configuration changes when the abnormal issue occurred | Ask the user |
93| **Access channel** | Whether VNC is available; whether SSH/Workbench/Cloud Assistant is available | Ask the user |
94| **Network direction** | External source to instance service port, instance to external network, only intra-VPC connectivity, etc. | Ask the user |
95| **Symptoms** | Original error messages and screenshots | Ask the user |
9697Note: the instance status and the GuestOS status may be inconsistent. Even if the instance status is `Running`, the GuestOS kernel may have failed to start. This phase **only completes the environment information; do not make any root cause judgment or output any conclusion**.
9899### Phase 2: Classify into a Phenomenon Domain
1001011. Open [`references/symptom-to-domain.md`](references/symptom-to-domain.md), and select the phenomenon domain category and phenomenon domain based on the clarified abnormal issue description.
1022. Output **one phenomenon domain** and record the corresponding troubleshooting document path `references/<slug>.md`. At the same time, **ask the user to confirm whether the phenomenon domain is accurate**. Enter Phase 3 only after it is confirmed as accurate. If the user says it is inaccurate, exclude the phenomenon domain selected in step 2 and show the TOP 3 secondary phenomenon domains to the user for confirmation. If the user says none of the secondary phenomenon domains applies, stop all subsequent workflows and recommend that the user submit an Alibaba Cloud support ticket.
103104### Phase 3: Confirm Whether It Is a GuestOS Issue
105106After opening the selected `references/<slug>.md`, complete the steps in the initial "Confirm Whether It Is a GuestOS Issue" section in order. Requirements:
1071081. **You must** confirm that it is a GuestOS issue before entering any subsequent steps. Otherwise, directly return the abnormal issue conclusion to the user.
1092. **Prefer completing the judgment yourself in order**: for any data that can be obtained through the aliyun CLI, call it directly. **Do not ask the user before attempting to obtain the data through the aliyun CLI**. Ask the user only when the information can genuinely only be obtained from the console or the user's client-side environment.
1103. **Do not enter any subsequent steps before completing the judgment.**
111112### Phase 4: Diagnostic Tool Investigation
113114Before entering detailed domain-specific investigation, first perform a quick investigation using the diagnostic tools recommended for the phenomenon domain.
1151161. Check the "Recommended Diagnostic Metric Sets" column for the current phenomenon domain in [`references/phenomenon-domain.md`](references/phenomenon-domain.md) to determine the list of diagnostic metric sets to call. If the recommended column is "—" (no recommended diagnostic metric set), skip this phase and enter Phase 5 directly.
1172. **First, ask the user to confirm whether to run the recommended diagnostic metric sets**. **If the user agrees**, use the diagnostic metric set list obtained in step 1 and, in order, follow [`references/create-diagnostic-report.md`](references/create-diagnostic-report.md) to create resource diagnostic reports and run diagnostics. **If the user does not agree**, skip this phase. Notes:
118 1. If a diagnostic metric set requires additional input parameters, first query related data through the aliyun CLI. Ask the user to provide the data only when it cannot be obtained through the aliyun CLI.
119 2. If the diagnostic metric set does not exist or resource diagnostic report creation fails, first explain the situation to the user, then skip this phase and enter the next phase.
1203. View the resource diagnostic report details. If the diagnostic report already contains diagnostic items strongly related to the abnormal issue, enter Phase 6 directly. Otherwise, carry the diagnostic report output into subsequent phases and analyze it together with the domain-specific workflow.
121122### Phase 5: GuestOS-Internal Component Investigation
123124Read the **GuestOS-internal** section of `references/<slug>.md`:
1251261. Read the **Related Components** list. These are the GuestOS components that may be involved in the current phenomenon domain, such as NICs, routes, DNS, firewalls, sshd, PAM, disks, and the kernel.
1272. Follow the **Issue Localization** steps in the document. When an investigation step points to a component investigation document link such as `references/utils/<component-slug>.md`, open the referenced document and perform component investigation in order. Requirements: **collect data through the aliyun CLI** (when GuestOS-internal data for the current phenomenon domain needs to be collected, use the plugin command `aliyun ecs run-command` to call the `RunCommand` OpenAPI action). Commands should be as detailed as possible, and should **collect all data needed for this phenomenon domain in one run whenever possible** to reduce the number of RunCommand executions.
1283. **Do not perform any remediation operation**. Only provide conclusions and remediation recommendations.
129130### Phase 6: Summary and Recommendations
131132Finally, provide a summary and recommendations based on one of the following two situations:
133134- **Root cause identified**: provide a structured diagnosis report explaining the phenomenon domain, the evidence chain from the investigation process, and the conclusion, and provide recommendations to fix or mitigate the issue. Requirements:
135 1. **You must** generate the diagnosis report using the template in [`references/diagnosis-report-template.md`](references/diagnosis-report-template.md).
136 2. Make it clear and readable; avoid vague statements.
137 3. When multiple root causes exist, analyze their relationships: whether one root cause caused another, or whether multiple root causes jointly caused the issue.
138- **Root cause still uncertain**: list the candidate root causes that have been ruled out and provide next-step troubleshooting recommendations.
139140Output contract:
141142- Always include the target instance, region, phenomenon domain, confirmed issue boundary, key evidence, conclusion confidence, and recommended next actions.
143- For every conclusion, cite the command output, diagnostic report item, console evidence, or user-provided fact that supports it.
144- If remediation is recommended, describe the risk and expected impact, but do not execute remediation unless the user explicitly requests it.
145- Do not include secrets, passwords, access keys, or full sensitive command outputs in the report.
146147## Workflow Overview
148149```mermaid
150flowchart TD
151 A[Phase 1: Collect facts + collect metadata with aliyun CLI] -->|Instance available| B[Phase 2: Determine phenomenon domain: symptom-to-domain + phenomenon-domain]
152 A -->|Instance released or unreachable| DG[[Degraded mode]]
153 DG --> B
154 B --> C[Select references/slug.md]
155 C --> D[Phase 3: Confirm issue boundary: GuestOS / control plane / client]
156 D -->|Non-GuestOS primary cause| E[Handle control-plane, network, or platform-side issues first]
157 D -->|GuestOS| D2[Phase 4: Quick investigation with resource diagnostic reports]
158 D2 -->|Recommended diagnostic metric set exists| D3[Run aliyun ecs create-diagnostic-report]
159 D2 -->|No recommended diagnostic metric set| F[Phase 5: Domain investigation: component investigation + localization steps]
160 D3 --> F
161 F --> G{Need utils / more data?}
162 G -->|Yes| H[Open the referenced document and perform component investigation in order]
163 G -->|No| I[Phase 6: Summary and recommendations]
164 H --> I
165 E --> I
166```
167168## Reference Document Index
169170| Path | Purpose |
171| --- | --- |
172| [`symptom-to-domain.md`](references/symptom-to-domain.md) | Natural language to phenomenon-domain routing |
173| [`phenomenon-domain.md`](references/phenomenon-domain.md) | Authoritative table: unique identifier, concept, typical symptoms, slug, and recommended diagnostic tools |
174| [`aliyun-cli-cheatsheet.md`](references/aliyun-cli-cheatsheet.md) | aliyun CLI quick reference (allowlisted subcommands) |
175| [`ram-policies.md`](references/ram-policies.md) | Least-privilege RAM actions required by the workflows |
176| [`create-diagnostic-report.md`](references/create-diagnostic-report.md) | Resource diagnostic report creation and interpretation |
177| [`degraded-mode.md`](references/degraded-mode.md) | Available evidence and phase behavior when the instance is released or unreachable |
178| [`diagnosis-report-template.md`](references/diagnosis-report-template.md) | Diagnosis report template (used in Phase 6) |
179| [`references/<slug>.md`](references/) | Complete troubleshooting workflows for each phenomenon domain |
180| [`references/utils/<component-slug>.md`](references/utils/) | GuestOS component-level investigation |
181| [`utils/guestos-console-log.md`](references/utils/guestos-console-log.md) | Serial console log acquisition, keyword search, and context expansion |
182| [`utils/cloudmonitor-metrics.md`](references/utils/cloudmonitor-metrics.md) | CloudMonitor metric queries and per-domain metric selection |
183| [`utils/guestos-malware-mining.md`](references/utils/guestos-malware-mining.md) | Mining trojan and hidden process investigation |
Run npx skillmds@latest add aliyun/alibabacloud-ecs-linux-os-troubleshooting in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Troubleshoot an Alibaba Cloud ECS Linux OS. Use when a user needs to diagnose a specified ECS Linux instance, such as instance stuck in Starting, boot stuck, SSH/VNC/Workbench login failure, network issues, disk/FS issues, performance anomalies, suspected mining or hidden processes, crash/hang, clock drift, or configuration not taking effect. It is listed under DevOps & Infra on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: makes network calls. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
aliyun (@aliyun) published this skill. Their other Agent Skills are listed on their SkillMD profile.