/redpanda:cloud-byoc-sizingfrom redpanda
Estimates Redpanda Units (RPUs) and broker deployment for Kafka workloads on AWS, GCP, or Azure. Runs a bundled sizing script from throughput, partitions, and latency targets. Supports single-point or multi-month projections.
Ships in redpanda. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Source: the sizing model in scripts/sizing.js (this skill is not grounded in product source). File-by-file mapping in references/SOURCES.md.
This skill turns a workload description (throughput, partitions, latency target, optional Iceberg and Tiered Storage) into a cluster size: the required RPUs (fractional, the theoretical minimum), the supported RPUs (rounded up to a real broker layout), and the deployment (broker count × instance type). It can also run a projection: the same calculation per month or quarter as the workload grows, with the points where the cluster has to scale and the total RPU-hours.
An RPU is 2 vCPUs and 8 GB of memory. Every constraint except partition count is sized at a target utilization (80% by default; see --model), so the result already carries headroom.
Always run the script; never estimate RPUs by hand. The model has eight interacting constraints and a broker-layout optimizer, and small input changes move the answer.
The script is scripts/sizing.js in this skill's directory (Node.js 18+, no dependencies). Run it from the skill's base directory, or use its absolute path. Output is JSON on stdout.
# One workload, point in time. --cloud and --az are required.
node scripts/sizing.js --cloud AWS --az multi --partitions 1000 --ingress 50 --egress 150
# Same workload on all three clouds, single-AZ, 50 ms latency target
node scripts/sizing.js --cloud all --az single --partitions 1000 --ingress 50 --egress 150 --latency 50
# 12-month projection at 8% monthly growth, as CSV
node scripts/sizing.js --cloud GCP --az multi --partitions 1000 --ingress 50 --egress 150 \
--months 12 --monthly-growth 8 --start 2027-01 --format csv
# Several workloads, or a phased plan, from a JSON file (must set "cloud" and "multi_az")
node scripts/sizing.js --input assets/sizing-phased-plan.json
# Print the model's capacities, instance catalog, and defaults
node scripts/sizing.js --model
Do not run the script until you have all five required inputs. None of them has a default, and the script rejects a run that omits any of them. Never assume a cloud provider or an AZ mode; both can change the answer substantially.
| Required input | Flag | Ask as |
|---|---|---|
| Cloud provider | --cloud AWS|GCP|AZURE|all | "AWS, GCP or Azure? (Or compare all three.)" |
| Single-AZ or multi-AZ | --az single|multi | "Single availability zone, or spread across three AZs?" |
| Partition count | --partitions | "How many partitions in total (not counting replicas)?" |
| Ingress, MB/s | --ingress | "Peak producer throughput into the cluster, before replication?" |
| Egress, MB/s | --egress | "Peak consumer throughput out, across all consumer groups?" |
| Optional input | Flag | Default |
|---|---|---|
| Latency target, ms | --latency | 100. Offer it alongside the required questions. |
| Producers / consumers | --producers / --consumers | throughput ÷ 10 MB/s, rounded up |
| Average message size, bytes | --message-size | 1000 |
| Replication factor (odd) | --rf | 3 |
| Tiered Storage | --tiered-storage true|false | true |
| Iceberg topics | --iceberg-fields <n> | off; n = schema field count |
How to ask. Take whatever the user has already said, then ask for every missing required input in one message, offering the latency target as optional in the same message. If your environment has a structured question tool, use it: multiple choice for cloud provider (AWS / GCP / Azure / compare all) and AZ mode (single-AZ / multi-AZ); free text for partitions, ingress, egress and latency. Do not ask about the other optional inputs unless the user brings them up. Use their defaults and list them with the result.
If the user can't give a number ("we don't know the partition count yet"), ask for their best estimate or a range, and offer to run the low and high ends so they can see how much it moves the result. Do not pick a value silently.
For a projection, the required inputs describe the starting workload; ask for the growth rate or the per-period numbers as well (see below). Cloud provider and AZ mode apply to the whole projection.
Convert other units to MB/s first and say so: 1 GB/s = 1,000 MB/s; 1 Gbps = 125 MB/s; GB/day ÷ 86.4 = MB/s; TB/day ÷ 0.0864 = MB/s. If the user gives only a fan-out ("3 consumer groups reading everything"), egress = ingress × fan-out.
Multiple workloads that share one cluster, and per-workload options, go in a JSON file passed with --input. See Inputs and Outputs for the full schema.
Use a projection whenever the user mentions growth, a ramp, a timeline, phases, or "how big in N months". There are two input styles:
--monthly-growth P or --annual-growth P (percent, compounded monthly), over --months N (default 12) from --start YYYY-MM (default: the current month). Partitions grow at the same rate unless you pass --partition-monthly-growth or --partition-annual-growth; use 0 for a fixed partition count.periods array in JSON, one entry per month or quarter, each with its own workloads. Use this when the user has specific numbers per period, or when new workloads start partway through ("add an Iceberg pipeline in Q2"). If they give only a few points ("50 MB/s now, 200 by June, flat after"), build monthly periods, interpolate linearly between the points, and say that you interpolated.Period labels YYYY-MM, YYYY-Qn and YYYY get the correct RPU-hours for their length; any other label counts as 730 hours unless the period sets "hours". --cloud all and --format csv both work in projection mode.
A point-in-time result carries required_rpu, supported_rpu, deployment, utilization_pct, binding_constraint, and rpu_by_constraint, which gives the RPUs each constraint would need on its own. The binding constraint is the largest of these:
| Constraint | What drives it |
|---|---|
kafka_ingress, kafka_egress | Per-RPU Kafka produce and fetch throughput limits. Egress grows with consumer fan-out. |
network_in, network_out | NIC bandwidth. In: ingress × replication factor. Out: consumer egress plus replication, Tiered Storage and Iceberg terms. |
write_iops | Disk writes, plus Iceberg. Grows as batches shrink: lower latency targets and more producers. |
read_iops | Disk reads: consumer egress, plus ingress when Tiered Storage is on, plus Iceberg. Differs most between clouds. |
cpu | Grows with batches per second and egress/ingress ratio; Iceberg adds a per-field term. |
partitions | Partition count per RPU, with no utilization factor. |
A projection result carries periods[], a summary and scaling_events[]. Each period row has period, ingress_mbps, egress_mbps, partitions, required_rpu, supported_rpu, deployment, utilization_pct, binding_constraint and rpu_hours (no per-constraint breakdown; re-run that period point-in-time if you need it). The summary has start, end and peak RPUs, total RPU-hours, the scaling-event count, and the first period with an error and its reason. Scaling events list each change of deployment between two deployable periods.
For the per-RPU capacities, target utilizations and the instance catalog, run node scripts/sizing.js --model. Do not quote capacities from memory; they change when the model changes.
Point in time. Lead with one line: required → supported → deployment. For example: "You need 3.75 RPU, which deploys as 6× m7gd.large (6 RPU, 62.5% utilized) across three AZs on AWS." Then show a short rpu_by_constraint table with the binding constraint highlighted and explained in plain words, then the defaults you assumed.
Cross-cloud. One table: cloud, required RPU, supported RPU, deployment, utilization, binding constraint. Point out where the clouds differ and why (usually IOPS or network per RPU).
Projection. Lead with the arc: "Grows from 6 RPU to 18 RPU over 12 months, with 4 scale-ups and ~92k RPU-hours in total." Then:
summary.first_unsupported_period is set, read summary.first_unsupported_reason. If it is the 24-broker or 112,500-partition message, call it out prominently: that is when the workload outgrows a single cluster. Otherwise it is an input error in that period; fix the input and re-run.Known model issue: with Iceberg on and large messages, the Iceberg CPU term can go negative, which understates CPU. This happens when the message size exceeds roughly 1,700 + 60 × (schema fields) bytes. In that case, say the CPU figure may be understated.
"error": "No supported deployment within 24 brokers." (exit 0, deployment: null) means the workload needs more brokers than the model allows in one cluster. Suggest splitting it across clusters (re-run with the share each cluster would carry), and say a larger layout needs a sizing conversation with Redpanda.
max 112,500 partitions per cluster (exit 1) is the model's partition cap; the same advice applies.
missing required input: ... lists everything that's missing. Ask the user for all of it in one message, as described in Gathering Inputs. Do not fill the gaps with guesses and re-run.
Any other error is an input problem; explain it plainly and ask for a corrected value. Common ones: an even replication factor (must be odd), an unrecognised AZ or Tiered Storage value, or zero throughput.
In a projection, a bad period gets its own error and the other periods still run.
BYOC clusters are created with a throughput tier, not a broker count, so this estimate does not map one-to-one to a ClusterCreate field. Use the sizing result (and, for a projection, the peak period) to choose a tier whose published limits cover the workload, using the live tier list and the provisioning flow in /redpanda:cloud-byoc. The sizing is an estimate for planning; confirm production sizing with Redpanda before committing to a tier.
growth, periods), defaults, unit conversions, and every field in the point-in-time, cross-cloud, projection and CSV outputs.--help for usage, --model for the current constants.node --test scripts/sizing.test.js.sizing-single-workload.json, sizing-multi-workload.json, sizing-growth-plan.json, sizing-phased-plan.json.README.md (opens in a new tab)assets/sizing-growth-plan.json (opens in a new tab)assets/sizing-multi-workload.json (opens in a new tab)assets/sizing-phased-plan.json (opens in a new tab)assets/sizing-single-workload.json (opens in a new tab)references/SOURCES.md (opens in a new tab)references/inputs-and-outputs.md (opens in a new tab)references/sizing-model.md (opens in a new tab)scripts/sizing.js (opens in a new tab)scripts/sizing.test.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub redpanda-data/skills --plugin redpanda36 skills in this plugin
/adpRedpanda's Agentic Data Plane: governance infrastructure for building, running, and governing AI agents and MCP servers behind a credential-injecting AI Gateway for LLM providers, operated through the `rpk ai` CLI and the ADP UI at ai.redpanda.com. Use when installing `rpk ai`, signing in to an environment, checking setup with `rpk ai doctor`, managing managed or self-managed AI agents and their triggers with `rpk ai agent` and `rpk ai trigger`, configuring remote or managed MCP servers with `rpk ai mcp-server` (including code mode and user-delegated OAuth), setting up LLM providers and models with `rpk ai llm-provider` and `rpk ai model`, applying GitOps manifests, or launching a coding tool with `rpk ai run`. For access policies, budgets and cost, guardrails and the kill switch, or secrets, API keys, data policies and OAuth, see `/redpanda:adp-governance`. For transcripts, the audit log, and traces, see `/redpanda:adp-observability`. For the `rpk cloud mcp` control-plane server, see `/redpanda:rpk-cloud`./adp-governanceGovern what Agentic Data Plane agents may do, spend, and expose, through the `rpk ai` CLI and the ADP UI at ai.redpanda.com, and look up governance features in the Redpanda docs. Use when writing or debugging a Cedar access policy with `rpk ai policy`, giving a new agent access, capping agent spend with `rpk ai budget`, analyzing cost, attaching a guardrail to a provider, containing or releasing an agent with the kill switch, storing or deleting a credential with `rpk ai secret`, minting an API key, masking MCP tool data with data policies, or setting up inbound or outbound OAuth. For signing in, agents, MCP servers, LLM providers, and the rest of the `rpk ai` CLI, see `/redpanda:adp`. For transcripts, the audit log, and traces, see `/redpanda:adp-observability`./adp-observabilityRead what Agentic Data Plane agents did and why, through traces, conversation transcripts, the audit log, and the monitoring views in the ADP UI at ai.redpanda.com and the `rpk ai` CLI. Use when finding which call made an agent run slow, failed, or expensive with `rpk ai trace`, reading or filtering a conversation with `rpk ai agent transcript`, finding conversations with a failed tool call, investigating a denied or masked call with `rpk ai auditlog`, working out on whose behalf an agent acted, or reading the Agent network or Home views. For budgets, cost, and access policies, see `/redpanda:adp-governance`. For signing in, agents, MCP servers, LLM providers, and the rest of the `rpk ai` CLI, see `/redpanda:adp`./cloud-byocProvisions, changes, and tears down Redpanda Cloud BYOC (Bring Your Own Cloud) clusters through the Control Plane API and the `rpk cloud byoc` plugin, where the VPC, IAM roles, and storage stay in your own AWS, GCP, or Azure account. Use when creating or deleting a BYOC cluster or its Network, running `rpk cloud byoc` apply, destroy, or validate, scaling a BYOC cluster, editing its cloud provider tags or cluster properties, configuring its private connectivity and listeners, or setting up Shadow Link disaster recovery, cross-account AWS access, or Enterprise features such as Tiered Storage on it. For workload sizing, see `/redpanda:cloud-byoc-sizing`; for Serverless clusters, see `/redpanda:cloud-serverless`; for fully Redpanda-managed Dedicated clusters, see `/redpanda:cloud-dedicated`./cloud-dedicatedProvisions and manages Redpanda Cloud Dedicated clusters, the fully Redpanda-managed single-tenant clusters that run in Redpanda's own AWS, GCP, or Azure account, through the Control Plane API and the per-cluster Data Plane API. Use when creating, updating, or deleting a Dedicated cluster or its Network, changing its throughput tier, tags, maintenance window, or cluster properties, configuring public or private connectivity such as PrivateLink or VPC peering, scripting the lifecycle with curl and OAuth2 client credentials, setting up Shadow Link disaster recovery or a Schema Registry migration onto it, or using Enterprise features such as Tiered Storage, Iceberg Topics, and RBAC on it. For Serverless clusters, see `/redpanda:cloud-serverless`; for customer-cloud-account BYOC clusters, see `/redpanda:cloud-byoc`./cloud-serverlessProvisions and manages Redpanda Cloud Serverless clusters through the Control Plane API and each cluster's Data Plane API. Serverless clusters are fully managed and Kafka-compatible, and run in Redpanda's own cloud account. Use when you create, update, or delete a Serverless cluster, authenticate to the Cloud API with a service account, or set up AWS PrivateLink for one. Also use it to add partitions or change topic configs through the Data Plane API, or to manage ACLs, users, secrets, quotas, roles, and Redpanda Connect pipelines there. For BYOC clusters, see `/redpanda:cloud-byoc`; for Dedicated clusters, see `/redpanda:cloud-dedicated`; for the rpk CLI equivalent, see `/redpanda:rpk-cloud`.