Skip to content
Agentmart
Submit a tool

kubectl-triage

Triage Kubernetes incidents with version-aware kubectl (pods, events, logs, describe).

Skill by bryanbarton525

IndexedMIT★ 3
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/bryanbarton525-kubectl-triage

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Triage Kubernetes incidents with version-aware kubectl (pods, events, logs, describe). Trigger on CrashLoopBackOff, Pending pods, probe failures, namespace health, or workload instability.

Use cases: devops

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 2

  • codeload.github.com · found in install command
  • dl.k8s.io · found in code

Files it touches

  • ~/.claude/skills/kubectl-triage

What's inside

Skill name
kubectl-triage
Description
Triage Kubernetes incidents with version-aware kubectl (pods, events, logs, describe). Trigger on CrashLoopBackOff, Pending pods, probe failures, namespace health, or workload instability.
License
MIT
Compatibility
Requires kubectl (version-matched to cluster) and cluster read permissions; collector auto-downloads kubectl by version (KUBECTL_VERSION / KUBECTL_BIN / PRISM_BIN_DIR).
Metadata
prism-agents: kubectl
Instructions
44 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (4)

  • SKILL.md
  • smoke.yaml · evals/
  • REFERENCE.md · references/
  • collect.sh · scripts/

SKILL.md (first lines)

# kubectl triage

## Inputs expected

- Namespace and workload hints (deployment/pod/app label).
- Symptom and time window (e.g., CrashLoopBackOff in last 30m).
- **Required:** cluster version (e.g., `v1.28.7`) and distribution/context (EKS/GKE/AKS/on-prem).
- Optional: requested kubectl client binary (e.g., `kubectl-1.28`) when multiple clients are installed.

## Command workflow (kubectl)

1. Confirm context and namespace scope.
   - `kubectl version --client`
   - `kubectl version`
   - `kubectl config current-context`
   - `kubectl get ns`
2. Snapshot workload health.
   - `kubectl get pods -n <ns> -o wide`
   - `kubectl get deploy,rs,svc -n <ns>`
3. Inspect failing pod(s).
   - `kubectl describe pod <pod> -n <ns>`
   - `kubectl logs <pod> -n <ns> --previous`
   - `kubectl logs <pod> -n <ns> --tail=200`
4. Correlate with events and probe failures.
   - `kubectl get events -n <ns> --sort-by=.lastTimestamp`
5. Distinguish infra vs app failure.
   - Scheduling/image pull/cni/node pressure vs app crash/config/runtime error.

## Output requirements

- `summary`: primary failure mode in one sentence.
- `findings`: 3-6 bullets with concrete resource names, reasons, and timestamps.
- `artifacts`: key event/log lines or commands used.
- `confidence`: based on directness of evidence.

## Guardrails

- Read-only triage: no delete, patch, rollout restart, or exec by default.
- If namespace/context is unclear, stop and request clarification.
- If cluster version is missing, return `validation_fail` guidance asking for exact cluster version.
- If context + namespace + workload identifiers are not available, return `insufficient_evidence` and callback to parent for missing fields.
- Do not use placeholder pod/deployment names in findings.

From bryanbarton525/prism, MIT.

More from bryanbarton525/prism

Signals

Stars
3
Forks
0
Open issues
0
Last commit (this folder)
Jun 7, 2026 (4 months ago)
Last release
Oct 22, 2026 (7 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from bryanbarton525

Cite this page

kubectl-triage skill. Agent Mart. https://agentmart.dev/skills/bryanbarton525-kubectl-triage (last updated 2026-10-24)