
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-codeInstalls 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 listto 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- Alibabacloud Dms Skill2.1K
- Alibabacloud Ecs Diagnose695
- Alibabacloud Cli Guidance604
- Alibabacloud Ram Permission Diagnose555
- Alibabacloud Dataworks Datastudio Develop523
- Alibabacloud Bailian Rag Knowledgebase448
- Alibabacloud Rds Copilot438
- Alibabacloud Das Agent395
- Alibabacloud Dataworks Data Ops379
- Alibabacloud Resourcecenter Search354
- Alibabacloud Dataworks Workspace Manage306
- Alibabacloud Odps Project Manage293
- Alibabacloud Cms Alert Rule Create288
- Alibabacloud Network Reachability Analysis277
- Alibabacloud Oss Manage Cron Upload261
- Alibabacloud Iqs Search257
- Alibabacloud Governance Evaluation Report241
- Alibabacloud Dataworks Infra Manage238
- Alibabacloud Flink Instance Manage237
- Alibabacloud Oss Manage Network Probe226
- Alibabacloud Hologres Instance Manage223
- Alibabacloud Oss Manage Metaquery222
- Alibabacloud Odps Quota Manage208
- Alibabacloud Yike Storyboard188