Xpersona
A

Alibabacloud Elasticsearch Instance Manage

CLAWHUB · Unverified

Alibaba Cloud Elasticsearch Instance & Config Management Skill. Use for managing the lifecycle of an Elasticsearch instance (create, query, list, restart, up...

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s173swjet2yrebzqrp6hjkvmy583mxef:alibabacloud-elasticsearch-instance-manage
  1. Install using `clawhub skill install s173swjet2yrebzqrp6hjkvmy583mxef:alibabacloud-elasticsearch-instance-manage` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/sdk-team/alibabacloud-elasticsearch-instance-manage before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sdk-team-alibabacloud-elasticsearch-instance-manage/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

145,334 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: alibabacloud-elasticsearch-instance-manage
description: |
  Alibaba Cloud Elasticsearch Instance & Config Management Skill. Use for managing the lifecycle of an Elasticsearch instance (create, query, list, restart, upgrade/downgrade, node info) and for managing instance-side config such as snapshot backup and analyzer dictionaries.
  Triggers: "elasticsearch", "ES instance", "elasticsearch instance", "create ES", "query ES instance", "restart ES", "ES node", "cluster node", "upgrade ES", "downgrade ES", "scale ES", "resize ES", "ES snapshot", "ES backup", "snapshot setting", "create snapshot", "ES dict", "IK dict", "hot dict", "synonyms dict", "aliws dict", "analyzer dictionary"
---

# Elasticsearch Instance & Config Management

Manage Alibaba Cloud Elasticsearch instances and instance-side configuration via the Aliyun CLI: instance lifecycle (create / describe / list / restart / upgrade / downgrade / node info) and instance config (snapshot backup, analyzer dictionaries).

This skill uses **intent routing**: this file identifies the user's intent and dispatches to the relevant module document. Read the matched module document fully before generating any CLI command.

## Architecture

```
Alibaba Cloud Elasticsearch Management
├── Instance Lifecycle           --> references/instance-manage.md
│   ├── createInstance           (Create Instance)
│   ├── DescribeInstance         (Query Instance Details)
│   ├── ListInstance             (List Instances)
│   ├── RestartInstance          (Restart Instance)
│   ├── UpdateInstance           (Upgrade / Downgrade)
│   ├── ListAllNode              (Query Cluster Node Info)
│   ├── UpdateAdminPassword      (Update Admin Password)
│   ├── UpdateDescription        (Update Instance Name)
│   ├── UpdateInstanceChargeType (Convert pay-as-you-go to subscription)
│   ├── UpgradeInfo              (Query available upgrade versions)
│   ├── UpgradeEngineVersion     (Upgrade ES version / kernel patch)
│   ├── ListActionRecords        (Query change records / upgrade progress)
│   └── ContinueEsVersionUpgrade (Continue gray upgrade of remaining nodes)
├── Instance Config              --> references/config-manage.md
│   ├── Snapshot Management
│   │   ├── UpdateSnapshotSetting    (Set auto-snapshot policy)
│   │   ├── DescribeSnapshotSetting  (Query auto-snapshot policy)
│   │   └── CreateSnapshot           (Trigger one-shot snapshot)
│   ├── Dict Management
│   │   ├── ListDicts                (List analyzer dicts)
│   │   ├── UpdateDict               (Cold-update IK dict)
│   │   ├── UpdateHotIkDicts         (Hot-update IK dict)
│   │   ├── UpdateSynonymsDicts      (Update synonyms dict)
│   │   └── UpdateAliwsDict          (Update AliNLP dict)
│   ├── Kibana Settings
│   │   ├── DescribeKibanaSettings   (Query Kibana config)
│   │   └── UpdateKibanaSettings     (Update Kibana language)
│   └── ES Cluster YML
│       └── UpdateInstanceSettings   (Update YML config — triggers restart)
└── Plugin Management      

_meta.json

{
  "ownerId": "kn74p5w8ywv6prh40g0s82gmqh83nw54",
  "slug": "alibabacloud-elasticsearch-instance-manage",
  "version": "0.0.5",
  "publishedAt": 1783921173728
}

references/acceptance-criteria.md

# Acceptance Criteria: alibabacloud-elasticsearch-instance-manage

**Scenario**: Elasticsearch Instance Management
**Purpose**: Skill testing acceptance criteria

## Table of Contents

- [Correct CLI Command Patterns](#correct-cli-command-patterns)
- [Correct Common SDK Code Patterns (if applicable)](#correct-common-sdk-code-patterns-if-applicable)
- [Response Validation Criteria](#response-validation-criteria)
- [Security Criteria](#security-criteria)
- [References](#references)

---

## Correct CLI Command Patterns

### 1. Product — verify product name exists

#### ✅ CORRECT
```bash
aliyun elasticsearch create-instance ...
aliyun elasticsearch describe-instance ...
aliyun elasticsearch list-instance ...
aliyun elasticsearch restart-instance ...
aliyun elasticsearch update-instance ...
```

#### ❌ INCORRECT
```bash
aliyun es create-instance ...              # Wrong: product name is "elasticsearch" not "es"
aliyun Elasticsearch create-instance ...   # Wrong: product name must be lowercase
aliyun elastic create-instance ...         # Wrong: incomplete product name
```

---

### 2. Command — verify action exists under the product

#### ✅ CORRECT
```bash
aliyun elasticsearch create-instance      # Use kebab-case
aliyun elasticsearch describe-instance    # Use kebab-case
aliyun elasticsearch list-instance        # Use kebab-case
aliyun elasticsearch restart-instance     # Use kebab-case
aliyun elasticsearch update-instance      # Use kebab-case
```

#### ❌ INCORRECT
```bash
aliyun elasticsearch CreateInstance       # Wrong: use kebab-case, not PascalCase
aliyun elasticsearch createInstance       # Wrong: use kebab-case, not camelCase
aliyun elasticsearch create_instance      # Wrong: use kebab-case, not snake_case
aliyun elasticsearch createinstance       # Wrong: words must be separated by hyphens
```

---

### 3. Parameters — verify each parameter name exists for the command

#### ✅ CORRECT - create-instance
```bash
aliyun elasticsearch create-instance \
  --region cn-hangzhou \
  --es-admin-password "YourPassword123!" \
  --es-version "7.10_with_X-Pack" \
  --node-amount 2 \
  --network-config 'vpcId=vpc-xxx vswitchId=vsw-xxx vsArea=cn-hangzhou-i type=vpc' \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-elasticsearch-instance-manage/${SESSION_ID}
```

#### ❌ INCORRECT - create-instance
```bash
aliyun elasticsearch create-instance \
  --password "xxx"           # Wrong: should be --es-admin-password
  --version "7.10"           # Wrong: should be --es-version
  --nodeAmount 2             # Wrong: should be --node-amount (kebab-case)
  --networkConfig '{...}'    # Wrong: should be --network-config (kebab-case)
```

#### ✅ CORRECT - describe-instance
```bash
aliyun elasticsearch describe-instance \
  --region cn-hangzhou \
  --instance-id es-cn-xxx**** \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-elasticsearch-instance-manage/${SESSION_ID}
```

#### ❌ INCORRECT - describe-instance
```bash
aliyun elasticsearch describe-instance \
  

references/cli-installation-guide.md

# Aliyun CLI Installation & Configuration Guide

Complete guide for installing and configuring Aliyun CLI.

> **Aliyun CLI 3.3.3+**: Supports installing and using all published Alibaba Cloud product plugins. Make sure to upgrade to 3.3.3 or later for full plugin ecosystem coverage.

## Table of Contents

- [Installation](#installation)
  - [macOS](#macos)
  - [Linux](#linux)
  - [Windows](#windows)
- [Configuration](#configuration)
  - [Quick Start](#quick-start)
  - [Configuration Modes](#configuration-modes)
  - [Environment Variables](#environment-variables)
  - [Managing Multiple Profiles](#managing-multiple-profiles)
  - [Credential Priority](#credential-priority)
- [Verification](#verification)
  - [Test Authentication](#test-authentication)
  - [Debug Configuration](#debug-configuration)
- [Security Best Practices](#security-best-practices)
- [Troubleshooting](#troubleshooting)
- [Advanced Configuration](#advanced-configuration)
  - [Custom Endpoint](#custom-endpoint)
  - [Proxy Settings](#proxy-settings)
  - [Timeout Settings](#timeout-settings)
- [Next Steps](#next-steps)
- [References](#references)

---

## Installation

### macOS

**Using Homebrew (Recommended)**
```bash
brew install aliyun-cli
# Upgrade to latest
brew upgrade aliyun-cli

# Verify version (>= 3.3.3)
aliyun version
```

**Using Binary**
```bash
# Download
wget https://aliyuncli.alicdn.com/aliyun-cli-macosx-latest-amd64.tgz

# Extract
tar -xzf aliyun-cli-macosx-latest-amd64.tgz

# Move to PATH
sudo mv aliyun /usr/local/bin/

# Verify
aliyun version
```

### Linux

**Debian/Ubuntu**
```bash
# Download
wget https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-amd64.tgz

# Extract and install
tar -xzf aliyun-cli-linux-latest-amd64.tgz
sudo mv aliyun /usr/local/bin/

# Verify
aliyun version
```

**CentOS/RHEL**
```bash
# Download
wget https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-amd64.tgz

# Extract and install
tar -xzf aliyun-cli-linux-latest-amd64.tgz
sudo mv aliyun /usr/local/bin/

# Verify
aliyun version
```

**ARM64 Architecture**
```bash
# Download ARM64 version
wget https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-arm64.tgz

# Extract and install
tar -xzf aliyun-cli-linux-latest-arm64.tgz
sudo mv aliyun /usr/local/bin/
```

### Windows

**Using Binary**
1. Download from: https://aliyuncli.alicdn.com/aliyun-cli-windows-latest-amd64.zip
2. Extract the ZIP file
3. Add the directory to your PATH environment variable
4. Open new Command Prompt or PowerShell
5. Verify: `aliyun version`

**Using PowerShell**
```powershell
# Download
Invoke-WebRequest -Uri "https://aliyuncli.alicdn.com/aliyun-cli-windows-latest-amd64.zip" -OutFile "aliyun-cli.zip"

# Extract
Expand-Archive -Path aliyun-cli.zip -DestinationPath C:\aliyun-cli

# Add to PATH (requires admin privileges)
$env:Path += ";C:\aliyun-cli"
[Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)

# Verify
aliyun version
```

## Configuration

### Quick Start

All 

references/config-manage.md

# Elasticsearch Config Management

> Routing entry: [../SKILL.md](../SKILL.md)
>
> This document covers **Snapshot (backup) management**, **Dict (analyzer dictionary) management**, **Kibana settings**, and **ES cluster YML configuration** for an existing Elasticsearch instance.
> Global conventions (Authentication, Observability, common CLI args, idempotency, RAM rules) are defined in `SKILL.md` and apply to every command below.

## Table of Contents

- [Snapshot Management](#snapshot-management)
  - [1. UpdateSnapshotSetting](#1-updatesnapshotsetting)
  - [2. DescribeSnapshotSetting](#2-describesnapshotsetting)
  - [3. CreateSnapshot](#3-createsnapshot)
- [Dict Management](#dict-management)
  - [4. ListDicts](#4-listdicts)
  - [5. UpdateDict](#5-updatedict)
  - [6. UpdateHotIkDicts](#6-updatehotikdicts)
  - [7. UpdateSynonymsDicts](#7-updatesynonymsdicts)
  - [8. UpdateAliwsDict](#8-updatealiwsdict)
- [Kibana Settings](#kibana-settings)
  - [9. DescribeKibanaSettings](#9-describekibanasettings)
  - [10. UpdateKibanaSettings](#10-updatekibanasettings)
- [ES Cluster YML Configuration](#es-cluster-yml-configuration)
  - [11. UpdateInstanceSettings](#11-updateinstancesettings)
- [Common Conventions](#common-conventions)
- [Official Documentation](#official-documentation)

---

## Common Conventions

> The following short rules apply to every API in this document. Full text lives in `SKILL.md`.

| Item | Rule |
|---|---|
| Common CLI args | **`--user-agent` applies ONLY to business API commands** (e.g. `aliyun elasticsearch ...`); such commands MUST pass `--user-agent AlibabaCloud-Agent-Skills/alibabacloud-elasticsearch-instance-manage/${SESSION_ID}` (see `SKILL.md#observability` for `SESSION_ID` generation rule). **System / tool commands** (`aliyun configure`, `aliyun version`, `aliyun plugin update`, `aliyun help`, etc.) **MUST NOT** carry `--user-agent` — they do not support the flag. Each business command also appends `--connect-timeout 3 --read-timeout 10` (write op: `--read-timeout 30`). |
| Region | `--region` is REQUIRED and MUST be explicitly provided by the user. Do NOT guess. |
| InstanceId | `--instance-id` is REQUIRED and MUST be explicitly provided by the user. |
| Idempotency | All write APIs (`UpdateSnapshotSetting`, `CreateSnapshot`, `UpdateDict`, `UpdateHotIkDicts`, `UpdateSynonymsDicts`, `UpdateAliwsDict`, `UpdateKibanaSettings`, `UpdateInstanceSettings`) MUST pass `--client-token $(uuidgen)`. Use the SAME token when retrying after timeout. |
| Pre-check | All write APIs require the instance to be in `active` status. Run `aliyun elasticsearch describe-instance --region <RegionId> --instance-id <InstanceId> --cli-query "Result.status"` first. |
| OSS dict files | For `sourceType=OSS`, the OSS bucket must be in the SAME region as the ES instance and PUBLICLY READABLE. Existing dict files NOT explicitly listed with `sourceType=ORIGIN` will be DELETED — every Update*Dict call MUST include the full final desired dict list. |

---

## Sn

Sponsored

Ads related to Alibabacloud Elasticsearch Instance Manage and adjacent AI workflows.