/alibabacloud-tair-ai-assistant
Alibaba Cloud Tair (Redis OSS-Compatible) Database AI Assistant. For Tair/Redis instance management, performance diagnostics, memory analysis, hotspot key detection, latency troubleshooting, parameter tuning, connection session analysis. Use when user questions involve Tair,
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-tair-ai-assistant --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/alibabacloud-tair-ai-assistant
Context preview
The summary Claude sees to decide when to auto-load this skill.
Alibaba Cloud Tair (Redis OSS-Compatible) Database AI Assistant. For Tair/Redis instance management, performance diagnostics, memory analysis, hotspot key detection, latency troubleshooting, parameter tuning, connection session analysis. Use when user questions involve Tair,
SKILL.md
alibabacloud-tair-ai-assistant.SKILL.mdname: alibabacloud-tair-ai-assistant
description: |
Alibaba Cloud Tair (Redis OSS-Compatible) Database AI Assistant. For Tair/Redis instance management, performance diagnostics, memory analysis, hotspot key detection, latency troubleshooting, parameter tuning, connection session analysis.
Use when user questions involve Tair, Redis, instance IDs starting with r-, memory analysis, hotspot keys, eviction policy, big key detection, etc.
Tair Database AI Assistant
This Skill focuses on **Alibaba Cloud Tair (Redis OSS-Compatible) database** intelligent O&M, invoking the get-yao-chi-agent API through the aliyun CLI DAS plugin for diagnostics and analysis.
**Architecture**: `Aliyun CLI` → `DAS Plugin (Signature V3)` → `get-yao-chi-agent API` → Tair Intelligent Diagnostics
Supported Capabilities
| Capability | Description | |------------|-------------| | Instance List Query | List and filter Tair/Redis instances by region, type, status | | Memory Usage Analysis | Memory consumption breakdown, fragmentation ratio, eviction statistics | | Hotspot Key Detection | Hot key identification, access frequency analysis, cache optimization | | Big Key Analysis | Large key detection, memory distribution analysis, optimization suggestions | | Latency Diagnostics | Command latency analysis, slow command detection, network latency troubleshooting | | Slow Log Analysis | Slow command log query, high-latency operation identification | | Parameter Tuning | Instance parameter explanation, configuration suggestions, performance impact analysis | | Connection Session Analysis | Connection count monitoring, client session troubleshooting, connection pool optimization | | Backup Status Check | Backup completion verification, retention policy, recovery point in time | | Performance Monitoring | QPS/TPS/hit rate/bandwidth and other core metrics analysis | | Expiring Instance Query | Subscription instance expiration reminder | | Security Configuration Audit | Whitelist, SSL/TLS, password policy, security audit | | Storage Optimization | Data structure optimization, TTL strategy, memory efficiency improvement | | Proxy Diagnostics | Proxy layer performance analysis, connection routing, bandwidth bottleneck detection |
Installation
> **Pre-check: Aliyun CLI >= 3.3.1 required** > Run `aliyun version` to verify >= 3.3.1. If not installed or version too low, > see [references/cli-installation-guide.md](references/cli-installation-guide.md) for installation instructions. > Then **[MUST]** run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation.
# Install aliyun CLI
curl -fsSL https://aliyuncli.alicdn.com/install.sh | bash
aliyun version # Verify >= 3.3.1
# Enable automatic plugin installation
aliyun configure set --auto-plugin-install true
# Install DAS plugin (get-yao-chi-agent requires plugin for Signature V3 support)
aliyun plugin install --names aliyun-cli-das
# Update all installed plugins to latest version
aliyun plugin update
# Install jq (for JSON response parsing)
# macOS:
brew install jq
# Ubuntu/Debian:
# sudo apt-get install jq
Parameter Confirmation
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call, > ALL user-customizable parameters (e.g., RegionId, instance names, CIDR blocks, > passwords, domain names, resource specifications, etc.) MUST be confirmed with the > user. Do NOT assume or use default values without explicit user approval.
| Parameter | Required/Optional | Description | Default | |-----------|-------------------|-------------|---------| | `query` | Required | Natural language query content (including region, instance info) | - | | `--session-id` | Optional | Session ID for multi-turn conversation | - | | `--profile` | Optional | aliyun CLI profile name | default |
Authentication
This Skill relies on the **aliyun CLI default credential chain** for authentication — no explicit AK/SK handling is required in the Skill workflow.
The CLI automatically resolves credentials in the following priority order: 1. `--profile` flag on the command line 2. `ALIBABA_CLOUD_PROFILE` environment variable 3. `ALIBABA_CLOUD_ACCESS_KEY_ID` / `ALIBABA_CLOUD_ACCESS_KEY_SECRET` environment variables 4. Configuration file `~/.aliyun/config.json` (current profile) 5. ECS Instance RAM Role (if running on ECS)
For credential setup and configuration modes (OAuth, AK, StsToken, RamRoleArn, EcsRamRole, etc.), see [references/cli-installation-guide.md](references/cli-installation-guide.md).
RAM Policy
See [references/ram-policies.md](references/ram-policies.md)
Core Workflow
All intelligent O&M operations are invoked through `scripts/call_yaochi_agent.sh`, which wraps `aliyun das get-yao-chi-agent` (DAS plugin kebab-case command, supports Signature V3) with streaming response parsing.
**Before executing any CLI command, AI-Mode must be enabled; after workflow ends, it must be disabled:**
# [MUST] Enable AI-Mode before executing CLI commands
aliyun configure ai-mode enable
aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-tair-ai-assistant"
# Instance management
bash $SKILL_DIR/scripts/call_yaochi_agent.sh "List Tair instances in Hangzhou region"
bash $SKILL_DIR/scripts/call_yaochi_agent.sh "Show detailed configuration of instance r-xxx"
# Performance diagnostics
bash $SKILL_DIR/scripts/call_yaochi_agent.sh "Analyze instance r-xxx performance in the last hour"
bash $SKILL_DIR/scripts/call_yaochi_agent.sh "Show slow commands of instance r-xxx"
# Memory analysis
bash $SKILL_DIR/scripts/call_yaochi_agent.sh "Analyze memory usage of instance r-xxx"
bash $SKILL_DIR/scripts/call_yaochi_agent.sh "Detect big keys in instance r-xxx"
# Hotspot key detection
bash $SKILL_DIR/scripts/call_yaochi_agent.sh "Find hotspot keys in instance r-xxx"
# Parameter tuning
bash $SKILL_DIR/scripts/call_yaochi_agent.sh "How to tune maxmemory-policy for ins
Read more
name: alibabacloud-tair-ai-assistant description: | Alibaba Cloud Tair (Redis OSS-Compatible) Database AI Assistant. For Tair/Redis instance management, performance diagnostics, memory analysis, hotspot key detection, latency troubleshooting, parameter tuning, connection session analysis. Use when user questions involve Tair, Redis, instance IDs starting with r-, memory analysis, hotspot keys, eviction policy, big key detection, etc.
Tair Database AI Assistant
This Skill focuses on **Alibaba Cloud Tair (Redis OSS-Compatible) database** intelligent O&M, invoking the get-yao-chi-agent API through the aliyun CLI DAS plugin for diagnostics and analysis.
**Architecture**: `Aliyun CLI` → `DAS Plugin (Signature V3)` → `get-yao-chi-agent API` → Tair Intelligent Diagnostics
Supported Capabilities
| Capability | Description | |------------|-------------| | Instance List Query | List and filter Tair/Redis instances by region, type, status | | Memory Usage Analysis | Memory consumption breakdown, fragmentation ratio, eviction statistics | | Hotspot Key Detection | Hot key identification, access frequency analysis, cache optimization | | Big Key Analysis | Large key detection, memory distribution analysis, optimization suggestions | | Latency Diagnostics | Command latency analysis, slow command detection, network latency troubleshooting | | Slow Log Analysis | Slow command log query, high-latency operation identification | | Parameter Tuning | Instance parameter explanation, configuration suggestions, performance impact analysis | | Connection Session Analysis | Connection count monitoring, client session troubleshooting, connection pool optimization | | Backup Status Check | Backup completion verification, retention policy, recovery point in time | | Performance Monitoring | QPS/TPS/hit rate/bandwidth and other core metrics analysis | | Expiring Instance Query | Subscription instance expiration reminder | | Security Configuration Audit | Whitelist, SSL/TLS, password policy, security audit | | Storage Optimization | Data structure optimization, TTL strategy, memory efficiency improvement | | Proxy Diagnostics | Proxy layer performance analysis, connection routing, bandwidth bottleneck detection |
Installation
> **Pre-check: Aliyun CLI >= 3.3.1 required** > Run `aliyun version` to verify >= 3.3.1. If not installed or version too low, > see [references/cli-installation-guide.md](references/cli-installation-guide.md) for installation instructions. > Then **[MUST]** run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation.
# Install aliyun CLI curl -fsSL https://aliyuncli.alicdn.com/install.sh | bash aliyun version # Verify >= 3.3.1 # Enable automatic plugin installation aliyun configure set --auto-plugin-install true # Install DAS plugin (get-yao-chi-agent requires plugin for Signature V3 support) aliyun plugin install --names aliyun-cli-das # Update all installed plugins to latest version aliyun plugin update # Install jq (for JSON response parsing) # macOS: brew install jq # Ubuntu/Debian: # sudo apt-get install jq
Parameter Confirmation
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call, > ALL user-customizable parameters (e.g., RegionId, instance names, CIDR blocks, > passwords, domain names, resource specifications, etc.) MUST be confirmed with the > user. Do NOT assume or use default values without explicit user approval.
| Parameter | Required/Optional | Description | Default | |-----------|-------------------|-------------|---------| | `query` | Required | Natural language query content (including region, instance info) | - | | `--session-id` | Optional | Session ID for multi-turn conversation | - | | `--profile` | Optional | aliyun CLI profile name | default |
Authentication
This Skill relies on the **aliyun CLI default credential chain** for authentication — no explicit AK/SK handling is required in the Skill workflow.
The CLI automatically resolves credentials in the following priority order: 1. `--profile` flag on the command line 2. `ALIBABA_CLOUD_PROFILE` environment variable 3. `ALIBABA_CLOUD_ACCESS_KEY_ID` / `ALIBABA_CLOUD_ACCESS_KEY_SECRET` environment variables 4. Configuration file `~/.aliyun/config.json` (current profile) 5. ECS Instance RAM Role (if running on ECS)
For credential setup and configuration modes (OAuth, AK, StsToken, RamRoleArn, EcsRamRole, etc.), see [references/cli-installation-guide.md](references/cli-installation-guide.md).
RAM Policy
See [references/ram-policies.md](references/ram-policies.md)
Core Workflow
All intelligent O&M operations are invoked through `scripts/call_yaochi_agent.sh`, which wraps `aliyun das get-yao-chi-agent` (DAS plugin kebab-case command, supports Signature V3) with streaming response parsing.
**Before executing any CLI command, AI-Mode must be enabled; after workflow ends, it must be disabled:**
# [MUST] Enable AI-Mode before executing CLI commands aliyun configure ai-mode enable aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-tair-ai-assistant"
# Instance management bash $SKILL_DIR/scripts/call_yaochi_agent.sh "List Tair instances in Hangzhou region" bash $SKILL_DIR/scripts/call_yaochi_agent.sh "Show detailed configuration of instance r-xxx" # Performance diagnostics bash $SKILL_DIR/scripts/call_yaochi_agent.sh "Analyze instance r-xxx performance in the last hour" bash $SKILL_DIR/scripts/call_yaochi_agent.sh "Show slow commands of instance r-xxx" # Memory analysis bash $SKILL_DIR/scripts/call_yaochi_agent.sh "Analyze memory usage of instance r-xxx" bash $SKILL_DIR/scripts/call_yaochi_agent.sh "Detect big keys in instance r-xxx" # Hotspot key detection bash $SKILL_DIR/scripts/call_yaochi_agent.sh "Find hotspot keys in instance r-xxx" # Parameter tuning bash $SKILL_DIR/scripts/call_yaochi_agent.sh "How to tune maxmemory-policy for ins
Official Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.
Other skills on alibabacloud-aiops-skills.
- /alibabacloud-agentbay-aio-skills
Execute code in a secure cloud sandbox via AgentBay SDK. Use this skill whenever users request to run, execute, or evaluate code (Python, JavaScript, R, Java), including plotting charts, running scripts, or viewing code output. Covers requests like "run this code", "execute
Open skill - /alibabacloud-agentloop-dataset
Operate Alibaba Cloud AgentLoop Dataset resources with aliyun CLI and the AgentLoop API version 2026-05-20. Use when requests concern AgentLoop datasets, data rows, Dataset schemas, embedding fields, semantic search, ExecuteQuery, AgentSpace data, 数据集, 数据写入, 数据查询, 语义检索, or ask
Open skill - /alibabacloud-agentloop-evaluation
Orchestrate AgentLoop evaluation workflows through the Aliyun CLI plugin with safe previews, saved evaluator and evaluator-skill management, one-shot sample tests, trace or dataset batch runs, polling, and result inspection. Analyze evaluation quality and low-score cases from
Open skill - /alibabacloud-agentloop-experience
Proactively use AgentLoop Recall to retrieve prior Alibaba Cloud AgentLoop experience through the bundled SearchContext CLI whenever the user asks or implies that prior work may help. Trigger for requests to check, search, recall, retrieve, look up, review, consult, reference,
Open skill - /alibabacloud-agentloop-management
AgentLoop APM接入 / AI可观测接入 / 应用监控接入 / 自研探针 / 探针安装. Use for Python aliyun-bootstrap (aliyun-instrument), Java AliyunJavaAgent, Golang instgo, Node.js cms_node_sdk, PHP/.NET OpenTelemetry, ack-onepilot, LicenseKey, AgentLoop workspace agentloop-*. Also for LangChain, Dify,
Open skill - /alibabacloud-avatar-video
Use Alibaba Cloud DashScope API and LingMou to generate AI video and speech. Seven capabilities — (1) LivePortrait talking-head (image + audio → video, two-step), (2) EMO talking-head, (3) AA/AnimateAnyone full-body animation (three-step), (4) T2I text-to-image (Wan 2.x, default
Open skill

