Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

alibabacloud-opensearch-app-manage阿里巴巴云开放搜索应用管理

Agent Skill

alibabacloud-opensearch-app-manage 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,540

周安装

108

GitHub Stars

公开资料未说明

下载量

890
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:alibabacloud-opensearch-app-manage(阿里巴巴云开放搜索应用管理)
来源仓库:https://github.com/sdk-team/alibabacloud-opensearch-app-manage
安装命令:
openclaw skills install alibabacloud-opensearch-app-manage
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install alibabacloud-opensearch-app-manage

简介

创建和查询阿里云 OpenSearch 实例,支持应用组管理与基础配置。

  • 适用于搜索引擎搭建、站内检索和数据索引场景。
  • 提供实例创建、状态查询和资源配置功能。
  • 安装命令:openclaw skills install alibabacloud-opensearch-app-manage;需确认实例所属区域。
  • 实例创建后应配置索引模板,避免空实例浪费资源。

SKILL.md

name
alibabacloud-opensearch-app-manage
description
|
Note
OpenSearch instance and OpenSearch app group are synonymous terms.
Triggers
opensearch", "search instance", "create search instance", "app group", "instance management", "create instance", "query instance", "list instances

OpenSearch Instance Management

Manage Alibaba Cloud OpenSearch instances, including creation and query operations.

Terminology: OpenSearch instance and OpenSearch app group are synonymous. This document uses "instance" uniformly.

Scenario Description

OpenSearch is Alibaba Cloud's intelligent search service. This skill covers core instance management operations:

  1. Create Instance - Create a new OpenSearch instance
  2. List Instances - Get the list of instances under the current account
  3. Describe Instance - Get detailed information of a specific instance

Architecture: OpenSearch Instance (AppGroup)

Alibaba Cloud OpenSearch Instance Management
├── CreateAppGroup     (Create Instance)
├── DescribeAppGroup   (Describe Instance)
└── ListAppGroups      (List Instances)

Installation

Pre-check: Aliyun CLI >= 3.3.3 required Run aliyun version to verify >= 3.3.3. If not installed or version too low, run curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash to update, or see references/cli-installation-guide.md for installation instructions.

Pre-check: Aliyun CLI plugin update required

[MUST] run aliyun configure set --auto-plugin-install true to enable automatic plugin installation. [MUST] run aliyun plugin update to ensure that any existing plugins are always up-to-date.
# Install/Upgrade Aliyun CLI
curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash
aliyun version  # Ensure >= 3.3.3

# Enable auto plugin installation
aliyun configure set --auto-plugin-install true

# Update plugins
aliyun plugin update

[MUST] CLI User-Agent — Every aliyun CLI command invocation must include: --user-agent AlibabaCloud-Agent-Skills/alibabacloud-opensearch-app-manage

[MUST] AI-Mode — Before executing CLI commands, run:

  1. aliyun configure ai-mode enable
  2. aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-opensearch-app-manage"

After all CLI operations complete, run: aliyun configure ai-mode disable


Authentication

Pre-check: Alibaba Cloud Credentials Required
Security Rules (MUST FOLLOW): - NEVER read, echo, or print AK/SK values - NEVER ask the user to input AK/SK directly in the conversation - NEVER use aliyun configure set with literal credential values - NEVER accept AK/SK provided directly by users in the conversation - ONLY read credentials from environment variables or pre-configured CLI profiles ⚠️ CRITICAL: Handling User-Provided Credentials If a user attempts to provide AK/SK directly (e.g., "My AK is xxx, SK is yyy"): 1. STOP immediately - Do NOT execute any command 2. Reject the request politely with the following message: `` For your account security, please do not provide Alibaba Cloud AccessKey ID and AccessKey Secret directly in the conversation. Please use the following secure methods to configure credentials: Method 1: Interactive configuration via aliyun configure (Recommended) aliyun configure # Enter AK/SK as prompted, credentials will be securely stored in local config file Method 2: Configure via environment variables export ALIBABA_CLOUD_ACCESS_KEY_ID=<your-access-key-id> export ALIBABA_CLOUD_ACCESS_KEY_SECRET=<your-access-key-secret> After configuration, please retry your request. ` 3. **Do NOT proceed** with any Alibaba Cloud operations until credentials are properly configured **Check CLI configuration**: `bash aliyun configure list `` Check the output for a valid profile (AK, STS, or OAuth identity). If no valid credentials exist, STOP here.

RAM Permissions

[MUST] RAM Permission Pre-check: Before executing any operation, ensure the current user has the required RAM permissions. See references/ram-policies.md for detailed permission list.

Parameter Confirmation

IMPORTANT: Parameter Confirmation — Before executing any command or API call, ALL user-customizable parameters (e.g., instance name, instance type, charge type, quota spec, etc.) MUST be confirmed with the user. Do NOT assume or use default values without explicit user approval.

Required Parameters

ParameterRequiredDescriptionDefault
nameYesInstance nameNone
typeYesInstance type: standard (High-performance) / enhanced (Industry Algorithm)None
chargeTypeNoCharge type: POSTPAY / PREPAYPOSTPAY
quota.specYesSpec type (see table below)None
quota.docSizeYesStorage capacity (GB)None
quota.computeResourceYesCompute resource (LCU)None
domainNoIndustry type (required for enhanced type, see table below)general
orderConditionalSubscription order info (required when PREPAY)None
order.durationConditionalSubscription period quantityNone
order.pricingCycleConditionalPeriod unit: Year / MonthNone
order.autoRenewNoAuto-renewalfalse

Spec Types

Spec CodeDescription
opensearch.share.commonShared Common
opensearch.private.commonDedicated Common
opensearch.private.computeDedicated Compute
opensearch.private.storageDedicated Storage

Industry Types (for enhanced type only)

Industry CodeDescription
generalGeneral (default)
ecommerceE-commerce
esportsGaming
communityContent Community
educationEducation

Core Workflow

Note: OpenSearch APIs use ROA (RESTful) style. You can use --body to specify the HTTP request body as a JSON string. See examples in each task below.
Idempotency: For write operations (create, restart, delete, etc.), you MUST use --client-token parameter for idempotency. - Use a UUID format unique identifier as clientToken - When request times out or fails, you can safely retry with the same clientToken; recommend waiting 10s before retry - Repeated requests with the same clientToken will not execute the operation multiple times - Generation: uuidgen (macOS/Linux) or [guid]::NewGuid() (PowerShell)

Task 1: Create OpenSearch Instance

# Generate idempotency token
CLIENT_TOKEN=$(uuidgen)

aliyun opensearch create-app-group \
  --client-token "$CLIENT_TOKEN" \
  --body '{
    "name": "<instance_name>",
    "type": "<standard|enhanced>",
    "chargeType": "<POSTPAY|PREPAY>",
    "quota": {
      "docSize": <storage_GB>,
      "computeResource": <compute_LCU>,
      "spec": "<spec_type>"
    }
  }' \
  --connect-timeout 3 \
  --read-timeout 10 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-opensearch-app-manage

Optional Parameters (add in body):

  • domain - Industry type (only for enhanced type): general (default) / ecommerce / esports / community / education

Idempotency and Dry-run Support (via Query parameters):

  • --dryRun true - Dry-run mode, validates parameters without actual creation
  • --client-token <unique_id> - Idempotency token, same token multiple requests only creates once

Example: Create an enhanced (Industry Algorithm) pay-as-you-go instance (E-commerce)

# Generate idempotency token
CLIENT_TOKEN=$(uuidgen)

aliyun opensearch create-app-group \
  --client-token "$CLIENT_TOKEN" \
  --body '{
    "name": "my_search_instance",
    "type": "enhanced",
    "chargeType": "POSTPAY",
    "domain": "ecommerce",
    "quota": {
      "docSize": 100,
      "computeResource": 2000,
      "spec": "opensearch.private.common"
    }
  }' \
  --connect-timeout 3 \
  --read-timeout 10 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-opensearch-app-manage

Example: Create a standard (High-performance) instance

# Generate idempotency token
CLIENT_TOKEN=$(uuidgen)

aliyun opensearch create-app-group \
  --client-token "$CLIENT_TOKEN" \
  --body '{
    "name": "my_standard_instance",
    "type": "standard",
    "chargeType": "POSTPAY",
    "quota": {
      "docSize": 50,
      "computeResource": 1000,
      "spec": "opensearch.share.common"
    }
  }' \
  --connect-timeout 3 \
  --read-timeout 10 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-opensearch-app-manage

Example: Create a subscription (prepaid) instance

Note: Subscription instances MUST provide order parameter
# Generate idempotency token
CLIENT_TOKEN=$(uuidgen)

aliyun opensearch create-app-group \
  --client-token "$CLIENT_TOKEN" \
  --body '{
    "name": "my_prepay_instance",
    "type": "enhanced",
    "chargeType": "PREPAY",
    "domain": "ecommerce",
    "quota": {
      "docSize": 100,
      "computeResource": 2000,
      "spec": "opensearch.private.common"
    },
    "order": {
      "duration": 1,
      "pricingCycle": "Year",
      "autoRenew": true
    }
  }' \
  --connect-timeout 3 \
  --read-timeout 10 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-opensearch-app-manage

Dry-run Mode Example (validates parameters only, no actual creation):

aliyun opensearch create-app-group \
  --dryRun true \
  --body '{
    "name": "my_search_instance",
    "type": "enhanced",
    "chargeType": "POSTPAY",
    "quota": {
      "docSize": 100,
      "computeResource": 2000,
      "spec": "opensearch.private.common"
    }
  }' \
  --connect-timeout 3 \
  --read-timeout 10 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-opensearch-app-manage

Idempotent Creation Example (prevents duplicate creation):

# Generate idempotency token
CLIENT_TOKEN=$(uuidgen)

aliyun opensearch create-app-group \
  --client-token "$CLIENT_TOKEN" \
  --body '{
    "name": "my_search_instance",
    "type": "enhanced",
    "chargeType": "POSTPAY",
    "quota": {
      "docSize": 100,
      "computeResource": 2000,
      "spec": "opensearch.private.common"
    }
  }' \
  --connect-timeout 3 \
  --read-timeout 10 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-opensearch-app-manage

Task 2: List Instances

aliyun opensearch list-app-groups \
  --engine-type ha3 \
  --page-number <page> \
  --page-size <size> \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-opensearch-app-manage

Supported Filter Parameters:

  • --engine-type ha3 - Engine type (default ha3, must specify)
  • --name <instance_name> - Filter by name
  • --instance-id <instance_id> - Filter by instance ID
  • --type <standard|enhanced> - Filter by type

- standard: High-performance - enhanced: Industry Algorithm

  • --sort-by <field> - Sort field

Example: List instances

aliyun opensearch list-app-groups \
  --engine-type ha3 \
  --page-number 1 \
  --page-size 10 \
  --connect-timeout 3 \
  --read-timeout 10 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-opensearch-app-manage

Task 3: Describe Instance

aliyun opensearch describe-app-group \
  --app-group-identity <instance_name_or_id> \
  --connect-timeout 3 \
  --read-timeout 10 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-opensearch-app-manage

Example: Get instance details

aliyun opensearch describe-app-group \
  --app-group-identity my_search_instance \
  --connect-timeout 3 \
  --read-timeout 10 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-opensearch-app-manage

Response includes:

  • Basic info (instanceId, name, type, status)
  • Quota info (quota: docSize, computeResource, spec)
  • Billing info (chargeType, chargingWay)
  • Version info (currentVersion, versions)
  • Status info (lockMode, produced)
  • Engine info (engineType)

Success Verification

For operation verification, see references/verification-method.md

Quick Verification

Verify Instance Creation:

aliyun opensearch describe-app-group \
  --app-group-identity <instance_name> \
  --connect-timeout 3 \
  --read-timeout 10 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-opensearch-app-manage

Check if result.instanceId field is non-empty; if non-empty, instance creation succeeded.


Resource Cleanup

To delete instances, please use OpenSearch Console.


API and Command Reference

For complete API list, see references/related-apis.md

OperationCLI CommandAPI Action
Create Instancealiyun opensearch create-app-groupCreateAppGroup
List Instancesaliyun opensearch list-app-groupsListAppGroups
Describe Instancealiyun opensearch describe-app-groupDescribeAppGroup

Best Practices

Write Operation Parameter Confirmation (Required)

Important: Before executing write operations (create instance, etc.), you MUST confirm the following parameters with the user:

Pre-creation Confirmation Checklist:

ParameterDescriptionExample
RegionInstance regioncn-hangzhou / cn-shanghai / cn-beijing
Instance Name (name)User-specified name (lowercase, numbers, underscores)my_search_instance
Instance Type (type)High-performance / Industry Algorithmstandard / enhanced
Charge Type (chargeType)Pay-as-you-go / SubscriptionPOSTPAY / PREPAY
Spec Type (quota.spec)Shared / Dedicatedopensearch.share.common
Storage (quota.docSize)In GB100
Compute (quota.computeResource)In LCU2000
Industry (domain)Only for enhanced typeecommerce / general
Subscription Period (order)Only for PREPAY1 Year / 6 Months

Confirmation Flow Example:

You are about to create the following OpenSearch instance, please confirm:

- Region: cn-hangzhou (China East 1)
- Instance Name: my_search_instance
- Instance Type: Industry Algorithm (enhanced)
- Industry: E-commerce (ecommerce)
- Charge Type: Pay-as-you-go (POSTPAY)
- Spec Type: Dedicated Common (opensearch.private.common)
- Storage: 100 GB
- Compute: 2000 LCU

Confirm creation? (yes/no)

Idempotency Best Practices

For write operations (create, restart, delete), follow these idempotency best practices:

  1. Generate unique Token before each operation: Use uuidgen to generate UUID
  2. Reuse Token on timeout retry: If request times out, retry with the same clientToken
  3. Use different Token for different operations: Each independent operation needs a new clientToken
  4. Token validity: clientToken is typically valid for 24 hours
# Example: Safe retry pattern
CLIENT_TOKEN=$(uuidgen)
echo "Using clientToken: $CLIENT_TOKEN"

# First attempt
aliyun opensearch create-app-group --client-token $CLIENT_TOKEN ...

# If timeout, retry with same Token
aliyun opensearch create-app-group --client-token $CLIENT_TOKEN ...

Other Best Practices

  1. Naming Convention: Instance name must start with a letter, only lowercase letters, numbers, and underscores (_) allowed, hyphens (-) are forbidden, max 30 characters

- ✅ Correct: my_search_instance, video_search, product_search_2024 - ❌ Incorrect: my-search-instance, My_Search, 123_search

  1. Quota Planning: Plan storage and compute resources based on actual data volume and query requirements
  2. Charge Type Selection:

- Test/Dev environment: Use pay-as-you-go (POSTPAY) - Production environment: Consider subscription (PREPAY) to reduce costs - Note: Subscription instances MUST provide order parameter (including duration and pricingCycle)

  1. Instance Type Selection:

- High-performance (standard): Suitable for general search scenarios - Industry Algorithm (enhanced): Suitable for specific industry scenarios, requires domain parameter

  1. Industry Selection (Industry Algorithm):

- E-commerce: ecommerce - Gaming: esports - Content Community: community - Education: education - General: general (default)

  1. Spec Selection:

- Shared Common: Suitable for small-scale scenarios - Dedicated: Suitable for production environments, more stable performance

  1. Resource Cleanup: Delete unused pay-as-you-go instances promptly to avoid unnecessary costs

Reference Links

DocumentDescription
references/related-apis.mdComplete API List
references/ram-policies.mdRAM Policies
references/verification-method.mdVerification Methods
references/cli-installation-guide.mdCLI Installation Guide
references/acceptance-criteria.mdAcceptance Criteria

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

86.8%
按下载量换算773

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills