# alibabacloud-sls-index-config-management

alibabacloud-sls-index-config-management manages Alibaba Cloud SLS Logstore indexes, generates index schemas from structured log samples, and tunes configurations for queries and cost.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 339 installs · ★ 300 repo stars
- Author: aliyun
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/aliyun/alibabacloud-aiops-skills/tree/HEAD/skills/storage/sls/alibabacloud-sls-index-config-management/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/alibabacloud-sls-index-config-management

## What it does

This skill guides assistants through Alibaba Cloud Simple Log Service index management using the `aliyun CLI`. It handles viewing, creating, updating, and removing Logstore index configurations. Tasks include tuning TTL, adjusting `max_text_len`, configuring full-text search, and maintaining auto-discovered field keys without accidental overwrites. Log-sample parsing can run completely offline.

Workflows are routed into specific references based on the task: direct index mutations, schema inference from sample logs, or workload tuning for SQL queries and write throughput. Before sending cloud commands, `scripts/user_agent.py` generates a session-specific user-agent identifier.

Cloud execution requires `aliyun` CLI version `3.3.8` or newer and an active profile configured via `aliyun configure`. The skill stops immediately if credentials are missing and never prompts for AccessKey secrets in the conversation.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-index-config-management -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/alibabacloud-sls-index-config-management/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/alibabacloud-sls-index-config-management/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-index-config-management -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/alibabacloud-sls-index-config-management/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-index-config-management -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/alibabacloud-sls-index-config-management/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install aliyun/alibabacloud-aiops-skills skills/storage/sls/alibabacloud-sls-index-config-management
```

2. **Manually: put the files in place**
- File: `.github/skills/alibabacloud-sls-index-config-management/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-index-config-management -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/aliyun/alibabacloud-aiops-skills --path skills/storage/sls/alibabacloud-sls-index-config-management
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/alibabacloud-sls-index-config-management/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-index-config-management -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/aliyun/alibabacloud-aiops-skills/tree/HEAD/skills/storage/sls/alibabacloud-sls-index-config-management/SKILL.md

## When to use it
- Infer a Logstore index configuration from sample structured logs offline
- Tune existing SLS indexes to lower storage costs and handle high write throughput
- Update full-text search settings and field-level index definitions safely
- Inspect current index parameters using the aliyun CLI without exposing API keys

## Example prompts
- Generate an SLS Logstore index configuration from these sample logs
- Inspect the current index in project app-logs and increase max_text_len
- Adjust our SLS index config to reduce storage spend on heavy fields

## Similar
- [vector-index-tuning](https://affpapa.org/en/nevibecode/skills/vector-index-tuning.md) — skill · 10700 installs
- [ctx-index](https://affpapa.org/en/nevibecode/skills/ctx-index.md) — skill · 1200 installs
- [magento-index-analyst](https://affpapa.org/en/nevibecode/skills/magento-index-analyst.md) — skill · 179 installs
- [index-strategies](https://affpapa.org/en/nevibecode/skills/index-strategies.md) — skill · 172 installs
- [database-management-patterns](https://affpapa.org/en/nevibecode/skills/database-management-patterns.md) — skill · 467 installs
- [reflex-process-management](https://affpapa.org/en/nevibecode/skills/reflex-process-management.md) — skill · 812 installs

From the same set: [aliyun/alibabacloud-aiops-skills](https://affpapa.org/en/nevibecode/by/aliyun/alibabacloud-aiops-skills.md) — 66 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
