# AWS CloudWatch Insights Query Builder

> Builds CloudWatch Logs Insights queries and metric alarms using AWS SDK v3 (@aws-sdk/client-cloudwatch-logs, @aws-sdk/client-cloudwatch). Generates cross-account observability dashboards with CloudWatch Metrics Insights.

- Skill: `agentskillexchange/aws-cloudwatch-insights-query-builder` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/aws-cloudwatch-insights-query-builder`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/aws-cloudwatch-insights-query-builder/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/aws-cloudwatch-insights-query-builder

---


# AWS CloudWatch Insights Query Builder

Builds CloudWatch Logs Insights queries and metric alarms using AWS SDK v3 (@aws-sdk/client-cloudwatch-logs, @aws-sdk/client-cloudwatch). Generates cross-account observability dashboards with CloudWatch Metrics Insights.

## Prerequisites

Amazon CloudWatch Logs Insights, AWS SDK for JavaScript v3 (@aws-sdk/client-cloudwatch-logs, @aws-sdk/client-cloudwatch)

## Installation

Basic usage or getting-started notes:
- including queries added to dashboards. Additionally, you can run 15 concurrent queries for
- For example, enclose @message , Operation.Export , and
- observability, you can run CloudWatch Logs Insights queries on log groups in source accounts linked to

- Source: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html

## Documentation

- https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/aws-cloudwatch-insights-query-builder/)

