bootstrap
Meta-skill chaining /specify → /constitute → /plan → /tasks → spec-validation → dispatch-ready. Greenfield project from idea to…
Kubernetes alert triage — dedup via YT search, deep control plane investigation, auto-escalation for recurring/flapping/control-plane alerts.
$ npx -y skills add papadopouloskyriakos/agentic-chatops --skill k8s-triage --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/k8s-triageContext preview
The summary Claude sees to decide when to auto-load this skill.
Kubernetes alert triage — dedup via YT search, deep control plane investigation, auto-escalation for recurring/flapping/control-plane alerts.
name: k8s-triage
description: Kubernetes alert triage — dedup via YT search, deep control plane investigation, auto-escalation for recurring/flapping/control-plane alerts.
allowed-tools: Bash
user-invocable: true
metadata:
openclaw:
always: trueWhen you see a message containing `k8s-triage.sh` in `#infra-nl-prod` or `#infra-gr-prod`, you MUST run it using the `exec` tool immediately. Do NOT ask questions.
./skills/k8s-triage/k8s-triage.sh "<alertname>" "<severity>" "<namespace>" "<summary>" "<node>" "<pod>" [--site nl|gr]
Site is auto-detected from node name prefix (`grskg*` → GR, otherwise NL). Use `--site` to override.
| Variable | Purpose | |----------|---------| | `FORCE_ESCALATE=true` | Escalate regardless of severity (set by n8n for flapping alerts) | | `EXISTING_ISSUE=ID` | Reuse this YT issue instead of creating new | | `SKIP_ESCALATION=true` | Skip escalation step (for testing) |
1. **ALWAYS use the `exec` tool** to run the script. Do NOT describe what to do. 2. **Do NOT make changes.** All investigation is READ-ONLY (kubectl get/describe/logs only). 3. **The script handles everything** — YT dedup, issue creation, investigation, findings, escalation.
Before creating a new YT issue, the script searches YouTrack for existing open issues with the same Alert Rule created within 24h. If found, it reuses that issue instead of creating a duplicate. Also searches for **related** issues (same node or namespace within 12h) and lists them in the findings.
When the alert involves a control plane component (apiserver, etcd, controller-manager, scheduler), the script performs cross-component investigation:
Escalation is triggered by ANY of these conditions:
After creating/reusing the YouTrack issue, the script POSTs a register callback to n8n so the Prometheus Alert Receiver can track the issue:
POST /webhook/prometheus-alert (or /webhook/prometheus-alert-gr for GR site)
{
"action": "register",
"alertKey": "<alertname>:<namespace>",
"issueId": "<IFRNLLEI01PRD-NNN or IFRGRSKG01PRD-NNN>"
}The script sets 6 custom fields on newly created issues:
AI agents that triage infrastructure alerts, investigate root causes, and propose fixes — while a solo operator sleeps. For the complete technical reference, see README.extensive.md.
Meta-skill chaining /specify → /constitute → /plan → /tasks → spec-validation → dispatch-ready. Greenfield project from idea to…
Phase C of greenfield project bootstrap. Produce constitution.md (5-15 non-negotiable articles) + steering/*.md (cross-cutting…
Phase D of greenfield project bootstrap. Produce design.md + data-model.md + contracts/{openapi,asyncapi,schemas/*} +…
Phase B of greenfield project bootstrap. Interview the operator to produce PROJECT.json + PROJECT.md + spec/NNN-*/requirements.md…
Phase E of greenfield project bootstrap. Atomize design.md + contracts into tasks.json with files_owned + dependencies +…
Query code graph database for function callers, callees, dependencies, and dead code in CubeOS and MeshSat repos.