aws-cloudwatch-cli

aws-cloudwatch-cli is a skill for Claude Code, Codex from abdullahkhawer/devops-skills. It costs 38 tokens per session (834 once invoked), scanned A, original, Apache-2.0.

A guide for using the AWS command-line tool to inspect CloudWatch, AWS's monitoring service. It covers metrics, logs, alarms, dashboards, and log queries, using an existing AWS profile and region setup.

In plain words
What is it for?
It is for listing metrics and dashboards, querying metric data and logs, and examining alarm states and their history in CloudWatch.
Why use it?
It helps ensure monitoring commands run against the intended AWS account and region. It provides read-only ways to investigate system behaviour and alarm history.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for listing metrics and dashboards, querying metric data and logs, and examining alarm states and their history in CloudWatch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abdullahkhawer/devops-skills/aws-cloudwatch-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add abdullahkhawer/devops-skills --skill aws-cloudwatch-cli
Clone the repo
git clone --depth 1 https://github.com/abdullahkhawer/devops-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aws-cloudwatch-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/aws-cloudwatch-cli/github.svg)](https://agentmods.dev/skills/abdullahkhawer/devops-skills/aws-cloudwatch-cli)
Your own site
<a href="https://agentmods.dev/skills/abdullahkhawer/devops-skills/aws-cloudwatch-cli"><img src="https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/aws-cloudwatch-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aws-cloudwatch-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/abdullahkhawer/devops-skills/aws-cloudwatch-cli"><img src="https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/aws-cloudwatch-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 834 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00834
Opus 5.5 $0.00015 $0.00334
Sonnet 5.5 $0.00008 $0.00167
Haiku 4.5 $0.00004 $0.00083

Measured 2mo ago against content hash edc1e539ffba, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aws-cloudwatch-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/aws-cloudwatch-cli/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AWS CloudWatch CLI Skill

This skill builds on the aws-cli skill's profile and region configuration — always pass --profile and --region explicitly on every command, using the same environment table.

Command Format

aws cloudwatch <command> --profile <profile> --region <region> [options]
aws logs <command> --profile <profile> --region <region> [options]

Available Commands

Read-only (safe, no confirmation needed)

Command Description
aws cloudwatch list-metrics List available metrics
aws cloudwatch get-metric-data / get-metric-statistics Query metric datapoints
aws cloudwatch describe-alarms List alarms and their state
aws cloudwatch describe-alarm-history Show alarm state change history
aws cloudwatch list-dashboards / get-dashboard List or view dashboards
aws logs describe-log-groups List log groups
aws logs describe-log-streams List log streams in a group
aws logs filter-log-events / get-log-events Query log events
aws logs start-query + get-query-results Run and fetch a CloudWatch Logs Insights query

Example — Logs Insights query

QUERY_ID=$(aws logs start-query \
  --profile <profile> --region <region> \
  --log-group-name <log-group> \
  --start-time $(( $(date -u +%s) - 3600 )) \
  --end-time $(date -u +%s) \
  --query-string 'fields @timestamp, @message | filter @message like /ERROR/ | limit 50' \
  --query "queryId" --output text)

aws logs get-query-results --profile <profile> --region <region> --query-id "$QUERY_ID"

Mutating operations (confirm with user before running)

Command Description
aws cloudwatch put-metric-alarm Create or update an alarm
aws cloudwatch put-dashboard Create or update a dashboard
aws cloudwatch put-metric-data Publish a custom metric datapoint
aws logs create-log-group / create-log-stream Create a new log group/stream
aws logs put-retention-policy Change a log group's retention period

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 73 lines · 38 tokens per session scan A edc1e539ffba

Subscribe to this mod's changes

aws-cloudwatch-cli is a skill published in the GitHub repository abdullahkhawer/devops-skills (11 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 38 tokens to every session and 834 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.

Related

aws-cloudwatch-cli compared with skills from other repositories

aws-cloudwatch-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aws-cloudwatch-cliabdullahkhawer/devops-skillsSkill112mo agoApache-2.0A38Claude Code, Codex
proposal-troubleshoothutzelmann/thesis-proposal-skillsSkill106d agoMITA66Claude Code
agents-sdk-dotnet-debuggingmicrosoft/AgentsSkill1.1k5d agoMITA136Claude Code
fetch-urlarabold/docs-mcp-serverSkill1.9k8d agoMITA51Claude Code, Codex
workthreadsspecstoryai/getspecstorySkill1.4k3d agoApache-2.0A126Claude Code
issuejeremylongshore/tons-of-skills-marketplaceSkill3.0ktodayMITA115Claude Code
temps-plugingotempsh/tempsSkill951todayApache-2.0A94Claude Code, Codex