/streaming-skills-plugin:confluent-cloud-provider-integrationfrom streaming-skills-plugin
Guides users through setting up and validating a Confluent Cloud provider integration for AWS, Azure, or GCP, enabling connectors and Tableflow to use short-lived assumed identities instead of long-term access keys.
Ships in streaming-skills-plugin. 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.
Create and validate a Confluent Cloud provider integration — the resource that lets fully-managed connectors and Tableflow "act-as" a trusted identity in your cloud service provider (CSP) account, so they use short-lived assumed credentials instead of long-term access keys.
This skill is a guided, stateful walkthrough. The setup deliberately ping-pongs between two UIs (Confluent Cloud and your CSP), and the correct ordering matters — the trust relationship can only be finalized after Confluent hands you an identity to trust. Your job is to keep the user oriented at every step and never let them lose their place.
| The user wants to… | This skill? |
|---|---|
| Create a provider integration for a connector/Tableflow that needs CSP access | ✅ Yes |
| Validate / troubleshoot an existing provider integration's trust | ✅ Yes |
| Configure a connector that already has a working integration | ❌ No — connector setup |
| Manage Confluent RBAC or Cloud API keys | ❌ No |
| Build a full CDC or Tableflow pipeline | ❌ No — see confluent-cloud-cdc-tableflow |
Provider integrations are supported for three CSPs, each with a different identity paradigm:
| CSP | Identity paradigm | Reference file |
|---|---|---|
| AWS | IAM role + sts:AssumeRole with an External ID | references/aws.md |
| Azure | Microsoft Entra ID multi-tenant app + service principal + tenant trust | references/azure.md |
| Google Cloud | Service account impersonation (Token Creator) | references/gcp.md |
⚠️ Do NOT read all reference files. Read only the one matching the user's CSP once you have detected it (Step 1).
references/common.mdis read only for management/list/describe/delete or the connector hand-off.
cat/Read/head/
grep on .env or credentials.yaml. Reference variables by name only.
Use synthetic placeholders in all examples.Resource: *
is legitimate, not a violation: (a) actions the provider won't let you
resource-scope — account-level discovery such as dynamodb:ListTables,
dynamodb:ListStreams, s3:ListAllMyBuckets, tag:GetResources — which
require *; (b) a user who knowingly declines to scope — recommend the
scoped policy, note that a wildcard resource on a data-reading action
(GetSecretValue, GetObject, Scan, …) grants account-wide access to that
data, but proceed if they still want to. Enforcing least privilege is not
this skill's job — nudging is. Always decline Action: * / administrator-level
access — no connector needs it; offer the scoped policy instead even if the
user insists.Determine the target CSP first (it selects the reference file and the entire paradigm). If the user hasn't said, ask directly: "Which cloud is the resource in — AWS, Azure, or Google Cloud?"
Then gather (ask only for what's missing; confirm back what you infer):
| Requirement | Why it's needed | Example |
|---|---|---|
| Target CSP | Selects paradigm + reference file | AWS |
| Confluent environment ID | Integration is scoped to one environment | env-abc123 |
| Target resource + connector | Determines the CSP permission policy | S3 bucket for an S3 Sink |
| Confluent role | Must be OrganizationAdmin/EnvironmentAdmin to create | — |
| CSP permissions | Must be able to create roles/policies/service principals | — |
| Interface preference | CLI vs UI for each side (see Step 2) | "CLI for Confluent, Console for AWS" |
Confirm the user holds the required roles before doing anything else — see
references/common.md (Roles & prerequisites). If they don't, stop and tell
them what to request.
Then read the CSP reference file (references/aws.md, references/azure.md,
or references/gcp.md) and follow its ordered steps. The sections below apply
to all three.
This skill is hybrid: prefer running commands the user approves, and fall back to precise UI click-through where no CLI exists.
Confluent side (creating/mapping the integration), in order of preference:
mcp__confluent__* provider
integration tools; use them if present.confluent provider-integration create|list|describe|delete.
This is the reliable default. Verify login with confluent environment list.POST https://api.confluent.cloud/pim/v1/integrations (see
the reference file) when scripting without the CLI.Note: The Azure and Google Cloud flows are UI-driven on the Confluent side — Confluent must generate the multi-tenant Entra app (Azure) or the Confluent-owned service account (GCP) for you. The CLI create command is primarily an AWS convenience. The reference files call this out per CSP.
CSP side (creating the identity + trust): AWS Console or AWS CLI; Azure
Portal or az CLI (the service principal for a multi-tenant app must be
created with az ad sp create --id <app-id> — the Portal cannot); Google Cloud
Console or gcloud.
Before running any command, confirm the relevant CLI is installed and authenticated. If it is not and the user can't install it, switch that side to the UI walkthrough.
Before the first resource-modifying action, present a numbered plan and wait for explicit approval. Keep it concise but exact.
⚠️ Take the step order from the selected CSP reference file, not from this template. The sequence is not the same across CSPs — AWS needs the IAM role to exist before the
confluent provider-integration createcall (create takes--customer-role-arn), whereas Azure/GCP have Confluent generate the identity first and you grant trust afterward. The skeleton below is representative; fill the real ordered checklist fromreferences/<csp>.md.
Plan: <CSP> provider integration for <resource/connector> in <env-id>
Interaction: Confluent = <CLI/UI/MCP>, <CSP> = <CLI/Console>
Steps (in the order given by references/<csp>.md — representative skeleton):
- <CSP> create permission policy + identity (role / SP / service account)
- <Confluent> create/map the integration (AWS: pass the existing role ARN;
Azure/GCP: Confluent generates the app/SA for you)
- exchange values: obtain <ARN+ExternalID / app-id+tenant / SA email>
- <CSP> finalize trust/impersonation using those values
- <Confluent/CSP> validate (per-CSP — see the reference file)
Resources created:
- Confluent: provider integration "<name>"
- <CSP>: <policy>, <role/SP/SA>, <trust binding>
Proceed? [yes/no]
Never execute a step that creates or modifies a resource without a yes. Read-only
discovery (list/describe) may run without a plan but still narrate it.
The setup crosses UIs and cannot always be completed in one sitting (an integration left mid-way shows as Draft and can be resumed via Complete in the UI). The user may pause for minutes or days between steps — especially while waiting on CSP permissions or IAM propagation — so persist progress to a local file that survives across sessions. Keep the user oriented:
provider-integration-progress.md. Create it when you present the first plan,
and rewrite it after every step so it always reflects the latest state.[x] done, [→] current, [ ] pending.provider-integration-progress.md. You can pause here and
later say resume the provider integration to pick up at step N."provider-integration-progress.md first to recover where
you left off, then continue from the [→] step.⚠️ Never write secrets to the progress file (Golden rule 4). Record only non-secret state: step status, environment ID, integration ID (
cspi-...), resource/role names, and the chosen interaction method. Do not write access keys, client secrets, or service-account JSON keys. Values like the External ID can be re-fetched withconfluent provider-integration describe— note where to get them, don't persist them. Suggest the user add the file to their.gitignore.
The file is both the running checklist and the resume point. Example contents:
# Provider integration — AWS (env-abc123)
Resource: S3 Sink → s3://example-bucket
Interaction: Confluent = CLI, AWS = Console
Integration ID: cspi-xxxxx # filled in after step 3 (non-secret)
[x] 1. Create IAM permission policy (AWS)
[x] 2. Create IAM role w/ placeholder deny trust (AWS)
[→] 3. Map role in Confluent → get Confluent ARN + External ID
[ ] 4. Finalize trust policy in AWS (Allow AssumeRole + ExternalId + TagSession)
[ ] 5. Validate
Every CSP moves through the same four phases, but the phase order differs per CSP — the reference file gives the authoritative ordered checklist plus the exact commands, JSON, and UI clicks. The phases:
confluent provider-integration create takes
--customer-role-arn; the create call returns Confluent's External ID.
Azure/GCP: Confluent generates the identity for you here (Entra
multi-tenant app / Confluent-owned service account) via the UI.confluent provider-integration describe <cspi-...> and the IAM Trust relationships
tab confirm the configuration, not that an AssumeRole actually succeeds.
Report status as "trust configured; live validation pending" until a real
workload assumes the role (first connector/Tableflow run, or a CloudTrail
AssumeRole event). Do not claim the trust is proven from describe alone.Note — validation differs by CSP (by design). Azure and GCP expose an optional but recommended Validate button in the Confluent Cloud UI — and a matching CLI command,
confluent provider-integration v2 validate <cspi-...>(with--azure-tenant-idfor Azure or--gcp-service-accountfor GCP) — that checks the trust before you finish. AWS has neither a Validate button nor av2 validatepath today —v2 validatesupports only Azure and GCP. AWS trust is proven implicitly when a connector first assumes the role, so confirm the configuration withconfluent provider-integration describeplus the IAM Trust relationships tab, and report live validation as pending until a workload runs. A Validate option for AWS is on the roadmap; when one appears, use it the same way as Azure/GCP. Also: Azure's Validate confirms the service principal exists in your tenant, not that the data-plane RBAC assignments are correct; GCP's Validate does exercise the impersonation binding.Who clicks Validate: by default, ask the user to click Validate in the UI (the agent should not assume it can reach the browser). Optionally, if the agent has computer-use / browser-automation capability and the user explicitly consents, it may perform the Validate click itself. Even then: operate only on the Confluent Cloud Validate action, never type credentials, secrets, or keys into any field, and report the result back to the user.
On any error, do not start with a generic web search. Instead:
Cross-provider management issues (integration "in use" on delete, describe fails
after CSP-side changes, update = delete-and-recreate) are in
references/common.md.
Scope ends here. Tell the user how to consume the integration and point them on:
cspi-...) is what connectors reference via
provider.integration.id, with authentication.method set to the
IAM-role/assumed-identity mode for that connector.references/common.md (Connector hand-off) and the connector's own docs.| Thought | Reality |
|---|---|
| "I'll just paste my AWS access key / SA JSON key into the connector." | Provider integrations exist to eliminate long-term keys — the connector assumes a role / impersonates a service account. Guide them to the integration. |
| "Add the Confluent trust policy first, then map the role." | Backwards. You must map the role in Confluent first to obtain the Confluent role ARN + External ID, then finalize the AWS trust policy with those values. |
| "The AWS role's trust policy can start empty." | Start it with the explicit placeholder deny trust policy, then replace it after mapping — don't leave it open or omit it. |
| "Create the Azure service principal in the Portal." | A multi-tenant app's SP must be created with az ad sp create --id <app-id>; the Portal can't do it. Requires Cloud/Application Administrator. |
| "GCP validation failed, so the setup is wrong." | GCP needs time to propagate the Token Creator binding. Retry validation after a few minutes before assuming misconfiguration. |
| "Deleting the integration cleans up my cloud role." | It does not. The IAM role / service principal / service account remains in your CSP; remove it separately. And delete fails while any workload still uses the integration. |
Before telling the user setup is complete, confirm:
describe returns it with the expected CSP.
(describe proves configuration, not a working AssumeRole — see below.)v2 validate) returned success.
- AWS: there is no live validation — state "trust configured; live
validation pending until a workload assumes the role", and don't claim
it's proven from describe alone.cspi-... ID and how to reference it from a connector.provider-integration-progress.md, and it holds
no secrets (only step status + non-secret IDs/names).references/aws.md — AWS IAM AssumeRole flow, policies, trust JSON, CLI/API, troubleshooting, AWS docs.references/azure.md — Entra ID multi-tenant app + service principal + tenant trust, az CLI, troubleshooting, Azure docs.references/gcp.md — service account impersonation + Token Creator, gcloud, troubleshooting, GCP docs.references/common.md — roles/prerequisites, quota, list/describe/delete, update=recreate, connector hand-off.evals/evals.json (opens in a new tab)references/aws-permission-policies.md (opens in a new tab)references/aws.md (opens in a new tab)references/azure-permission-policies.md (opens in a new tab)references/azure.md (opens in a new tab)references/common.md (opens in a new tab)references/gcp-permission-policies.md (opens in a new tab)references/gcp.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/confluent-cloud-cdc-tableflowSet up end-to-end Change Data Capture (CDC) pipelines on Confluent Cloud using Debezium source connectors, Flink for transformation, and Tableflow for data lake integration. Supports JSON_SR, Avro, and Protobuf formats. Handles schemaless topics (plain JSON without SR) and multi-event topics. This skill handles the complete workflow from database to Iceberg/Delta tables. Use this skill when users want to capture database changes and materialize them into Iceberg or Delta Lake tables via Confluent Cloud Tableflow. Trigger phrases include "CDC to Tableflow", "database to Iceberg", "database to Delta Lake", "stream database changes to data lake", "set up Tableflow pipeline", "schemaless topic to Tableflow", or "multi-event topic to Iceberg". Do NOT trigger for general CDC, Debezium, or database replication requests that do not involve Tableflow or Iceberg/Delta Lake as the destination./confluent-cloud-flink-sqlWrite and debug Flink SQL that runs on Confluent Cloud, enforcing the CC-vs-Apache-Flink (OSS) dialect boundary. Use when the working directory is a Confluent Cloud Flink workspace, when a Flink SQL statement needs checking before it runs on a CC compute pool, or when the user mentions CC Flink, Confluent Cloud Flink SQL, the `confluent flink` CLI, a CFU compute pool, `CREATE CONNECTION`, or asks to check or debug Flink SQL whose runtime is Confluent Cloud. Also trigger when a Flink SQL question is posed and nothing establishes an Apache Flink OSS runtime. Do NOT trigger for: building or deploying Flink UDFs in Java (UDF/UDTF/PTF — use flink-udf); a full CDC pipeline from a database through Flink into Tableflow/Iceberg/Delta Lake (use confluent-cloud-cdc-tableflow); Kafka Streams topology work (use kafka-streams-programming); or Flink SQL confirmed to run on Apache Flink OSS, not Confluent Cloud./confluent-skill-creatorCreate Confluent-specific skills for external users. Use this skill when users want to create, build, or author a new skill related to Confluent Cloud, Confluent Platform, Apache Kafka, WarpStream, Flink, Connectors, Schema Registry, Tableflow, CDC pipelines, or any Confluent product. Skills can be use-case focused (like data enrichment, CDC to Tableflow, stream processing workflows) or component-specific (like a Flink skill, Schema Registry skill, or Connector skill). Do NOT use this skill when users want to directly use Confluent products (e.g., build a pipeline, write a producer, deploy Flink SQL) — use the appropriate product-specific skill instead. This skill is specifically for creating new skills, not for using existing ones./confluent-skill-reviewerReview a Confluent agent skill in this repo against the Agent Skills spec (agentskills.io), Confluent conventions in CLAUDE.md, the PR template gates, and the evals-as-contract rule. Use this skill whenever the user asks to review, audit, validate, or lint a skill; opens or inspects a PR that adds or modifies anything under `skills/`; asks about spec conformance, lazy-loading, frontmatter shape, trigger overlap, or eval coverage; or wants a pre-merge sanity check on skill changes. Do NOT trigger for general code review of application code; security review; auditing schemas, producer/consumer configs, PII tagging, or Terraform generation for Schema Registry (handled by `kafka-schema-registry`); runtime/log analysis of skill behavior (use `tools/skill_review_dashboard.py`); or any changes that don't touch the `skills/` tree./confluent-tuning-advisorAdvisory-only Kafka tuning for Confluent Cloud or Confluent Platform by priority: latency, throughput, availability, or durability. Use when asked to size a planned topic or tune an existing cluster, topic, producer, or consumer for a quantified target such as lower p99 latency or no lost acknowledged writes. Inspects configuration read-only and recommends changes, trade-offs, and validation; the administrator applies them. Do NOT trigger for: WarpStream or Apache Kafka OSS-only clusters; Flink SQL or UDF authoring, tuning, or debugging (use confluent-cloud-flink-sql or flink-udf); Kafka Connect tuning; new Java/Python client implementation (use developing-kafka-java-client or developing-kafka-python-client); Kafka Streams/KStream/KTable development (use kafka-streams-programming); or CDC, Tableflow, or Iceberg pipelines (use confluent-cloud-cdc-tableflow)./developing-kafka-java-clientUse when the user wants to integrate a Kafka client into an existing application or scaffold a Java Kafka client project (Maven or Gradle based) for Confluent Cloud, local Docker, or WarpStream. Covers the Apache Kafka Java clients (KafkaProducer/KafkaConsumer/KafkaShareConsumer) with Avro, JSON Schema, or Protobuf serializers. Also use when the user wants to optimize Java Kafka client configuration for WarpStream. Do NOT trigger for Kafka Streams apps (use kafka-streams-programming), Flink, connectors, or Kafka Python client (use developing-kafka-python-client).npx claudepluginhub confluentinc/agent-skills --plugin streaming-skills-pluginOther plugins' skills for the same job