terraform-kong-gateway

terraform-kong-gateway is a skill for Claude Code from Kong/ai-marketplace. It costs 53 tokens per session (2,136 once invoked), scanned A, original, MIT.

A workflow for using Terraform, a tool that manages infrastructure from configuration files, to manage self-hosted Kong Gateway settings through its Admin API. It uses the official Kong Gateway Terraform provider.

In plain words
What is it for?
Use it to write or review Terraform for self-hosted Gateway entities, import existing resources, inspect plans, and verify Terraform-managed changes.
Why use it?
It helps make gateway changes repeatable while preserving the project's existing modules, variables, state, and workspaces. It also supports adopting existing settings safely through imports and reviewing planned changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the kong-konnect plugin — 21 skills shipped together

Good fit Use it to write or review Terraform for self-hosted Gateway entities, import existing resources, inspect plans, and verify Terraform-managed changes.

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

Made for: Claude Code.

Or install kong-konnect, the plugin that ships this one along with the rest of its 21 skills.

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 terraform-kong-gateway

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kong/ai-marketplace/terraform-kong-gateway"><img src="https://agentmods.dev/badge/skills/kong/ai-marketplace/terraform-kong-gateway.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,136 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.00053 $0.02136
Opus 5 $0.00026 $0.01068
Sonnet 5 $0.00011 $0.00427
Haiku 4.5 $0.00005 $0.00214

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

Security

Grade A, and why

terraform-kong-gateway 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.

plugins/kong-konnect/skills/terraform-kong-gateway/SKILL.md · 264 lines

How it starts

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

Terraform for self-managed Kong Gateway

Goal

Author or revise Terraform-managed self-managed Kong Gateway entities while preserving the repository's current module layout, provider model, and state ownership.

Use this skill once Terraform is already the right tool for Admin API-backed self-managed Gateway work. Do not use it as the default for Konnect platform resources or for design and troubleshooting work that should happen before tool-specific HCL changes.

Tool Positioning

  • Use this skill when the repository already uses Terraform for self-managed Gateway resources or the user explicitly asks for Terraform.
  • This skill owns HCL authoring, import-first adoption, plan review, and Terraform-native proof after the Terraform path is chosen.
  • Preserve existing Terraform modules, variables, backend settings, and workspaces.
  • Use the official kong/kong-gateway provider for self-managed Gateway resources reachable through the Admin API.
  • Hand off to deck-gateway when the user wants file-based Gateway GitOps, dump/diff workflows, or a decK-native repository.
  • Hand off to terraform-konnect when the target resources actually belong to Konnect rather than a self-managed Admin API surface.
  • Hand off to Gateway or product-specific diagnosis skills when the harder problem is gateway health, plugin behavior, or design intent rather than HCL ownership.

References To Load

Load only the reference file that matches the active branch:

  • references/provider-and-import.md
    • Load when provider inputs, existing live resources, or import-first handling is the main question.
  • references/entity-patterns.md
    • Load when the user is deciding how self-managed Gateway entities should be grouped or modeled in the existing HCL layout.
  • references/plan-safety-and-state.md
    • Load when the main issue is how to inspect plan impact safely before applying to a live Admin API surface.
  • references/provider-schema-debugging.md
    • Load when nested resource shape is unclear, validation reports object-vs-string or similar type mismatches, or provider behavior does not line up cleanly with docs or example HCL.

Read the full file on GitHub · 264 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 264 lines · 53 tokens per session scan A 320d3c94b4e9

Subscribe to this mod's changes

terraform-kong-gateway is a skill published in the GitHub repository Kong/ai-marketplace (5 stars, last pushed 22d ago), licensed MIT. It adds 53 tokens to every session and 2,136 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

cost-optimization

Optimize cloud costs across AWS, Azure, GCP, and OCI through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use when reducing cloud expenses, analyzing infrastructure costs, or implementing cost governance policies.

wshobson/agents · 48 tokens

istio-traffic-management

Configure Istio traffic management including routing, load balancing, circuit breakers, and canary deployments. Use when implementing service mesh traffic policies, progressive delivery, or resilience patterns.

wshobson/agents · 40 tokens

linkerd-patterns

Implement Linkerd service mesh patterns for lightweight, security-focused service mesh deployments. Use when setting up Linkerd, configuring traffic policies, or implementing zero-trust networking with minimal overhead.

wshobson/agents · 41 tokens

azure-eventhub-dotnet

Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…

microsoft/skills · 94 tokens

azure-mgmt-fabric-dotnet

Azure Resource Manager SDK for Fabric in .NET. Use for MANAGEMENT PLANE operations: provisioning, scaling, suspending/resuming Microsoft Fabric capacities, checking name availability, and listing SKUs via Azure Resource Manager. Triggers: "Fabric capacity", "create capacity", "suspend capacity", "resume capacity"…

microsoft/skills · 88 tokens

azure-resource-manager-durabletask-dotnet

Azure Resource Manager SDK for Durable Task Scheduler in .NET. Use for MANAGEMENT PLANE operations: creating/managing Durable Task Schedulers, Task Hubs, and retention policies via Azure Resource Manager. Triggers: "Durable Task Scheduler", "create scheduler", "task hub", "DurableTaskSchedulerResource", "provision…

microsoft/skills · 84 tokens