msk-operations
Amazon MSK Provisioned operations, troubleshooting, and health assessment for Standard and Express brokers.
Skill by kjjanakiOfficial
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aws-msk-operations
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend, devops, cloud
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/msk-operations
What's inside
- Skill name
msk-operations- Description
- Amazon MSK Provisioned operations, troubleshooting, and health assessment for Standard and Express brokers. Use whenever the user mentions Amazon MSK, MSK Provisioned, MSK Standard/Express brokers, Apache Kafka on AWS, `kafka.*` / `express.*` instance types, or the `AWS/Kafka` CloudWatch namespace. Covers MSK performance issues (high CPU, produce/fetch latency, TrafficShaping), consumer lag, storage/EBS issues, rolling restarts, Kafka version upgrades, SECURITY_PATCHING, BROKER_UPDATE, CloudWatch alarm design, Kafka client (producer/consumer) tuning, under-replicated partitions, unexpected broker reboots, and full MSK operational reviews / health checks / best-practices audits. Do NOT use for MSK Connect, MSK Serverless, or MSK Replicator. Do NOT use for authoring CloudFormation, CDK, or Terraform templates. Do NOT use for other AWS services (RDS, Aurora, S3, DynamoDB, Kinesis, Lambda, EC2) unless MSK is explicitly named.
- License
- Apache-2.0
- Metadata
- author: kjjanaki · version: 1.0.4 · aws-devops-agent-skills.agent-types: CHAT · aws-devops-agent-skills.aws-services: Amazon MSK · aws-devops-agent-skills.technical-domains: Analytics
- Instructions
- 569 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: 569 lines (spec recommends under 500)
Files (15)
- .skilleval.yaml
- CHANGELOG.md
- README.md
- SKILL.md
- benchmark.json · evals/
- eval_queries.json · evals/
- evals.json · evals/
- report.json · evals/
- trigger_report.json · evals/
- configure-clients.md · references/
- maintenance-operations.md · references/
- manage-storage.md · references/
- monitor-and-alarm.md · references/
- troubleshoot-consumer-lag.md · references/
- troubleshoot-performance.md · references/
SKILL.md (first lines)
# Amazon MSK Operations Operate, troubleshoot, and assess Amazon MSK (Managed Streaming for Apache Kafka) Provisioned clusters — both Standard and Express broker types. This skill covers day-to-day operations (health assessments, monitoring setup) and ad-hoc incident response (performance degradation, consumer lag, storage full, unexpected broker reboots). ## When to Use Activate this skill when the user asks to: - Review, audit, or assess an MSK cluster for best practices, health, or operational readiness. - Troubleshoot an MSK cluster problem: high CPU, high produce/fetch latency, consumer lag, broker storage running out, TrafficShaping events, under-replicated partitions, or an unexpected broker restart. - Set up MSK monitoring: choose a monitoring level, create recommended CloudWatch alarms and dashboards, understand the metrics available in the `AWS/Kafka` namespace. - Plan an MSK maintenance event: rolling restart, Kafka version upgrade, security patching, broker instance type change. - Advise on Kafka client (producer / consumer) configuration when the client is connecting to an MSK cluster. Do **not** activate this skill for MSK Connect, MSK Serverless, or MSK Replicator — those are separate services with their own operational surfaces. ## Broker Type Determination Determine the broker type first — many checks differ between Standard and Express. ``` aws kafka describe-cluster-v2 --cluster-arn <cluster-arn> ``` Check `ClusterInfo.Provisioned.BrokerNodeGroupInfo.InstanceType`: - Starts with `kafka.` (e.g. `kafka.m5.large`, `kafka.m7g.xlarge`) → **Standard broker**. - Starts with `express.` (e.g. `express.m7g.large`) → **Express broker**. ### Key Standard vs Express differences **Standard brokers** use customer-managed EBS volumes for storage. You choose instance types (`kafka.m5.*`, `kafka.m7g.*`), provision EBS, and manage storage scaling. Standard brokers have scheduled maintenance windows. **Express brokers** provide fully managed, pay-as-you-go storage with no EBS provisioning. Instance types are prefixed with `express.m7g.*`. Express brokers offer up to 3× more throughput per broker than Standard, and have no maintenance windows. Express enforces a fixed replication factor of 3 and `min.insync.replicas=2` — you cannot create topics with RF=1. ## Critical Warnings - **This skill is read-only.** Every command in this file and in `references/` that mutates cluster state — `update-broker-storage`, `create-configuration`, `update-cluster-configuration`, `update-monitoring`, `put-metric-alarm`, `reboot-broker`, and any partition reassignment — is a **recommendation for the operator to run after review**. Present these as proposed remediations with expected impact and preconditions; do NOT execute them, and do NOT imply that the agent will run them. - **NEVER reboot brokers while `UnderReplicatedPartitions` > 0** (Standard only — Express brokers do not emit URP). This risks data loss and extended outages. - **NEVER recommend partition reassignment without first checking replication status.** Reassignment during URP compounds the problem. - **`linger.ms=0` is the #1 cause of "high CPU" on MSK.** ALWAYS check client batch configuration before recommending broker scaling. - **EBS throughput ceilings are invisible in Kafka metrics** — ALWAYS check EBS volume metrics (`VolumeReadBytes`, `VolumeWriteBytes`, `VolumeQueueLength`) when diagnosing Standard broker latency. - **Express brokers have NO customer-managed EBS** — do NOT recommend EBS expansion or provisioned EBS throughput for Express clusters. - **Express brokers enforce fixed RF=3 and `min.insync.replicas=2`** — do NOT attempt to create topics with RF=1 on Express. If RF=1 is needed, use Standard brokers. ## Quick Diagnostics These five checks cover the most common MSK issues. Use them before loading a reference file. 1. **`CpuUser + CpuSystem` > 60%**: Check `RequestHandlerAvgIdlePercent` (PER_BROKER monitoring level). If < 30%, request threads are saturated. Check client `batch.size` and `linger.ms` before recommending scaling. 2. **`KafkaDataLogsDiskUsed` > 85%** (Standard only): **Recommend to the operator** that EBS be expanded via `aws kafka update-broker-storage` (do not execute). Identify high-growth topics via per-topic `BytesInPerSec` to size the increase. Express clusters use `StorageUsed` metric instead and storage is fully managed. 3. **`UnderReplicatedPartitions` > 0** (Standard only): Check if a maintenance operation or broker restart is in progress. If URP is decreasing, wait for recovery. Do NOT restart brokers or reassign partitions during URP. Express brokers do not emit this metric — monitor `ProduceThrottleTime`, `FetchThrottleTime`, and consumer lag instead. 4. **Consumer `OffsetLag` / `MaxOffsetLag` increasing**: Determine if broker-side (high `ProduceTotalTimeMsMean`, CPU saturation) or client-side (slow processing, insufficient consumers). Per-partition lag from `PER_TOPIC_PER_PARTITION` monitoring level helps isolate hot partitions. 5. **`BytesInPerSec` near throughput ceiling**: For Standard, check EBS volume type and calculate: `BytesInPerSec × ReplicationFactor` vs volume throughput limit. For Express, check against the per-broker sustained performance limits in the MSK quotas. ## Which Reference Do You Need? Route to a reference file based on the customer intent. Read the reference in full before answering — do not paraphrase from memory. | Customer Intent | Reference | |---|---| | High CPU, high produce/fetch latency, slow cluster, TrafficShaping | `references/troubleshoot-performance.md` | | Consumer lag increasing, rebalance storms, stuck consumer groups | `references/troubleshoot-consumer-lag.md` | | Disk filling up, retention planning, tiered storage, EBS scaling | `references/manage-storage.md` | | Setting up monitoring level, dashboards, recommended CloudWatch alarms | `references/monitor-and-alarm.md` |
From aws/tools-for-devops-agent, Apache-2.0.
More from aws/tools-for-devops-agent
- 0.784score
aiml-access-diagnostics
tamrishOfficial
Use this skill when diagnosing IAM and access failures for Bedrock and SageMaker.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
cloudtrail-cost-optimization
holmallaOfficial
Identify and quantify AWS CloudTrail cost optimization opportunities.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
agentcore-observability-setup
vggargavOfficial
Validates and bootstraps Amazon Bedrock AgentCore observability so customers can trace agent reasoning, detect silent failures, and measure performance before…
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
agentcore-ops-review
pamvasOfficial
Comprehensive operational review procedures for Amazon Bedrock AgentCore resources aligned with the AWS Well-Architected Framework.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
bedrock-operation-review
smnixonOfficial
Comprehensive Amazon Bedrock review aligned with the AWS Well-Architected Framework and Bedrock best practices.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
analytics-opensearch-expertise
genealpeOfficial
Amazon OpenSearch Service domain health assessment.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
aws-backup-coverage-review
vediyappan-kkOfficial
AWS Backup coverage and data protection posture review.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
aws-eks-operations-review
shyamkulkarniOfficial
Use this skill when someone wants an Amazon EKS cluster graded against best practices.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
aws-health-events
udid-awsOfficial
ALWAYS use this skill in the beginning of any incident investigation, root cause analysis, or operational troubleshooting.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
aws-routing
midakinOfficial
Analyze and troubleshoot AWS routing and BGP path selection - how AWS chooses a network path, why traffic takes an unexpected route, and how to steer it.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
aiml-gpu-training-cluster-investigation
nzureshOfficial
Use this skill for GPU training or inference clusters on SageMaker HyperPod (Slurm or EKS), ParallelCluster, or self-managed EC2/EKS GPU instances.
SkillAFreshness: A★ 116Claude Code +9 - 0.784score
config-cost-optimization
holmallaOfficial
Identify and quantify AWS Config cost optimization opportunities.
SkillAFreshness: A★ 116Claude Code +9
Signals
- Stars
- 116
- Forks
- 85
- Open issues
- 8
- Last commit (this folder)
- Oct 22, 2026 (7 days ago)
- Last release
- Sep 25, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.4
- License
- Apache-2.0
- Repository
- github.com/aws/tools-for-devops-agent
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Cite this page
msk-operations skill. Agent Mart. https://agentmart.dev/skills/aws-msk-operations (last updated 2026-10-24)