/alibabacloud-network-reachability-analysis
Perform Alibaba Cloud NIS (Network Intelligence Service) network path reachability analysis with forward/reverse path diagnosis, topology visualization, and resource monitoring. Use when analyzing network connectivity, diagnosing unreachable paths, checking security groups or
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-network-reachability-analysis --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/alibabacloud-network-reachability-analysis
Context preview
The summary Claude sees to decide when to auto-load this skill.
Perform Alibaba Cloud NIS (Network Intelligence Service) network path reachability analysis with forward/reverse path diagnosis, topology visualization, and resource monitoring. Use when analyzing network connectivity, diagnosing unreachable paths, checking security groups or
SKILL.md
alibabacloud-network-reachability-analysis.SKILL.mdname: alibabacloud-network-reachability-analysis
description: >
Perform Alibaba Cloud NIS (Network Intelligence Service) network path reachability analysis
with forward/reverse path diagnosis, topology visualization, and resource monitoring.
Use when analyzing network connectivity, diagnosing unreachable paths, checking security groups
or route tables, or visualizing network topology between cloud resources.
Triggers: "reachability analysis", "network path analysis", "NIS analysis", "connectivity diagnosis",
"path reachable", "network troubleshooting",
"可达性分析", "网络路径分析", "NIS分析", "连通性诊断", "路径可达", "网络排障".
NIS Network Reachability Analysis / NIS 网络可达性分析
> **Language / 语言**: Respond in the same language the user uses. > If the user speaks Chinese, use the Chinese (zh-CN) prompts below. > If the user speaks English, use the English (en) prompts below.
Guides an agent through interactive network reachability analysis using Alibaba Cloud NIS. Covers forward/reverse path analysis, topology visualization (Mermaid), and monitoring diagnostics for resources along the path.
**Architecture**: `NIS (CreateAndAnalyzeNetworkPath + GetNetworkReachableAnalysis) + CloudMonitor (DescribeMetricData)`
> ⚠️ **CRITICAL / 关键**: **READ-ONLY OPERATIONS ONLY** > > This skill performs **read-only** network diagnostics. **DO NOT** create, modify, or delete any cloud resources. > > 本技能仅执行**只读**网络诊断操作。**严禁**创建、修改或删除任何云资源。 > > Allowed: `CreateAndAnalyzeNetworkPath`, `GetNetworkReachableAnalysis`, `DescribeMetricData`, `Describe*` APIs > > 允许:分析任务创建与查询、监控数据查询、Describe* 类查询 API > > Forbidden: `Create*` (except `CreateAndAnalyzeNetworkPath`), `Modify*`, `Delete*`, `Start*`, `Stop*`, `Run*` APIs > > 禁止:创建类 API(除 `CreateAndAnalyzeNetworkPath` 外)、修改、删除、启停、执行类 API
Installation
> **Pre-check: Aliyun CLI >= 3.3.1 required** > Run `aliyun version` to verify >= 3.3.1. If not installed or version too low, > see [references/cli-installation-guide.md](references/cli-installation-guide.md) for installation instructions. > Then **[MUST]** run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation.
aliyun version
aliyun configure set --auto-plugin-install true
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 > > ```bash > aliyun configure list --user-agent AlibabaCloud-Agent-Skills > ``` > Check the output for a valid profile (AK, STS, or OAuth identity). > > **If no valid profile exists, STOP here.** > 1. Obtain credentials from [Alibaba Cloud Console](https://ram.console.aliyun.com/manage/ak) > 2. Configure credentials **outside of this session** (via `aliyun configure` in terminal or environment variables in shell profile) > 3. Return and re-run after `aliyun configure list` shows a valid profile
RAM Permissions
See [references/ram-policies.md](references/ram-policies.md) for the full RAM policy.
Required actions: `nis:CreateAndAnalyzeNetworkPath`, `nis:GetNetworkReachableAnalysis`, `cms:DescribeMetricData`.
Parameter Confirmation
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call, > ALL user-customizable parameters (e.g., RegionId, instance IDs, IP addresses, > protocol, ports, resource types, etc.) MUST be confirmed with the user. > Do NOT assume or use default values without explicit user approval.
Collect the following parameters interactively:
| Parameter | Required | Description (EN) | 说明 (ZH) | Default | |-----------|----------|-------------------|-----------|---------| | RegionId | Yes | Region of the analysis task | 分析任务所在地域 | — | | SourceType | Yes | `ecs`, `vsw`, `internetIp`, `vpn`, `vbr` | 源端类型 | — | | SourceId | Yes | Source resource ID (or public IP if `internetIp`) | 源资源 ID(公网 IP 类型直接填 IP) | — | | SourceIpAddress | Conditional | On-Premise IP, **required** for `vpn`/`vbr` | 云下私网 IP,`vpn`/`vbr` 时**必填** | — | | TargetType | Yes | `ecs`, `vsw`, `internetIp`, `vpn`, `vbr`, `clb` | 目的端类型 | — | | TargetId | Yes | Target resource ID (or public IP if `internetIp`) | 目的资源 ID(公网 IP 类型直接填 IP) | — | | TargetIpAddress | Conditional | On-Premise IP, **required** for `vpn`/`vbr` | 云下私网 IP,`vpn`/`vbr` 时**必填** | — | | Protocol | Yes | `tcp`, `udp`, or `icmp` | 协议类型 | — | | TargetPort | Conditional | Required for `tcp`/`udp` | `tcp`/`udp` 时必填 | — | | SourcePort | Optional | Source port | 源端口 | — |
Interactive Collection Logic / 交互收集逻辑
Use the prompts matching the user's language:
**Step 1 — Ask resource types / 询问资源类型**
| EN | ZH | |----|-----| | "What is the **source resource type**? (ecs / vsw / internetIp / vpn / vbr)" | "请问**源端资源类型**是什么?(ecs / vsw / internetIp / vpn / vbr)" | | "What is the **target resource type**? (ecs / vsw / internetIp / vpn / vbr / clb)" | "请问**目的端资源类型**是什么?(ecs / vsw / internetIp / vpn / vbr / clb)" |
**Step 2 — Type-specific prompts / 按类型提示**
| Condition | EN Prompt | ZH Prompt | |-----------|-----------|-----------| | `internetIp` | "For public IP analysis, please provide the **public IP address** directly as the ID." | "分析公网路径时,请直接提供**公网 IP 地址**作为 ID 传入。" | | `vpn` / `vbr` | "For hybrid cloud analysis, besides the resource ID, please also provide the **On-Premise IP** (private IP on your side)." | "连接云下环境时,除了资源 ID,请务必提供您的**云下私网 IP (On-Premise IP)** 以确保分析准确。" |
**Step 3 — Protocol & ports / 协议和端口**
| EN | ZH | |----|-----| | "What protocol? (tcp / udp / icmp) And what is the target port?" | "请问使用什么协议?(tcp / udp / icmp)目的端口是多少?" |
Core Workflow
Step 1: Forward
Read more
name: alibabacloud-network-reachability-analysis description: > Perform Alibaba Cloud NIS (Network Intelligence Service) network path reachability analysis with forward/reverse path diagnosis, topology visualization, and resource monitoring. Use when analyzing network connectivity, diagnosing unreachable paths, checking security groups or route tables, or visualizing network topology between cloud resources. Triggers: "reachability analysis", "network path analysis", "NIS analysis", "connectivity diagnosis", "path reachable", "network troubleshooting", "可达性分析", "网络路径分析", "NIS分析", "连通性诊断", "路径可达", "网络排障".
NIS Network Reachability Analysis / NIS 网络可达性分析
> **Language / 语言**: Respond in the same language the user uses. > If the user speaks Chinese, use the Chinese (zh-CN) prompts below. > If the user speaks English, use the English (en) prompts below.
Guides an agent through interactive network reachability analysis using Alibaba Cloud NIS. Covers forward/reverse path analysis, topology visualization (Mermaid), and monitoring diagnostics for resources along the path.
**Architecture**: `NIS (CreateAndAnalyzeNetworkPath + GetNetworkReachableAnalysis) + CloudMonitor (DescribeMetricData)`
> ⚠️ **CRITICAL / 关键**: **READ-ONLY OPERATIONS ONLY** > > This skill performs **read-only** network diagnostics. **DO NOT** create, modify, or delete any cloud resources. > > 本技能仅执行**只读**网络诊断操作。**严禁**创建、修改或删除任何云资源。 > > Allowed: `CreateAndAnalyzeNetworkPath`, `GetNetworkReachableAnalysis`, `DescribeMetricData`, `Describe*` APIs > > 允许:分析任务创建与查询、监控数据查询、Describe* 类查询 API > > Forbidden: `Create*` (except `CreateAndAnalyzeNetworkPath`), `Modify*`, `Delete*`, `Start*`, `Stop*`, `Run*` APIs > > 禁止:创建类 API(除 `CreateAndAnalyzeNetworkPath` 外)、修改、删除、启停、执行类 API
Installation
> **Pre-check: Aliyun CLI >= 3.3.1 required** > Run `aliyun version` to verify >= 3.3.1. If not installed or version too low, > see [references/cli-installation-guide.md](references/cli-installation-guide.md) for installation instructions. > Then **[MUST]** run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation.
aliyun version aliyun configure set --auto-plugin-install true
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 > > ```bash > aliyun configure list --user-agent AlibabaCloud-Agent-Skills > ``` > Check the output for a valid profile (AK, STS, or OAuth identity). > > **If no valid profile exists, STOP here.** > 1. Obtain credentials from [Alibaba Cloud Console](https://ram.console.aliyun.com/manage/ak) > 2. Configure credentials **outside of this session** (via `aliyun configure` in terminal or environment variables in shell profile) > 3. Return and re-run after `aliyun configure list` shows a valid profile
RAM Permissions
See [references/ram-policies.md](references/ram-policies.md) for the full RAM policy.
Required actions: `nis:CreateAndAnalyzeNetworkPath`, `nis:GetNetworkReachableAnalysis`, `cms:DescribeMetricData`.
Parameter Confirmation
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call, > ALL user-customizable parameters (e.g., RegionId, instance IDs, IP addresses, > protocol, ports, resource types, etc.) MUST be confirmed with the user. > Do NOT assume or use default values without explicit user approval.
Collect the following parameters interactively:
| Parameter | Required | Description (EN) | 说明 (ZH) | Default | |-----------|----------|-------------------|-----------|---------| | RegionId | Yes | Region of the analysis task | 分析任务所在地域 | — | | SourceType | Yes | `ecs`, `vsw`, `internetIp`, `vpn`, `vbr` | 源端类型 | — | | SourceId | Yes | Source resource ID (or public IP if `internetIp`) | 源资源 ID(公网 IP 类型直接填 IP) | — | | SourceIpAddress | Conditional | On-Premise IP, **required** for `vpn`/`vbr` | 云下私网 IP,`vpn`/`vbr` 时**必填** | — | | TargetType | Yes | `ecs`, `vsw`, `internetIp`, `vpn`, `vbr`, `clb` | 目的端类型 | — | | TargetId | Yes | Target resource ID (or public IP if `internetIp`) | 目的资源 ID(公网 IP 类型直接填 IP) | — | | TargetIpAddress | Conditional | On-Premise IP, **required** for `vpn`/`vbr` | 云下私网 IP,`vpn`/`vbr` 时**必填** | — | | Protocol | Yes | `tcp`, `udp`, or `icmp` | 协议类型 | — | | TargetPort | Conditional | Required for `tcp`/`udp` | `tcp`/`udp` 时必填 | — | | SourcePort | Optional | Source port | 源端口 | — |
Interactive Collection Logic / 交互收集逻辑
Use the prompts matching the user's language:
**Step 1 — Ask resource types / 询问资源类型**
| EN | ZH | |----|-----| | "What is the **source resource type**? (ecs / vsw / internetIp / vpn / vbr)" | "请问**源端资源类型**是什么?(ecs / vsw / internetIp / vpn / vbr)" | | "What is the **target resource type**? (ecs / vsw / internetIp / vpn / vbr / clb)" | "请问**目的端资源类型**是什么?(ecs / vsw / internetIp / vpn / vbr / clb)" |
**Step 2 — Type-specific prompts / 按类型提示**
| Condition | EN Prompt | ZH Prompt | |-----------|-----------|-----------| | `internetIp` | "For public IP analysis, please provide the **public IP address** directly as the ID." | "分析公网路径时,请直接提供**公网 IP 地址**作为 ID 传入。" | | `vpn` / `vbr` | "For hybrid cloud analysis, besides the resource ID, please also provide the **On-Premise IP** (private IP on your side)." | "连接云下环境时,除了资源 ID,请务必提供您的**云下私网 IP (On-Premise IP)** 以确保分析准确。" |
**Step 3 — Protocol & ports / 协议和端口**
| EN | ZH | |----|-----| | "What protocol? (tcp / udp / icmp) And what is the target port?" | "请问使用什么协议?(tcp / udp / icmp)目的端口是多少?" |
Core Workflow
Step 1: Forward
Official Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.
Other skills on alibabacloud-aiops-skills.
- /alibabacloud-agentbay-aio-skills
Execute code in a secure cloud sandbox via AgentBay SDK. Use this skill whenever users request to run, execute, or evaluate code (Python, JavaScript, R, Java), including plotting charts, running scripts, or viewing code output. Covers requests like "run this code", "execute
Open skill - /alibabacloud-agentloop-dataset
Operate Alibaba Cloud AgentLoop Dataset resources with aliyun CLI and the AgentLoop API version 2026-05-20. Use when requests concern AgentLoop datasets, data rows, Dataset schemas, embedding fields, semantic search, ExecuteQuery, AgentSpace data, 数据集, 数据写入, 数据查询, 语义检索, or ask
Open skill - /alibabacloud-agentloop-evaluation
Orchestrate AgentLoop evaluation workflows through the Aliyun CLI plugin with safe previews, saved evaluator and evaluator-skill management, one-shot sample tests, trace or dataset batch runs, polling, and result inspection. Analyze evaluation quality and low-score cases from
Open skill - /alibabacloud-agentloop-experience
Proactively use AgentLoop Recall to retrieve prior Alibaba Cloud AgentLoop experience through the bundled SearchContext CLI whenever the user asks or implies that prior work may help. Trigger for requests to check, search, recall, retrieve, look up, review, consult, reference,
Open skill - /alibabacloud-agentloop-management
AgentLoop APM接入 / AI可观测接入 / 应用监控接入 / 自研探针 / 探针安装. Use for Python aliyun-bootstrap (aliyun-instrument), Java AliyunJavaAgent, Golang instgo, Node.js cms_node_sdk, PHP/.NET OpenTelemetry, ack-onepilot, LicenseKey, AgentLoop workspace agentloop-*. Also for LangChain, Dify,
Open skill - /alibabacloud-avatar-video
Use Alibaba Cloud DashScope API and LingMou to generate AI video and speech. Seven capabilities — (1) LivePortrait talking-head (image + audio → video, two-step), (2) EMO talking-head, (3) AA/AnimateAnyone full-body animation (three-step), (4) T2I text-to-image (Wan 2.x, default
Open skill

