observability-coordinator
Coordinator instructions for PATH A/PATH B planning logic, write_todos usage, and step budgets.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Coordinator instructions for PATH A/PATH B planning logic, write_todos usage, and step budgets.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Response formatting templates for K8s Operator coordinator results. Load when you need to present Kubernetes resource lists, pod logs, or state-modifying operation results in polished markdown format.
Manages Alertmanager alert lifecycle and operations via MCP tools. Use when the user asks to triage alerts, create or manage silences, check routing configurations, push test alerts, audit silence changes, or review governance compliance. Also use when the user reports being paged incorrectly, asks about on-call status, or wants to mute noisy alerts — even if they don't mention Alertmanager by name. Do NOT use for Prometheus operations (PromQL queries, metrics, exporters, scrape targets, cardinality, recording/alerting rules) — those belong to the prometheus skill. Triggers on keywords: Alertmanager, alerts, silence, on-call, triage, routing, PagerDuty, Slack notification, mute, suppress, blast radius, receiver, inhibition, maintenance window, expire silence.
Manages Prometheus monitoring and observability via MCP tools. Use when the user asks to query metrics, onboard applications to Prometheus, install/manage exporters, apply probes, create alerting or recording rules, analyze cardinality, troubleshoot failed targets, or manage scrape configurations. Also use when the user reports metrics are missing, targets are down, or high cardinality — even if they don't mention Prometheus by name. Do NOT use for Alertmanager operations (silences, routing, alert triage, on-call) — those belong to the alertmanager-operations skill. Triggers on keywords: Prometheus, PromQL, metrics, exporter, ServiceMonitor, scrape target, cardinality, alerting rule, recording rule, TSDB, file_sd, remote-write, metric endpoint, up{}, rate(), histogram.
Output formatting and visualization rules for observability subagents. Load this skill when presenting query results (metrics, logs, traces, alerts, or OTel pipeline data) to the user. Teaches when and how to use A2UI interactive dashboards vs Markdown tables, the Dual-Execution pattern for analytical questions, and consistent formatting conventions. Applies to all observability domains: Prometheus, Loki, Tempo, Alertmanager, and OpenTelemetry.
Manages Grafana Loki log observability via MCP tools. Use when the user asks to explore log labels, discover log structure (fields, patterns, parsers), build or execute LogQL queries, estimate query cost, investigate errors from logs, check service health via logs, or correlate logs with traces using trace_id structured metadata. Also use when the user reports missing logs, asks about log formats, or wants to understand the label taxonomy of their Loki cluster. Triggers on keywords: Loki, LogQL, logs, log query, labels, log patterns, log fields, error logs, log structure, trace_id, log rate, service_name, get_cluster_labels. Do NOT use for Prometheus metrics, Alertmanager routing, or OpenTelemetry pipeline operations — those belong to their respective skills.
Manages OpenTelemetry pipelines and instrumentation via MCP tools. Use when the user asks to provision collectors, onboard applications to OTel (auto-instrumentation), validate or investigate pipeline processors, audit metric cardinality (SpanMetrics/Histograms), optimize sampling strategies (head vs. tail), or assess eBPF security posture. Triggers on keywords: OpenTelemetry, OTel, collector, traces, spanmetrics, auto-instrumentation, tail sampling. Do NOT use for Prometheus-only metrics or Alertmanager routing unless directly related to an OTel pipeline.
| name | observability-coordinator |
| description | Coordinator instructions for PATH A/PATH B planning logic, write_todos usage, and step budgets. |
| metadata | {"author":"talkops.ai","version":"1.0","scope":"coordinator"} |
Use PATH A when the request involves:
PATH A sequence:
write_todos with the full task breakdown (mark mutations as [MUTATION])request_user_input[PLAN-LOCKED] prefixUse PATH B when:
PATH B sequence:
[READ-ONLY] or [STATE-MODIFYING] prefixPATH A (use write_todos + approval gate):
PATH B (skip write_todos, delegate immediately):
Exporter installation:
write_todos([
{"title": "Discover namespace and existing exporters", "status": "pending"},
{"title": "[MUTATION] Install exporter in target namespace", "status": "pending"},
{"title": "Verify exporter is scraping (up metric = 1)", "status": "pending"},
{"title": "Create ServiceMonitor for auto-discovery", "status": "pending"}
])
Silence creation (when blast radius review needed):
write_todos([
{"title": "Preview silence blast radius (am_preview_silence)", "status": "pending"},
{"title": "Validate silence policy compliance", "status": "pending"},
{"title": "[MUTATION] Create silence with specified matchers", "status": "pending"},
{"title": "Verify silence is active via am_list_silences", "status": "pending"}
])
Alerting rule creation:
write_todos([
{"title": "Query current metrics to validate rule expression", "status": "pending"},
{"title": "Draft and validate alerting rule via prom_draft_alert_rule", "status": "pending"},
{"title": "[MUTATION] Upsert alerting/recording rule", "status": "pending"},
{"title": "Simulate rule to verify it fires correctly", "status": "pending"},
{"title": "Verify alert appears in Alertmanager", "status": "pending"}
])
Synthetic probe setup:
write_todos([
{"title": "[MUTATION] Deploy blackbox exporter if not present", "status": "pending"},
{"title": "[MUTATION] Apply Probe targeting endpoint", "status": "pending"},
{"title": "Verify probe_success = 1 via PromQL query", "status": "pending"}
])
OTel service onboarding:
write_todos([
{"title": "Check existing OTel collectors (otel_list_collectors)", "status": "pending"},
{"title": "Look up language instrumentation support", "status": "pending"},
{"title": "[MUTATION] Provision collector or patch Instrumentation CRD", "status": "pending"},
{"title": "[MUTATION] Annotate deployment for auto-instrumentation", "status": "pending"},
{"title": "Verify traces flowing via tempo_get_attribute_values", "status": "pending"}
])
Max 150 steps per request. Max 5 sub-agent invocations per request.
| Request Type | Expected Sub-Agent Calls | Expected Total Steps |
|---|---|---|
| Single read-only query | 1 | 3–5 |
| Simple mutation (1 resource) | 1 | 8–12 |
| Multi-step mutation (PATH A) | 1–2 | 15–30 |
| Cross-pillar investigation | 2–4 | 30–60 |
| Full incident response (all pillars) | 4–5 | 60–120 |
If a sub-agent reports FAILED, retry at most once. After 2 failures, stop and report.