aliyun/alibabacloud-aiops-skills

alibabacloud-sls-alerting

Manage Alibaba Cloud SLS alerts and notifications.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-alerting

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Alibaba Cloud SLS Alerting

Prerequisites

Complete these checks before executing commands; explanation-only requests do not require CLI setup.

Install Aliyun CLI

Run aliyun version to verify version >= 3.3.22. If missing or outdated, follow the CLI installation guide.

Update Plugins

Check aliyun sls version and the requested command's help. When an update is needed, update the SLS plugin:

bash
aliyun plugin update --name sls

Profile selection

Use the CLI's configured profile by default; add --profile only when the user specifies a profile.

Observability (MUST follow for every aliyun api command)

Before the first cloud call, read this skill's manifest and use its top-level non-empty string version as {skill-version}. Stop and report an invalid or missing file/version; never guess it.

Generate a fresh random 32-character lowercase hexadecimal {session-id} for this skill in the conversation; reuse it for operations, pagination, and retries. When switching skills, read the selected skill's manifest and use its own session ID and version, including when returning to this skill.

Every cloud API command and request-only dry run MUST include this flag. Local configure, plugin, version, and help commands are exempt:

text
--user-agent "AlibabaCloud-Agent-Skills/alibabacloud-sls-alerting/{session-id} skill-version/{skill-version}"

Set SLS_ALERT_USER_AGENT to the resolved value and pass it double-quoted. Do not send literal placeholders, credentials, or personal identifiers.

Select the operation

Rules define when to raise alerts. Notification resources determine how those alerts are handled and sent. Event diagnosis explains an alert that occurred. Read the matching management or diagnosis entry, then follow only the references needed for the requested operation.

update, disable, enable, delete, or temporarily mute/unmute rules.

notification objects, alert policies, action policies, and content templates.

causes, frequency, and duration, or query alert history.

Skill usage troubleshooting

For problems running commands or bundled scripts, use skill usage troubleshooting. Rule behavior and alert outcomes belong to the functional branches above.

Shared operation boundaries

  • Read before replacement updates and preserve unrelated fields.
  • Execute changes covered by the user's request and existing authorization.
  • Read back writes and compare intended fields. Configuration success does not

prove evaluation or delivery success.

  • NEVER run aliyun configure get.
  • NEVER extract or print AccessKey IDs, AccessKey secrets, or STS tokens

from configuration files, environment variables, or command output. Never ask users to paste credentials. Let the CLI use its configured authentication.

Reference Documents

These references support all operation branches; consult them when needed.

authentication modes, and profiles.

ResourceRecord operations to the appropriate endpoint.

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills
aliyun
社区

alibabacloud-emr-spark-manage

Manage the full lifecycle of Alibaba Cloud EMR Serverless Spark workspaces—create workspaces, submit jobs, Kyuubi interactive queries, resource queue scaling, and status queries. Use this Skill when users want to create Spark workspaces, submit Spark jobs, view job status and logs, execute SQL via Kyuubi, scale resource queues, or view workspace status. Also applicable when users say "create a Spark workspace", "submit Spark job", "run PySpark", "execute SQL via Kyuubi", "scale resource queue",

1小时安装量
10
GitHub Stars
293
最近更新
11月13日
aliyun
社区

alibabacloud-find-skills

Use this skill when users want to search, discover, browse, or find Alibaba Cloud (阿里云) agent skills. Triggers include: "find a skill for X", "search alicloud skills", "阿里云有什么 skill","阿里云", "搜索阿里云技能", "有没有管理 ECS/RDS/OSS 的 skill", "阿里云 skills 有哪些类目", "帮我找一个 skill", "browse alicloud skills", "list alicloud skill categories", "is there an alicloud skill that can...", "what alicloud skills are available", "XX Skill 的内容是什么", "我想了解阿里云 XX Skill 具体做什么","帮我安装阿里云 Skill","使用阿里云相关的skill", "阿里云 agent skill 市

1小时安装量
2
GitHub Stars
287
最近更新
11月7日
aliyun
社区

alibabacloud-ack-cli

Use when the user operates Alibaba Cloud Container Service for Kubernetes (ACK). Covers cluster lifecycle (create / modify / delete / upgrade), node pools & nodes (create, modify, delete, repair, fix CVE), addons (install / upgrade / uninstall), KubeConfig & RBAC (issue for RAM user, grant / revoke), security & policy (CVE scan/fix, policy governance, KMS, delete protection), logging / audit / alerting, intelligent O&M (check / inspect / diagnosis / auto-repair), async tasks (track / pause / res

1小时安装量
2
GitHub Stars
263
最近更新
10月10日
aliyun
社区

alibabacloud-sls-query

Alibaba Cloud SLS (Simple Log Service) log query & analysis skill. Use this skill to help users write, explain, optimize, execute, or troubleshoot SLS index search, SQL analytics, and SPL scan/pipeline statements through the aliyun CLI. Triggers: "SLS 查询", "SLS 分析", "日志查询", "日志分析", "log query", "analyze sls logs", "aliyun log query".

1小时安装量
4
GitHub Stars
261
最近更新
10月9日