k8s-tool

Installation
SKILL.md

k8s-tool (Kubernetes)

Kubernetes tool — kubectl wrapper with config-driven context resolution and structured commands. Part of @blogic-cz/agent-tools.

How to Run

Run via bun k8s-tool (requires @blogic-cz/agent-tools as a dev dependency). NEVER run bare kubectl — the credential guard will block it. Auth: existing kubectl context (kubeconfig). Cluster ID from config resolves context automatically.

Commands

bun k8s-tool kubectl --env test --cmd "get pods -n test-ns"
bun k8s-tool kubectl --env prod --cmd "logs <pod> --tail=100"
bun k8s-tool kubectl --env test --cmd "describe pod <pod>"
bun k8s-tool pods --env test                     # List pods (structured)
bun k8s-tool logs --pod <pod> --env test --tail 50 # Fetch logs
bun k8s-tool describe --resource pod --name <pod> --env test
Related skills

More from blogic-cz/agent-tools

Installs
9
First Seen
Apr 4, 2026