K8S Incident Triage

Read-only Kubernetes incident triage using kubectl. Accepts natural language or structured input. Produces root-cause hypotheses, evidence, and next-step commands.

230 stars 17 forksDevOps & Cloud

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add initializ/forge --skill k8s-incident-triage
Manual install
git clone --depth 1 https://github.com/initializ/forge.git /tmp/forge
mkdir -p ~/.claude/skills
cp -r /tmp/forge/forge-skills/local/embedded/k8s-incident-triage ~/.claude/skills/k8s-incident-triage

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Kubernetes Incident Triage

Performs read-only triage of Kubernetes workloads and namespaces using `kubectl`.

Supports:
- Natural language input (human mode)
- Structured JSON input (automation mode)

This skill NEVER mutates cluster state.

---

## Tool Usage

This skill uses `cli_execute` with `kubectl` commands exclusively.
NEVER use http_request or web_search to interact with Kubernetes.
All cluster operations MUST go through kubectl via the cli_execute tool.

---

## Tool: k8s_triage

Diagnose unhealthy Kubernetes workloads, pods, or namespaces.

**Output format:** Use markdown tables for pod/workload status summaries. Wrap kubectl output and log excerpts in ```text code blocks. Use ```bash for recommended next-step commands.

---

## Input Modes

### 1) Human Mode (Natural Language)

Input is a plain string.

Examples:

- `triage payments-prod`
- `triage deployment payments-api in payments-prod`
- `why are pods pending in checkout-prod?`
- `investigate crashloop in payments-prod`
- `triage pod api-7c9f6d7f86-abcde in payments-prod`
- `check rollout of deployment payments-api in prod`

Behavior:

- Parse namespace, workload, pod, or selector intent.
- If namespace omitted, use `$DEFAULT_NAMESPACE` if set.
- If ambiguity exists, default to namespace-level triage.
- Never require the user to remember JSON fields.

---

### 2) Automation Mode (Structured JSON)

Input JSON schema:

{
  "namespace": "payments-prod",
  "workload_kind": "deployment",
Read the full skill on GitHub

Details

Skill name
k8s-incident-triage
Path
forge-skills/local/embedded/k8s-incident-triage/SKILL.md
License
Apache-2.0
Repo updated
17 November 2026

FAQ

What does the K8S Incident Triage skill do?

Read-only Kubernetes incident triage using kubectl. Accepts natural language or structured input. Produces root-cause hypotheses, evidence, and next-step commands.

How do I install the K8S Incident Triage skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add initializ/forge --skill k8s-incident-triage. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is K8S Incident Triage popular?

It lives in initializ/forge, which has 230 GitHub stars and 17 forks.

Related skills

Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.