Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

alibabacloud-sysom-diagnosis阿里巴巴云系统诊断

Agent Skill

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

总安装

776

周安装

32

GitHub Stars

79

下载量

253
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-sysom-diagnosis

简介

用于本地或远程诊断系统运行状态,支持内存、IO、网络和负载专项检查。

  • 默认执行快速本地检测,深度诊断需指定参数触发云 API 调用。
  • 输出为 JSON 格式,包含环境检查结果与详细诊断数据。
  • 安装命令为 npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-sysom-diagnosis。
  • 需确保阿里云 CLI 版本不低于 3.3.3 并完成插件自动安装配置。

SKILL.md

SysOM Diagnosis (sysom-diagnosis)

Run diagnostics with ./scripts/osops.sh under sysom-diagnosis/ (skill root). stdout is a JSON envelope. By default it performs a local quick check without cloud invocation; remote deep diagnosis is triggered by --deep-diagnosis (memory domain) or io/net/load subcommands, with built-in environment checks.

Installation

Pre-check: Aliyun CLI >= 3.3.3 required Run aliyun version to verify >= 3.3.3. If not installed or version too low, run curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash to update. Then [MUST] run aliyun configure set --auto-plugin-install true to enable automatic plugin installation. Then [MUST] run aliyun plugin update to ensure local plugins are up-to-date. At the start of the Core Workflow (before any CLI invocation): [MUST] Enable AI-Mode — AI-mode is required for Agent Skill execution. ``bash aliyun configure ai-mode enable aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-sysom-diagnosis" ` At the **end** of the workflow (after success or failure): **[MUST] Disable AI-Mode** — AI-mode must be disabled after skill execution completes. `bash aliyun configure ai-mode disable ``

Core Agent Behaviors

  1. Local first: run memory quick checks first; do not ask for region/instance by default.
  2. Intent routing:

- Memory domain: high usage/panorama → memgraph; OOM/oom-killer → oom; Java → javamem; unknown → classify. See memory-routing.md. - Non-memory domain: IO/network/load → use corresponding io/net/load subcommands and go directly to remote deep diagnosis. See non-memory-routing.md. - Hard constraint for remote deep diagnosis: for --deep-diagnosis, io/*, net/*, and load/*, SysOM InvokeDiagnosis must be triggered via ./scripts/osops.sh; do not degrade to generic ECS diagnostics APIs or manual Ecs.RunCommand/Cloud Assistant collection (top/ps/iostat) as replacements.

  1. Follow envelope instructions: always read agent.summary and execute agent.next. Quick output is signal detection only. If agent.next contains a command, execute it before summarizing to the user.
  2. Envelope is source of truth: base conclusions on envelope data; no extra ad-hoc collection is needed.
  3. Latency + socket queue backlog: if net netjitter/net packetdrop has been run and looks normal but ss shows high Send-Q/Recv-Q, cross-check with memory memgraph --deep-diagnosis.

For full conventions (execution directory, credential safety, precheck noise reduction, etc.), see agent-conventions.md.

Envelope Output

CLI stdout is a JSON envelope (format: sysom_agent, version: 3.4). The agent directly consumes agent.summary (summary), agent.findings (key metrics), and agent.next (next-step command, executed with Bash in the skill root). Business payload is in data.routing, data.local, and data.remote. See output-format.md.

Precheck / Authentication Failure

On authentication failure, the envelope includes data.remediation (standalone precheck) or data.precheck_gate.remediation (deep-diagnosis merged flow). Guide users according to envelope instructions. See agent-conventions.md.

Subcommand Quick Reference

Memory Domain

SubcommandCapabilityReference
memory memgraphMemory panorama/dashboard, including TCP memory and socket queuesmemgraph.md
memory oomOOM / oom-killer diagnosisoomcheck.md
memory javamemJava memory diagnosisjavamem.md
memory classifyComprehensive classification (fallback when uncertain)Routing: memory-routing.md

IO Domain

SubcommandCapabilityReference
io iofsstatIO dashboard (disk statistics)iofsstat.md
io iodiagnoseDeep IO analysis (slow IO, latency)iodiagnose.md

Network Domain

SubcommandCapabilityReference
net packetdropPacket loss (rtrace)packetdrop.md
net netjitterJitter (latency fluctuation)netjitter.md

Load Domain

SubcommandCapabilityReference
load delayScheduling delay (nosched)delay.md
load loadtaskSystem loadloadtask.md

Quick Start

cd <sysom-diagnosis>
./scripts/osops.sh memory classify                                          # local classification
./scripts/osops.sh memory memgraph                                          # local memory panorama
./scripts/osops.sh memory memgraph --deep-diagnosis --channel ecs --timeout 300  # remote memory deep diagnosis
./scripts/osops.sh io iofsstat --channel ecs --timeout 300                  # IO dashboard
./scripts/osops.sh net packetdrop --channel ecs --region cn-hangzhou --instance i-xxx  # packet loss diagnosis
./scripts/osops.sh load delay --channel ecs --params '{"duration":30}'      # scheduling delay

For other instances, add --region <id> --instance <i-xxx>. For first-time setup, run ./scripts/init.sh.

Three Remote OpenAPI Requirements

RequirementDescription
IdentityAK/SK or instance RAM Role
PolicyAliyunSysomFullAccess
Activation & SLRActivate SysOM in console; SLR details: service-linked-role-subaccount.md

Key Path Index

NeedDocument
Memory intent → subcommand mappingmemory-routing.md
IO/network/load routingnon-memory-routing.md
Remote invocation contract / CLI options / metadatainvoke-diagnosis.md
Permissions / credentials / precheckpermission-guide.mdopenapi-permission-guide.md
Envelope output formatoutput-format.md
Agent behavior conventionsagent-conventions.md
Params fields per diagnosisdiagnoses/README.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.47%
按下载量换算92

Claude

26.67%
按下载量换算67

Cursor

17.93%
按下载量换算45

Gemini CLI

9.05%
按下载量换算23

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills