# kongctl-query

> Claude/Codex skill by [@kong](https://omgskills.com/library/kong/index.md) · 6 stars · Updated 2026-10-19

Use when the user wants read-only \`kongctl\` queries against Konnect: prove auth or scope, discover the right \`get\` path, list or fetch resources, or shape JSON/YAML output. Do not use for \`kongctl\` plan/apply/sync or declarative authoring.

Tags: agent-skills, agentic-workflows, agents, ai, kong, kong-gateway, kong-konnect, mcp

## Install

```sh
git clone https://github.com/Kong/ai-marketplace /tmp/ai-marketplace && ln -s /tmp/ai-marketplace/plugins/kong-konnect/skills/kongctl-query ~/.claude/skills/kongctl-query
```

## From README

kongctl-query Goal Use read-only kongctl commands to inspect live Konnect state and return the smallest command and result slice that actually proves the answer. Tool Positioning Use this skill when the user explicitly wants kongctl, CLI-shaped proof, or read-only verification after another workflow changed Konnect state. If the session already has the shared kong-konnect MCP server and the user needs live inspection more than exact CLI syntax, suggest MCP first and keep kongctl as the fallback proof path. Do not use this skill for declarative YAML authoring, kongctl plan/apply/sync, CI/CD scaffolding, or repository refactors. Preserve the repository's existing delivery toolchain. This skill only owns read paths and post-change verification commands. References To Load Load only the branch-specific reference that matches the active problem: references/resource-discovery.md Load when the main question is which kongctl get resource, parent, or child path should be queried.

## Links

- HTML page: https://omgskills.com/library/kong/ai-marketplace/plugins/kong-konnect/skills/kongctl-query/
- GitHub: https://github.com/Kong/ai-marketplace
- Author: [@kong](https://omgskills.com/library/kong/index.md)

## More from this repo

- [deck-gateway](https://omgskills.com/library/kong/ai-marketplace/plugins/kong-konnect/skills/deck-gateway/index.md) — Used to manage Kong Gateway entities with decK.
   - [@kong](https://omgskills.com/library/kong/index.md) · 6 stars
- [gateway-plugin-datakit](https://omgskills.com/library/kong/ai-marketplace/plugins/kong-konnect/skills/gateway-plugin-datakit/index.md) — Used when designing or debugging Kong DataKit plugin flows, including node selection, DAG wiring, jq transforms, cache...
   - [@kong](https://omgskills.com/library/kong/index.md) · 6 stars
- [kong-skill-authoring](https://omgskills.com/library/kong/ai-marketplace/plugins/kong-konnect/skills/kong-skill-authoring/index.md) — Used to create or refactor a skill in this repo.
   - [@kong](https://omgskills.com/library/kong/index.md) · 6 stars
