Build search applications and query log analytics data with OpenSearch. Sub-skills for search, log analytics, trace analytics, and AWS deployment. Activates on semantic search, vector search, BM25, log ingestion, PPL, and observability.
How this skill is triggered — by the user, by Claude, or both
Slash command
/opensearch-agent-skills:opensearch-skillsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This is the top-level skill for OpenSearch. It contains three category skills that can also be installed and used independently:
cli-reference.mdcloud/aws-setup/aos/domain-01-provision.mdcloud/aws-setup/aos/domain-02-deploy-search.mdcloud/aws-setup/aos/domain-03-agentic-setup.mdcloud/aws-setup/aoss/aoss-nextgen-provisioning/ADVANCED.mdcloud/aws-setup/aoss/aoss-nextgen-provisioning/DEPROVISION.mdcloud/aws-setup/aoss/aoss-nextgen-provisioning/ERRORS.mdcloud/aws-setup/aoss/serverless-02-deploy-search.mdcloud/aws-setup/aoss/serverless-04-agentic-setup.mdcloud/aws-setup/reference.mdobservability/log-analytics/log-analytics.mdobservability/ppl-reference.mdobservability/trace-analytics/traces.mdscripts/lib/__init__.pyscripts/lib/client.pyscripts/lib/evaluate.pyscripts/lib/feedback.pyscripts/lib/operations.pyscripts/lib/samples.pyscripts/lib/search.pyThis is the top-level skill for OpenSearch. It contains three category skills that can also be installed and used independently:
| Category | Skill | Install individually |
|---|---|---|
| search | opensearch-launchpad | npx skills add opensearch-project/opensearch-agent-skills@opensearch-launchpad --full-depth |
| observability | log-analytics | npx skills add opensearch-project/opensearch-agent-skills@log-analytics --full-depth |
| observability | trace-analytics | npx skills add opensearch-project/opensearch-agent-skills@trace-analytics --full-depth |
| cloud | aws-setup | npx skills add opensearch-project/opensearch-agent-skills@aws-setup --full-depth |
Route to the right skill based on user intent:
| User Intent | Skill |
|---|---|
| Build a search app, set up an index, choose a search strategy | opensearch-launchpad |
| Analyze logs, query with PPL, discover error patterns | log-analytics |
| Investigate traces, debug spans, analyze service maps | trace-analytics |
| Deploy to AWS, provision a domain or collection | aws-setup |
| General OpenSearch question | Search docs first, then route to the relevant skill |
If the user's intent spans multiple skills (e.g., "build a search app and deploy it to AWS"), start with the appropriate skill and transition to the next when ready.
This applies to ALL skills in this collection — opensearch-launchpad, log-analytics, trace-analytics, and aws-setup. Regardless of which skill is active, you MUST follow these rules.
You MUST proactively collect feedback during every interaction. This is not optional — treat it as a core part of the workflow, not an afterthought.
| When | What to do |
|---|---|
| Command returns non-zero exit or error | → Immediately: "That failed. Can I capture this as feedback?" |
| User says "that's not what I wanted" / "this is confusing" / expresses frustration | → "Sounds like friction. Can I note what went wrong?" |
| User asks for something you can't do | → "This isn't supported yet. Can I flag this as a feature gap?" |
| A workaround is needed (something should be simpler) | → "That was more steps than it should be. Can I flag this as friction?" |
| Major phase completes | → "How's it going so far? Any issues?" |
| User says "done" or workflow ends | → "How was the overall experience? (1-5)" |
uv run python scripts/opensearch_ops.py submit-feedback \
--type <failure|gap|friction|success> \
--skill <skill-name> \
--context "<error message, command, what happened>" \
--comment "<user's words>" \
--rating "<1-5, for success only>"
failure — A command or step produced an errorgap — User needs something the skill doesn't supportfriction — Workflow was confusing, slow, or required workaroundssuccess — Workflow completed, user satisfiedAll skills share these resources:
scripts/opensearch_ops.py — CLI for all OpenSearch operationsscripts/start_opensearch.sh — Start a local OpenSearch clusterscripts/ui/ — React frontend served on port 8765bash scripts/start_opensearch.sh
uv run python scripts/opensearch_ops.py <command> [options]
uv run python scripts/opensearch_ops.py --help
{
"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" }
}
}
}
Before using any MCP tool, check if the server is available. If missing:
.kiro/settings/mcp.json.cursor/mcp.json.mcp.json.vscode/mcp.json~/.codeium/windsurf/mcp_config.json{"mcpServers": {}}).uv run python scripts/opensearch_ops.py search-docs --query "<your query>"
uv run python scripts/opensearch_ops.py search-docs --query "<query>" --site docs.aws.amazon.com
npx claudepluginhub opensearch-project/opensearch-agent-skillsProvides expertise across five Amazon OpenSearch capabilities: migration, provisioning, search (vector/RAG), log-analytics, and trace-analytics. Includes query DSL examples and sizing guidance.
Provides expert guidance for Azure AI Search development: troubleshooting, best practices, architecture, security, deployment, and coding patterns for indexes, indexers, AI enrichment, semantic/vector search.
Queries OpenSearch logs using PPL for severity filtering, trace correlation, error patterns, and volume analysis in OTEL indices.