The master skill in PlanetScale's official pack: runs a full read-only best-practices assessment of a database or org, then produces one evidence-backed report.
OpenSearch Log AnalyticsSkill
Summary
Query and analyse logs held in OpenSearch using PPL and Query DSL — error-pattern discovery, error-rate tracking and anomaly detection, driven from natural language.
Features
- Writes PPL and Query DSL against OpenSearch log indices from a plain-language question
- Error-pattern discovery, error-rate tracking and log anomaly detection workflows
- Index discovery and mapping inspection before querying
- Works against self-managed, Amazon OpenSearch Service and Serverless clusters
- Optional opensearch-mcp-server tools for direct cluster API access
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
Piped Processing Language is the fastest way to interrogate logs in OpenSearch and one of the least memorised query languages in ops. This official OpenSearch Project skill closes that gap by giving an agent the syntax, the idioms and the investigative workflows to answer log questions without the operator having to recall PPL from scratch.
The skill turns the agent into a log analytics specialist over an existing OpenSearch cluster. It handles index discovery and mapping inspection first, then composes PPL or Query DSL for the actual question: which errors are spiking, what patterns cluster together, how error rates move over a window, and where an anomaly starts. It is aimed squarely at incident work — the moment when someone needs an answer out of log data and does not have a saved dashboard for the shape of the problem in front of them.
Activation is intentionally generous. The skill declares itself for log querying, error-pattern analysis, anomaly detection and application investigation, and fires on adjacent terms such as Fluent Bit, Fluentd, Logstash, syslog, PPL and error rate even when OpenSearch is never named.
Requirements are modest: a running OpenSearch cluster (self-managed, Amazon OpenSearch Service or Serverless) with the built-in SQL plugin that provides PPL, plus uv for the helper scripts. Connecting opensearch-mcp-server-py is optional but gives the agent direct API access — ListIndexTool, IndexMappingTool, SearchIndexTool and GenericOpenSearchApiTool for PPL — with SigV4 authentication handled for managed and serverless domains.
Apache 2.0 licensed and part of the OpenSearch Project's agent skills collection, which works with Claude Code, Cursor, Kiro and any Agent Skills-compatible agent.
Related Skills
Build crash-safe AI agents on AgentKit and step.ai — durable tool calls, human-in-the-loop approval, realtime progress, and when not to reach for an agent loop at all.
Inngest's durable-execution playbook as an agent skill — steps and memoisation, event and cron triggers, idempotency, cancellation, retries and non-retriable errors.
Temporal's official skill for building durable workflows — SDK patterns across seven languages, plus the determinism rules that decide whether a workflow survives a replay.