kongctl-declarative

kongctl-declarative is a skill for Claude Code from Kong/ai-marketplace. It costs 70 tokens per session (1,512 once invoked), scanned A, original, MIT.

A guide for managing Kong Konnect resources with kongctl, a command-line tool that applies YAML configuration. It covers declarative workflows, where files describe the desired state of APIs and other resources.

In plain words
What is it for?
Use it to author or review configuration, model APIs from OpenAPI files, and run kongctl plan, diff, apply, sync, delete, or adopt workflows.
Why use it?
It keeps changes aligned with an existing kongctl repository and helps avoid using an incompatible tool or accidentally changing resources during inspection.

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 author or review configuration, model APIs from OpenAPI files, and run kongctl plan, diff, apply, sync, delete, or adopt workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kong/ai-marketplace/kongctl-declarative
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 kongctl-declarative
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 kongctl-declarative

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kong/ai-marketplace/kongctl-declarative"><img src="https://agentmods.dev/badge/skills/kong/ai-marketplace/kongctl-declarative.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,512 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.00070 $0.01512
Opus 5 $0.00035 $0.00756
Sonnet 5 $0.00014 $0.00302
Haiku 4.5 $0.00007 $0.00151

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

Security

Grade A, and why

kongctl-declarative 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 10d 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/kongctl-declarative/SKILL.md · 158 lines

How it starts

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

kongctl declarative workflows

Goal

Author, update, review, and execute kongctl declarative configuration for Konnect without drifting into read-only query work or a different declarative toolchain.

Tool Positioning

  • Use this skill when the repository already manages Konnect resources through kongctl YAML, _defaults.kongctl, or kongctl plan/apply workflows, or when the user explicitly asks for kongctl.
  • Use the shared kong-konnect MCP server first when the task depends on live Konnect state and MCP is available.
  • Use kongctl-query for read-only inspection, exact get syntax, output shaping, or CLI-shaped proof that should not mutate state.
  • Preserve the repository's existing declarative toolchain. Do not convert decK or Terraform repositories to kongctl unless the user explicitly asks.
  • Choose execution style from user intent:
    • User-run mode: explain the path and give commands.
    • Agent-run mode: execute the commands and report results.

References To Load

Load only the branch that matches the task:

  • references/commands.md
    • Load for command selection, saved-plan versus inline execution, adopt/dump command shape, output mode behavior, and guardrail flags.
  • references/resources.md
    • Load for ownership layout, _defaults, parent versus child metadata, !file, !ref, and schema discovery.
  • references/apiops-openapi.md
    • Load when the task generates or updates apis resources from OpenAPI.
  • references/cicd-github-actions.md
    • Load for GitHub Actions validation or deployment workflows.
  • references/troubleshooting.md
    • Load when preview or execution fails, or when drift and namespace behavior are unclear.

This skill must stay portable across repositories. Do not assume the upstream kongctl repo layout or a local docs/ tree.

Validation Contract

Preflight

Before editing manifests or proposing execution:

  • Confirm the repository already owns the target Konnect slice through kongctl rather than decK or Terraform.
  • Confirm the CLI is available and authentication works with a small read command such as kongctl get organization -o json.
  • Confirm namespace, profile, file scope, and whether !file usage will require --base-dir.
  • If exact syntax is uncertain, check local help instead of guessing.

Read the full file on GitHub · 158 lines

Files

What ships with it

5 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. 10d ago First seen · 158 lines · 70 tokens per session scan A 1e70c89ba1ee

Subscribe to this mod's changes

kongctl-declarative is a skill published in the GitHub repository Kong/ai-marketplace (5 stars, last pushed 21d ago), licensed MIT. It adds 70 tokens to every session and 1,512 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

agent-communication-protocol

Open protocol for AI agent interoperability enabling standardized communication between agents, applications, and humans across different frameworks.

majiayu000/claude-skill-registry · 25 tokens

pre-merge

The CI gate. Takes a feature branch from "eng says done" to "PR open against staging with green checks". Runs the project's preflight-resolved pipeline from devkit/policy.json components[]: sync → parallel correctness + security waves → coverage → regression tail → security/migration → PRD-consistency → open PR. Emits…

ndisisnd/msg · 101 tokens

merge

The ship gate — the only skill that merges. --staging merges the feature→staging PR on green CI, deploys, verifies, emits a human test script and stamps the staging sign-off on approval. --production ships the double-confirmed release to main and deploys production. Never self-certifies staging; nothing reaches main…

ndisisnd/msg · 94 tokens

API Discoverability for Agents

Making self-hosted services agent-discoverable — bake in a machine-readable API description (OpenAPI spec or a minimal API.md) when building, and discover-first (spec paths, repo search) before probing when integrating.

niels-emmer/myace · 51 tokens

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

cqrs-implementation

Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.

wshobson/agents · 35 tokens