Index of every page on this site: llms.txt
All skills
Run it yourself

Build search applications and query log analytics data with OpenSearch. Use this skill when the user mentions OpenSearch, search app, index setup, search architecture, semantic search, vector search, hybrid search, BM25, dense vector, sparse vector, agentic search, RAG, embeddings, KNN, PDF ingestion, document processing, or any related search topic. Also use for log analytics and observability — when the user wants to set up log ingestion, query logs with PPL, analyze error patterns, set up index lifecycle policies, investigate traces, or check stack health. Activate even if the user says log analysis, Fluent Bit, Fluentd, Logstash, syslog, traceId, OpenTelemetry, or log analytics without mentioning OpenSearch.

Use this Skill: https://skilld.dev/gh/opensearch-project/opensearch-agent-skills/opensearch-skills

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

cloudaws-setupaosdomain-01-provision.md

≈715 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Amazon OpenSearch Service Domain — Step 1: Provision Domain

This guide covers creating and configuring an Amazon OpenSearch Service Domain (managed cluster). Follow it after prepare_aws_deployment() returns deployment_target: "domain".

Prerequisites

Before starting:

  1. Read .opensearch-deploy-state.json for current deployment state
  2. Confirm AWS credentials are valid: aws sts get-caller-identity (via AWS API MCP)
  3. Verify required MCP servers are connected: awslabs.aws-api-mcp-server, opensearch-mcp-server
  4. Save the AWS account ID and principal ARN to the state file

State Input

From .opensearch-deploy-state.json:

  • deployment_target: "domain"
  • search_strategy: "agentic" or other

Step 1: Get Latest OpenSearch Version

Before creating the domain, fetch the latest available OpenSearch version:

aws opensearch list-versions

This returns all supported versions. Pick the latest OpenSearch_X.Y version (highest major, then minor). Ignore Elasticsearch_* versions.

For agentic search, confirm the selected version is 3.3 or higher.

Step 2: Create Domain

Use the AWS API MCP server with the version from Step 1:

aws opensearch create-domain
  --domain-name <domain-name>
  --engine-version <latest-version-from-step-1>
  --cluster-config InstanceType=t3.medium.search,InstanceCount=1
  --ebs-options EBSEnabled=true,VolumeType=gp3,VolumeSize=100
  --node-to-node-encryption-options Enabled=true
  --encryption-at-rest-options Enabled=true
  --domain-endpoint-options EnforceHTTPS=true

For production, use larger instances (r6g.large.search, 3+ data nodes, 3 dedicated leaders).

Step 3: Enable Fine-Grained Access Control

aws opensearch update-domain-config
  --domain-name <domain-name>
  --advanced-security-options Enabled=true,InternalUserDatabaseEnabled=true,MasterUserOptions={MasterUserName=admin,MasterUserPassword=<strong-password>}

Set up:

  • Master user credentials
  • Role-based access control

Step 4: Configure Network Access

Public access (development):

  • Set IP-based access policies
  • Use fine-grained access control

VPC access (production):

  • Deploy within VPC, configure security groups

Step 5: Wait for Domain Active

Poll until domain is active (typically 10-15 minutes):

aws opensearch describe-domain --domain-name <domain-name>

Wait for:

  • Processing: false
  • DomainStatus.Endpoint: available

State Output

Update .opensearch-deploy-state.json:

{
  "step_completed": "provision-domain",
  "aws_account_id": "<from sts get-caller-identity>",
  "aws_region": "<configured region>",
  "principal_arn": "<from sts get-caller-identity>",
  "resource_name": "<domain-name>",
  "resource_endpoint": "<domain-endpoint-url>"
}

Next Step

Proceed to Domain Deploy Search.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert3d4 checks · Risk SAFE
  • Gen Agent Trust Hub5d

    The skill provides a comprehensive set of tools for OpenSearch development, including data ingestion, deployment to AWS/Aiven, and observability analytics. It implements robust security measures such as SSRF protection for remote data loading. Potential security considerations include the ingestion of unstructured data (Indirect Prompt Injection surface) and the transmission of feedback to a third-party domain.

  • Socket3d

    5 alerts: gptSecurity, gptAnomaly

  • Snyk5d

    Risk: CRITICAL · 3 issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at c4f7b1e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 6 days ago
compatibility
Requires Docker and uv. AWS deployment requires AWS credentials.
metadata
{
  "author": "opensearch-project",
  "version": "2.0"
}

README badge

README badge for opensearch-project/opensearch-agent-skills/opensearch-skills