alibabacloud-ecs-linux-os-troubleshooting

Installation
SKILL.md

ECS Linux Troubleshooting

This skill applies only to Linux GuestOS on Alibaba Cloud ECS. It supports direct shell diagnosis on the current instance (Local) and diagnosis through Cloud Assistant (Remote), with cloud API access through local aliyun CLI or Alibaba Cloud OpenAPI MCP Server. If the user does not explicitly provide an instance ID, default to Local execution on the current machine. Both channels reuse the same phenomenon domains and component investigation documents.

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

  1. One established target per investigation: all checks and conclusions must refer to that target. GuestOS commands and paths in references/ belong to the instance; explicitly labeled API calls and agent-side evidence processing do not.
  2. Separate execution mode from API provider: Local runs shell commands directly; Remote sends them through RunCommand. Before the first cloud call, read openapi-access.md. Both providers use the single allowlist in openapi-reference.md, including its offline-only scope. Local shell collection and API discovery/help do not require cloud execution permissions.
  3. Strictly follow the troubleshooting workflow: execute the phases in order, following their explicit skip/stop branches and domain-specific stopping policies, including the shared-instance performance SLA policy. State one or more root causes only when supported by evidence. A policy-based stop or exhausted evidence does not establish a root cause; report the stopping reason and remaining uncertainty. Track phase progress using the Progress Checklist.
  4. Prefer automated diagnosis and data collection through the selected channel. If diagnostic results do not locate the issue, provide next-step recommendations and specific commands based on references/, refining them as the investigation progresses. When asking the user for information or suggesting commands, provide complete data collection commands that can be copied and executed.
  5. 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.
  6. Multiple-instance scenarios: troubleshoot each ECS instance separately. Do not use results from instance A to draw conclusions about instance B.
  7. Least-privilege permissions: local collection uses OS permissions only. Before cloud API calls, ensure the caller has only the RAM actions required for those calls. Use references/ram-policies.md as the permission source of truth.
  8. Do not perform remediation: repair and mitigation steps in domain documents, component guides, and external references are recommendations for the user, not commands to execute during diagnosis. The explicitly confirmed offline preparation and rollback remain permitted for evidence collection; that consent does not authorize repairs.

Progress Checklist

Installs
4
GitHub Stars
148
First Seen
Sep 7, 2026