konnect-ai-gateway

konnect-ai-gateway is a skill for Claude Code from Kong/ai-marketplace. It costs 57 tokens per session (1,598 once invoked), scanned A, original, MIT.

A guide for operating Kong Konnect's AI Gateway, which routes requests between applications and artificial-intelligence providers or models. It covers request flow, AI policies, provider targeting, and usage or health data.

In plain words
What is it for?
Use it to investigate Konnect AI Gateway requests, provider and model routing, AI Proxy behavior, prompt or response controls, and LLM usage, latency, or request health.
Why use it?
It helps locate whether an AI request fails in the gateway path, provider selection, policy controls, or runtime visibility. It also distinguishes gateway problems from general prompt, SDK, or model-quality issues.

Skill for Claude Code

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

Part of the kong-konnect plugin — 22 skills, 1 MCP server shipped together

Good fit Use it to investigate Konnect AI Gateway requests, provider and model routing, AI Proxy behavior, prompt or response controls, and LLM usage, latency, or request health.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kong/ai-marketplace/konnect-ai-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 konnect-ai-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 22 skills, 1 MCP server.

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 konnect-ai-gateway

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kong/ai-marketplace/konnect-ai-gateway"><img src="https://agentmods.dev/badge/skills/kong/ai-marketplace/konnect-ai-gateway.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,598 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.00057 $0.01598
Opus 5.5 $0.00023 $0.00639
Sonnet 5.5 $0.00011 $0.00320
Haiku 4.5 $0.00006 $0.00160

Measured 2mo ago against content hash 554ec4f21ca6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

konnect-ai-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 2mo 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/konnect-ai-gateway/SKILL.md · 199 lines

How it starts

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

Konnect AI Gateway triage

Goal

Diagnose the narrowest Konnect AI Gateway failure layer across request path, provider targeting, AI policy, and AI-runtime visibility.

Use this skill for AI Gateway operator workflows, not for generic prompt-engineering, provider SDK debugging, or model-quality evaluation.

Tool Selection

  • Use the shared kong-konnect MCP server first for live inspection of control planes, Gateway entities, and LLM analytics surfaces.
  • Prefer LLM-specific analytics when the user is asking about token usage, latency, or AI request health. Use the LLM analytics MCP/query surface when AI-runtime data is the real question rather than generic API analytics.
  • Preserve the repository's chosen declarative toolchain for implementation: deck-gateway for Gateway-entity GitOps, terraform-konnect for HCL-managed Konnect AI Gateway resources, terraform-kong-gateway for self-managed HCL, and kongctl-declarative only when the surrounding Konnect repo already uses that path.
  • If live Konnect state matters and kong-konnect MCP is not connected, say so early and continue with repo config or user-provided artifacts.
  • Hand off early to konnect-gateway-triage when the blocker is generic gateway reachability, rollout, or route/service health rather than an AI-specific layer.

References To Load

Load the first matching reference. Do not load all three by default:

  • references/provider-routing.md
    • Load when the main question is model/provider selection, route targeting, fallback, or provider-specific request behavior.
  • references/guardrails-and-policy-intent.md
    • Load when traffic works technically but policy intent, prompt shaping, or governance behavior looks wrong.
  • references/observability-and-cost-signals.md
    • Load when the question is about tokens, latency, AI-specific analytics, or operational visibility rather than request construction.

Inspection Order

1. Classify the report before choosing a layer

Read the full file on GitHub · 199 lines

Files

What ships with it

3 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. 2mo ago First seen · 199 lines · 57 tokens per session scan A 554ec4f21ca6

Subscribe to this mod's changes

konnect-ai-gateway is a skill published in the GitHub repository Kong/ai-marketplace (6 stars, last pushed 10d ago), licensed MIT. It adds 57 tokens to every session and 1,598 once invoked, about $0.0002 per session on Opus 5.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

konnect-ai-gateway compared with skills from other repositories

konnect-ai-gateway next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
konnect-ai-gatewayKong/ai-marketplaceSkill610d agoMITA57Claude Code
API Discoverability for Agentsniels-emmer/myaceSkill15d agoMITA51Claude Code, Codex
python-sdkComposioHQ/composioSkill31kyesterdayMITA60Claude Code, Codex
azure-mgmt-apicenter-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA97Claude Code
azure-eventhub-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA94Claude Code
azure-search-documents-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA102Claude Code
azure-communication-chat-javamicrosoft/skillsSkill3.2kyesterdayMITA41Claude Code