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.

searchopensearch-launchpadlocal_ase.md

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

Local Ingestion Guide

Indexes locally-processed chunks into a local OpenSearch cluster with sparse encoding. This replicates what AOSS Automatic Semantic Enrichment (ASE) does in the cloud.

  • Input: .opensearch/chunks/<index>/<file>.jsonl (from document_processing_guide)
  • Output: a searchable index with sparse-encoded chunks

Steps

1. Deploy the sparse encoding model

uv run python scripts/opensearch_ops.py deploy-model \
  --name amazon/neural-sparse/opensearch-neural-sparse-encoding-doc-v2-mini

Note the returned model_id.

2. Create the index

uv run python scripts/opensearch_ops.py create-index \
  --name <index> \
  --body '{
    "mappings": {
      "properties": {
        "text": {"type": "text"},
        "text_sparse": {"type": "rank_features"},
        "headings": {"type": "keyword"},
        "source_file": {"type": "keyword"},
        "chunk_id": {"type": "integer"}
      }
    },
    "settings": {"index": {"default_pipeline": "sparse-ingest-pipeline"}}
  }'

3. Create the sparse ingest pipeline

uv run python scripts/opensearch_ops.py create-pipeline \
  --name sparse-ingest-pipeline \
  --type ingest \
  --body '{"processors": [{"sparse_encoding": {"model_id": "<model_id>", "field_map": {"text": "text_sparse"}}}]}' \
  --index <index>

4. Bulk-index the chunks

uv run python scripts/opensearch_ops.py index-bulk \
  --source-file .opensearch/chunks/<index>/<filename>.jsonl \
  --index <index> \
  --count 1000

After this, set up the flow agent (see cli-reference — agentic search setup with --sparse).

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