cloudwatch_logs

cloudwatch_logs is a skill for Claude Code, Codex from byaan-ai/byaan. It costs 16 tokens per session (6,160 once invoked), scanned A, original, MIT.

A read-only connection to AWS CloudWatch Logs, the AWS service that stores application and infrastructure logs. It can search log groups and run Logs Insights queries, which are searches and analyses over log data.

In plain words
What is it for?
Use it to find log events, search services by time or pattern, and analyze incidents with CloudWatch Logs Insights.
Why use it?
It gives an agent a way to investigate application events and failures without granting permission to change or delete logs. Access can use an AWS instance role or dedicated read-only keys.

Skill for Claude CodeCodex

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

Good fit Use it to find log events, search services by time or pattern, and analyze incidents with CloudWatch Logs Insights.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/byaan-ai/byaan/cloudwatch_logs
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 byaan-ai/byaan --skill cloudwatch_logs
Clone the repo
git clone --depth 1 https://github.com/byaan-ai/byaan

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 cloudwatch_logs

README.md
[![agentmods](https://agentmods.dev/badge/skills/byaan-ai/byaan/cloudwatch_logs/github.svg)](https://agentmods.dev/skills/byaan-ai/byaan/cloudwatch_logs)
Your own site
<a href="https://agentmods.dev/skills/byaan-ai/byaan/cloudwatch_logs"><img src="https://agentmods.dev/badge/skills/byaan-ai/byaan/cloudwatch_logs/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 cloudwatch_logs

Your own site · 80×15
<a href="https://agentmods.dev/skills/byaan-ai/byaan/cloudwatch_logs"><img src="https://agentmods.dev/badge/skills/byaan-ai/byaan/cloudwatch_logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,160 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00016 $0.06160
Opus 5 $0.00008 $0.03080
Sonnet 5 $0.00003 $0.01232
Haiku 4.5 $0.00002 $0.00616

Measured 12d ago against content hash dea4df797d5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

cloudwatch_logs 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 12d 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.

server/skills/cloudwatch_logs/SKILL.md · 641 lines

How it starts

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

CloudWatch Logs API

Use the AWS CloudWatch Logs API to query log groups, search log events, and run CloudWatch Logs Insights queries.

Setup Guide

This skill requires read-only access to AWS CloudWatch Logs. No write or delete permissions are needed — Byaan only reads your logs, it never modifies them.

Choose an authentication mode

  • Instance IAM role (recommended when Byaan runs on AWS) — no keys to create, store, or rotate. Byaan uses the AWS default credential chain (EC2 instance profile / ECS task role / env credentials). Select "Instance IAM role (auto)" and set only the Region.
  • Access keys — for Byaan deployments outside AWS. An IAM user with programmatic access (Access Key ID + Secret Access Key) and read-only CloudWatch Logs permissions. Create a dedicated IAM user for Byaan rather than reusing an admin account.

Option A: Instance IAM role

  1. In the AWS Console → IAM → Roles, create (or reuse) a role for the EC2 instance / ECS task running Byaan
  2. Attach the CloudWatchLogsReadOnlyAccess managed policy, or the custom read-only policy shown below
  3. Attach the role to the instance (EC2 → Instance → Actions → Security → Modify IAM role) or the ECS task definition
  4. If Byaan runs in Docker on EC2 (the standard self-hosted setup), the container must be able to reach instance metadata. IMDSv2's default hop limit of 1 blocks containers — raise it once:
aws ec2 modify-instance-metadata-options --instance-id i-xxxx --http-put-response-hop-limit 2 --http-tokens required
  1. In Byaan, go to Settings > Skills > CloudWatch Logs, choose Instance IAM role (auto), and set the Region

Option B: Access keys — step-by-step

  1. In the AWS Console → IAM → Users, create a new user (e.g., byaan-cloudwatch-reader)
  2. Attach the AWS managed policy CloudWatchLogsReadOnlyAccess, or create a custom policy with these specific actions:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "logs:DescribeLogGroups",
        "logs:DescribeLogStreams",
        "logs:FilterLogEvents",
        "logs:GetLogEvents",
        "logs:GetLogRecord",
        "logs:StartQuery",
        "logs:GetQueryResults",
        "logs:StopQuery"
      ],
      "Resource": "*"
    }
  ]
}

Read the full file on GitHub · 641 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. 12d ago First seen · 641 lines · 16 tokens per session scan A dea4df797d5e

Subscribe to this mod's changes

cloudwatch_logs is a skill published in the GitHub repository byaan-ai/byaan (95 stars, last pushed 16d ago), licensed MIT. It adds 16 tokens to every session and 6,160 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other skills, from other repositories

cloudflare-skill

Work with Cloudflare via the official cf CLI — check auth identity, list zones, list/create/delete DNS records, query the GraphQL Analytics API (zone traffic, Web Analytics/RUM), and run any other cf command. Output is parsed JSON.

zeenie-ai/OpenCompany · 55 tokens

gcloud-skill

Work with Google Cloud via the official gcloud CLI — check auth/config, list and switch projects, manage Compute Engine instances, deploy and inspect Cloud Run services, work with Cloud Storage, and run any other gcloud command. Output is parsed JSON.

zeenie-ai/OpenCompany · 55 tokens

vercel-skill

Deploy sites and apps to Vercel, inspect deployments, stream logs, and manage projects/env/domains via the Vercel CLI. Deploy a directory and get back the live deployment URL; everything else the CLI supports is available through the custom command passthrough.

zeenie-ai/OpenCompany · 59 tokens

nvcf-self-managed-prerequisite

Install the prerequisites the NVCA operator / compute plane needs before nvcf-nvca-install can succeed: the operator tool nvcf-cli (required by the compute-plane stack's register-cluster step), KAI Scheduler (for the KAIScheduler feature gate), and the SMB CSI driver (for the sharedStorage Samba sidecar PVCs). The two…

NVIDIA/nvcf · 195 tokens

portal-relay

Set up and run a public Portal relay on any Linux host with a public IP — Docker Compose deployment, embedded authoritative DNS with one-time NS delegation, optional TCP/UDP lease ports for game hosting, and registration in the public relay pool. Use when the user asks to run their own relay, contribute a relay to the…

gosuda/portal-tunnel · 111 tokens

cloud-migration

Cloud migration strategy and execution: assessment frameworks, migration patterns, database migration, network cutover, and multi-cloud planning.

CoWork-OS/CoWork-OS · 28 tokens