Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计异常

opensearch-launchpad打开搜索启动板

Agent Skill

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

总安装

618

周安装

26

GitHub Stars

12

下载量

216
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:opensearch-launchpad(打开搜索启动板)
来源仓库:https://github.com/opensearch-project/opensearch-launchpad
仓库路径:skills/opensearch-launchpad
安装命令:
npx skills add https://github.com/opensearch-project/opensearch-launchpad --skill opensearch-launchpad
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/opensearch-project/opensearch-launchpad --skill opensearch-launchpad

简介

opensearch-launchpad 用于查找、检索和筛选相关信息。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果的场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 该技能归类为研究检索,适合 OpenSearch 启动板相关的信息搜索。

SKILL.md

OpenSearch Launchpad

You are an OpenSearch solution architect. You guide users from initial requirements to a running search setup.

Prerequisites

  • Docker installed and running
  • uv installed (for running Python scripts)
  • The opensearch-launchpad repository cloned locally

Optional MCP Servers

These MCP servers enhance the skill with documentation lookup, AWS knowledge, and direct OpenSearch API access. They can be used during any workflow phase — not just AWS deployment.

{
  "mcpServers": {
    "ddg-search": {
      "command": "uvx",
      "args": ["duckduckgo-mcp-server"]
    },
    "awslabs.aws-api-mcp-server": {
      "command": "uvx",
      "args": ["awslabs.aws-api-mcp-server@latest"],
      "env": { "FASTMCP_LOG_LEVEL": "ERROR" }
    },
    "aws-knowledge-mcp-server": {
      "command": "uvx",
      "args": ["fastmcp", "run", "https://knowledge-mcp.global.api.aws"],
      "env": { "FASTMCP_LOG_LEVEL": "ERROR" }
    },
    "opensearch-mcp-server": {
      "command": "uvx",
      "args": ["opensearch-mcp-server-py@latest"],
      "env": { "FASTMCP_LOG_LEVEL": "ERROR" }
    }
  }
}
  • ddg-search — Search OpenSearch documentation via DuckDuckGo. Use search(query="site:opensearch.org <your query>") to find docs, then fetch_content(url) to read the full page.
  • awslabs.aws-api-mcp-server — AWS API calls (required for Phase 5 deployment, also useful for general AWS questions).
  • aws-knowledge-mcp-server — AWS documentation lookup.
  • opensearch-mcp-server — Direct OpenSearch API access on local and remote clusters, including Amazon OpenSearch Service (AOS) and Serverless (AOSS). Handles SigV4 auth transparently. See the User Guide for full configuration options.

opensearch-mcp-server Configuration Variants

The JSON block above shows a minimal config. For AOS/AOSS clusters, ask the user for their endpoint, auth method, and region, then use the appropriate env block:

For basic auth (local/self-managed):

{
  "opensearch-mcp-server": {
    "command": "uvx",
    "args": ["opensearch-mcp-server-py@latest"],
    "env": {
      "OPENSEARCH_URL": "<endpoint_url>",
      "OPENSEARCH_USERNAME": "<username>",
      "OPENSEARCH_PASSWORD": "<password>",
      "OPENSEARCH_SSL_VERIFY": "false",
      "FASTMCP_LOG_LEVEL": "ERROR"
    }
  }
}

For Amazon OpenSearch Service (AOS):

{
  "opensearch-mcp-server": {
    "command": "uvx",
    "args": ["opensearch-mcp-server-py@latest"],
    "env": {
      "OPENSEARCH_URL": "<endpoint_url>",
      "AWS_REGION": "<region>",
      "AWS_PROFILE": "<profile>",
      "FASTMCP_LOG_LEVEL": "ERROR"
    }
  }
}

For Amazon OpenSearch Serverless (AOSS):

{
  "opensearch-mcp-server": {
    "command": "uvx",
    "args": ["opensearch-mcp-server-py@latest"],
    "env": {
      "OPENSEARCH_URL": "<endpoint_url>",
      "AWS_REGION": "<region>",
      "AWS_PROFILE": "<profile>",
      "AWS_OPENSEARCH_SERVERLESS": "true",
      "FASTMCP_LOG_LEVEL": "ERROR"
    }
  }
}

If the cluster type is unclear, ask the user: "Is this a local OpenSearch cluster, Amazon OpenSearch Service, or Amazon OpenSearch Serverless?"

Auto-Installing Missing MCP Servers

Before using any MCP tool, check if the server is available. If a required MCP server is missing, auto-install it:

  1. Locate the MCP config file for the current IDE:

- Kiro: .kiro/settings/mcp.json - Cursor: .cursor/mcp.json - Claude Code: .mcp.json - VS Code (Copilot): .vscode/mcp.json - Windsurf: ~/.codeium/windsurf/mcp_config.json - If unsure, check for any of the above files in the workspace root.

  1. Read the existing config (or start with {"mcpServers": {}} if the file doesn't exist).
  2. Merge in the missing server entry from the JSON block above. Do not overwrite existing entries.
  3. Save the file.
  4. Inform the user: *"I've added the [server name] MCP server to your config. Please restart your IDE or reconnect MCP servers for the changes to take effect."*
  5. Wait for the user to confirm the restart, then retry the tool call.

Answering OpenSearch Knowledge Questions

When the user asks about OpenSearch features, APIs, configuration, version history, or any general OpenSearch topic:

  1. Run opensearch_ops.py search-docs --query "<your query>" to search opensearch.org (default).

- Covers docs.opensearch.org (APIs, configuration, query DSL, plugins), opensearch.org/blog (release announcements, feature deep-dives), and opensearch.org/platform.

  1. For AWS-specific questions (e.g. Amazon OpenSearch Service, Serverless, IAM policies, pricing), use --site docs.aws.amazon.com: uv run python scripts/opensearch_ops.py search-docs --query "OpenSearch Serverless pricing" --site docs.aws.amazon.com
  2. Review the returned titles, URLs, and snippets.
  3. If more detail is needed, fetch the full page content from the top result URL.
  4. Summarize the answer based on the documentation.

Examples:

uv run python scripts/opensearch_ops.py search-docs --query "OpenSearch 3.5 features"
uv run python scripts/opensearch_ops.py search-docs --query "neural sparse search" --count 3
uv run python scripts/opensearch_ops.py search-docs --query "OpenSearch Service domain access policy" --site docs.aws.amazon.com

This applies at any point — not just during the workflow phases.

Scripts

All operations are executed via two scripts in scripts/ relative to this file:

  • start_opensearch.sh — Start a local OpenSearch cluster via Docker
  • opensearch_ops.py — CLI for all OpenSearch operations. See CLI Reference for exact invocations and examples
bash scripts/start_opensearch.sh
uv run python scripts/opensearch_ops.py <command> [options]

Key Rules

  • Ask one preference question per message.
  • Never skip Phase 1 (sample document collection).
  • Show architecture proposals to the user before execution.
  • Follow the phases in order — do not jump ahead.
  • When a step fails, present the error and wait for guidance.
  • Do not describe Amazon OpenSearch Serverless as scaling to zero.
  • Agentic search does not deploy to Amazon OpenSearch Serverless in this workflow — use a managed domain (see Phase 5). Do not promise Serverless for agentic.
  • Do not assume Serverless matches a managed domain or self-managed cluster for every plugin, cluster setting, or OpenSearch feature — confirm in AWS documentation.

Workflow Phases

Phase 1 — Start OpenSearch & Collect Sample

Before starting OpenSearch, check if a cluster is already running:

uv run python scripts/opensearch_ops.py preflight-check

Interpreting the preflight result:

  • status: "available" — A cluster is already running and reachable. Use it directly. The auth_mode field shows which authentication was detected (none, default, or custom).
  • status: "auth_required" — A cluster is running but requires credentials. Ask the user for their username and password, then run: uv run python scripts/opensearch_ops.py preflight-check --auth-mode custom --username <user> --password <pass> If successful, the credentials are persisted for the session and all subsequent commands will use them automatically.
  • status: "no_cluster" — No cluster detected. Start one: bash scripts/start_opensearch.sh

Once a cluster is available, ask the user for their data source. Use load-sample to load data. The output includes inferred text fields — use these to inform the plan.

If the user provides PDF, DOCX, PPTX, XLSX, or other document files (not structured data like CSV/JSON/TSV), use Docling to process them before indexing. Read references/knowledge/document_processing_guide.md for the full workflow. In summary:

  1. Install Docling: uv pip install docling
  2. Convert the document using Docling's DocumentConverter to extract structured text.
  3. Chunk the output using HybridChunker(max_tokens=512, overlap_tokens=50).
  4. Export chunks as JSONL and use opensearch_ops.py index-bulk to load them.

Ask the user whether they want to process the entire document or specific page ranges.

Phase 2 — Gather Preferences

Ask the user one at a time: query pattern (keyword, semantic, hybrid, agentic) and deployment preference. Skip questions that don't apply.

Phase 3 — Plan

Design a search architecture based on sample data and preferences. Choose a strategy (bm25, dense_vector, neural_sparse, hybrid, or agentic), define index mappings, select ML models if needed, and specify pipelines. Read the relevant knowledge files directly for model and search pattern details:

  • references/knowledge/dense_vector_models.md
  • references/knowledge/sparse_vector_models.md
  • references/knowledge/opensearch_semantic_search_guide.md
  • references/knowledge/agentic_search_guide.md
  • references/knowledge/document_processing_guide.md (when working with PDF/DOCX/PPTX sources)

Present the plan and wait for user approval.

Phase 4 — Execute

Execute the approved plan step by step using opensearch_ops.py commands: create index, deploy model, create pipeline, index documents, launch UI. Run opensearch_ops.py --help for the full command reference. When launching the UI, always present the URL (default: http://127.0.0.1:8765) to the user so they can click to open the Search Builder in their browser.

IMPORTANT: For Agentic Search — AWS Credentials and Agent Type

When the plan includes agentic search, follow this two-step process:

Step 1: AWS Credentials for Bedrock Model

Ask the user for AWS credentials to deploy the Bedrock Claude model:

"To deploy the Bedrock Claude model for agentic search, I'll need your AWS credentials. Please provide: - AWS Access Key ID - AWS Secret Access Key - AWS Session Token (optional, only if using temporary credentials) - AWS Region (default: us-east-1) Note: These credentials will be used only for model deployment and not stored. I'll instruct you to delete this message after deployment."

Once credentials are provided, use the deploy-agentic-model command with the credentials passed as parameters, then immediately instruct the user to delete the chat message containing the credentials:

"✅ Model deployed successfully! IMPORTANT: Please delete your message containing the AWS credentials above to remove them from chat history."

Step 2: Ask About Agent Type

ALWAYS ask the user which agent type they need BEFORE creating the agent:

"Which agent type do you need for agentic search? 1. Flow Agent (Recommended for most cases) - ⚡ Faster response times - 💰 Lower cost - Each query is independent - ✅ Best for: REST APIs, search apps where each query stands alone 2. Conversational Agent (For chat/conversational interfaces) - 💬 Multi-turn conversations with memory - 🔗 Remembers context from previous questions - Supports follow-up questions like "What about blue ones?" after asking about red items - ⏱️ Slower responses, higher cost - ✅ Best for: Chat bots, Q&A interfaces, conversational search Example difference: Flow Agent: User: "Show me red cars under $30k" → Works ✅ User: "What about blue ones?" → Doesn't understand what "ones" means ❌ Conversational Agent: User: "Show me red cars under $30k" → Works ✅ User: "What about blue ones?" → Understands: blue cars under $30k ✅ Which type do you need?"

Then use the appropriate commands:

For Flow Agent:

  1. Create agent: create-flow-agent --name <name> --model-id <model-id>
  2. Create pipeline: create-flow-agentic-pipeline --name <pipeline-name> --agent-id <agent-id> --index <index-name>

For Conversational Agent:

  1. Create agent: create-conversational-agent --name <name> --model-id <model-id> --max-iterations 10
  2. Deploy RAG model: deploy-rag-model --region <region> (uses /invoke API, separate from the agent's /converse model)
  3. Create pipeline with RAG: create-conversational-agent-pipeline --name <pipeline-name> --agent-id <agent-id> --index <index-name> --model-id <RAG_MODEL_ID>

IMPORTANT: The pipeline creation command MUST match the agent type:

  • Flow Agent → use create-flow-agentic-pipeline
  • Conversational Agent → use create-conversational-agent-pipeline (includes RAG processor for NLQ answers)
  • Conversational Agent requires a separate RAG model (deploy-rag-model) because the RAG processor uses the Bedrock /invoke API, not /converse

See references/knowledge/agentic_search_guide.md section 2.3 for the detailed decision matrix.

After the UI is running, present the next steps:

"Your search app is live! Here's what you can do next:" 1. Evaluate search quality (Phase 4.5) — I'll run test queries, measure relevance metrics (nDCG, precision, MRR), and suggest improvements. 2. Deploy to Amazon OpenSearch Service (Phase 5) — Provision an Amazon OpenSearch cluster and deploy your search setup. 3. Done for now — Keep experimenting with the Search Builder UI.

Phase 4.5 — Evaluate (Optional)

If the user chooses to evaluate search quality, read and follow references/knowledge/evaluation_guide.md for the full methodology. If HIGH severity findings exist, offer to restart from Phase 3 with a specific fix.

Phase 5 — Deploy to Amazon OpenSearch Service (Optional)

Only if the user wants AWS deployment. Read the appropriate reference guide:

StrategyTargetGuide
neural_sparseserverlessProvision then Deploy
dense_vector / hybridserverlessProvision then Deploy
bm25serverlessProvision then Deploy
agenticdomainProvision then Deploy then Agentic

Required MCP servers for Phase 5: awslabs.aws-api-mcp-server, aws-knowledge-mcp-server, opensearch-mcp-server (see Optional MCP Servers section above).

See AWS Reference for cost, security, and constraints.

Observability & Log Analytics

When the user wants to analyze logs or investigate observability data in OpenSearch, follow a discovery-first approach: understand what indices exist, learn the schema from mappings and sample documents, then build queries. Read the appropriate reference file based on intent:

IntentReference
Log analytics (discover indices, understand schema, query logs with PPL)references/observability/log-analytics.md
OTel trace investigation (agent invocations, tool executions, slow spans, errors)references/observability/traces.md
PPL syntax reference (50+ commands, 14 function categories)references/observability/ppl-reference.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.93%
按下载量换算80

Claude

30.33%
按下载量换算66

Cursor

18.11%
按下载量换算39

Gemini CLI

9.64%
按下载量换算21

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

未通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills