aliyun avatar

Alibabacloud Sls Query

This is a bridge between natural language and Alibaba Cloud's Simple Log Service query engine. It helps you write, optimize, and execute SLS queries in three flavors: index search for fast filtering, SQL for analytics and aggregations, or SPL for row-level pipeline processing. The skill enforces a strict workflow that checks index configuration first, picks the right query mode based on what fields have statistics enabled, and handles time range math for you. It's built for the Aliyun CLI and includes safety rails around credential handling. If you're dealing with SLS logs regularly and want to skip the docs every time you need a GROUP BY or window function, this saves the context switching.

skills.sh installs
2.2K
GitHub stars
289
last updated
Aug 21, 2026

Install

$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-query --agent claude-code

Installs into .claude/skills of the current project.

Files

Alibaba Cloud SLS Query & Analysis

Scenario Description

Use this skill when the user wants to:

  • Explain, rewrite, optimize or execute an existing query
  • Translate a natural-language requirement into an SLS index query, SQL, or SPL statement

Prerequisites

Install Aliyun CLI

Run aliyun version to verify if version >= 3.3.8. If not installed or outdated, follow the doc references/cli-installation-guide.md to install or update.

Update Plugins

aliyun plugin update

Check Alibaba Cloud credentials configured

Run aliyun configure list to check if credentials configured. If no valid profile is shown, STOP here and ask the user to run aliyun configure outside of this session.

Security rules:

  • NEVER read, echo, or print AK/SK values
  • NEVER ask the user to paste AK/SK into the conversation
  • ONLY use aliyun configure list to check credential status

RAM Permission Requirements

Sponsors

Details

Repository
github.com/aliyun/alibabacloud-aiops-skills
Categories
DevOps & CI/CD, Documentation, Data Science & ML, Debugging, Automation & Workflows, Marketing & SEO, Sales & Marketing, Cloud & Infrastructure, CLI & Terminal, Databases
First seen
Jun 3, 2026

More from aliyun/alibabacloud-aiops-skills

All 28
1refoundai avatarevaluating-trade-offsrefoundai/lenny-skillsHelp users navigate complex product decisions by weighing competing priorities and calculating long-term value. This skill covers build-vs-buy logic, technical 2.2Kskills.sh installs
2hkuds avatarcli-anythinghkuds/cli-anythingUse when the user wants Codex to build, refine, test, validate, or list CLI-Anything harnesses for GUI applications or source repositories. Adapts the full CLI-2.2Kskills.sh installs
3nvidia avatarphysical-ai-neural-reconstructionnvidia/skillsRouter for NVIDIA NuRec/NRE: USDZ rendering, NCore conversion, 3DGS, gRPC sensor sim, PhysicalAI HF datasets. Do NOT use for SimReady or infra setup.2.1Kskills.sh installs
4k-dense-ai avatarpytorch-lightningk-dense-ai/scientific-agent-skillsDeep learning framework (PyTorch Lightning / lightning package). Organize PyTorch code into LightningModules, configure Trainers for multi-GPU/TPU, implement da2.1Kskills.sh installs
5rjyo avatarmoshi-best-practicesrjyo/moshi-skillUse when preparing or verifying a host for Moshi remote coding. Trigger this for Easy Pair host setup, SSH or preferably Mosh readiness, non-interactive shell P2.1Kskills.sh installs
6nvidia avatarnemotron-customizenvidia/skillsPlan, configure, and chain repo-native Nemotron customization steps into single-step or multi-step pipelines: curation, translation, SFT/PEFT (AutoModel or Mega2.1Kskills.sh installs