Google's official skill for the gws CLI — drive Gmail, Drive, Calendar, Sheets, Docs, Chat and Admin APIs from an agent, with Model Armor screening.
OpenSearch Trace AnalyticsSkill
Summary
Investigate OpenTelemetry traces stored in OpenSearch — slow and error spans, reconstructed trace trees, service maps, plus agent invocation and token-usage analysis.
Features
- Finds slow and error spans and reconstructs trace trees from a trace ID
- Service-map queries for understanding cross-service latency
- Agent invocation tracking and LLM token-usage measurement from trace data
- PPL and Query DSL over OTel span indices such as otel-v1-apm-span-*
- Optional opensearch-mcp-server access with SigV4 for AOS/AOSS
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Description
Distributed tracing data answers latency questions precisely, provided somebody can write the query. This official OpenSearch Project skill gives an agent that ability over OTel trace data indexed in OpenSearch, typically in otel-v1-apm-span-*.
The skill covers the investigative moves a performance debugging session actually needs: finding the slow spans inside a trace, isolating error spans, reconstructing a full trace tree from a trace ID, and querying the service map to understand which dependency is dragging a request down. Notably for teams running LLM systems, it also handles agent invocation tracking and token-usage measurement from trace data — a use case most tracing tooling has not caught up with.
Like its sibling log-analytics skill, it activates broadly: traceId, spanId, OpenTelemetry, OTel, distributed tracing, latency, span duration, service map and trace investigation all wake it up without OpenSearch being mentioned.
It needs a running OpenSearch cluster holding OTel trace data and the built-in SQL plugin for PPL queries, plus uv for the helper scripts. Adding opensearch-mcp-server-py is optional and gives direct API access including PPL through GenericOpenSearchApiTool, with SigV4 handled transparently for Amazon OpenSearch Service and Serverless.
Apache 2.0 licensed, published by the OpenSearch Project, and compatible with Claude Code, Cursor, Kiro and any agent supporting the Agent Skills standard.
Related Skills
Netlify's official skill for zero-config managed Postgres — querying from Functions, Drizzle setup, migrations and per-preview database branches.
Official WordPress skill for Gutenberg block work: block.json, attributes and serialization, dynamic rendering, and the deprecation path that keeps existing content valid.
Persistent cross-session memory for coding agents: hooks capture each session, a local SQLite + vector store compresses it, and a mem-search skill reads it back.
