Observability AIops

SKILL运维和基础设施
运维和基础设施 未标注权限 许可证不明确 已核验
安装这个技能

Use this skill whenever the user needs to operate a self-hosted observability stack on Prometheus (HTTP API + PromQL), Alertmanager, Grafana, or Grafana Loki (logs) — a one-shot overview, PromQL instant/range queries, label + series metadata, scrape-target health (up/down + why) and dropped targets, recording/alerting rule health, firing/pending alerts, Alertmanager alerts + silences, Grafana dashboards/datasources/folders, bounded Loki LogQL log reads (labels, query, error-tail), five flagship analyses (firing-alert RCA, target-scrape-health, alert-noise/flap, log-error-burst RCA, log-volume/cardinality) plus an alert->log cross-signal, and guarded writes (create/expire silence, create annotation, update/delete dashboard, reload Prometheus config). Always use this skill for "Prometheus", "PromQL", "Alertmanager", "Grafana", "Loki", "LogQL", "logs", "which targets are down", "scrape failing", "why is this alert firing", "root cause this alert", "firing alerts", "silence this alert", "noisy alerts", "alert flapping", "recording rule", "alerting rule", "dashboard", "datasource health", "reload prometheus config", "TSDB cardinality", "error burst", "log volume", "log cardinality", "tail errors" when the context is a self-hosted metrics/logs/observability stack. Do NOT use when the target is something other than a Prometheus/Grafana observability stack (a hypervisor, storage appliance, backup product, container-orchestrator control plane, network device config, or OT/industrial equipment) — route those to the appropriate other AIops-tools skill. Hosted/SaaS monitoring suites (Datadog, New Relic, enterprise NMS) are out of scope. Governed observability operations with a built-in governance harness (audit, policy, token budget, undo, risk-tiers). Beyond the mock suite, the Prometheus/Alertmanager/Grafana surfaces have been exercised against a live Prometheus 3.x + Alertmanager + Grafana 13 stack (RCAs, governed writes, undo); the Loki surface has not (see docs/VERIFICATION.md).

一句话选型结论

按资料字段整理

Observability AIops是运维和基础设施类的 Agent Skill,安装方式:ClawHub 市场,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类运维和基础设施 安装方式ClawHub 市场 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

ClawHub 市场
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_993b98b1/observability-aiops
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

运维和基础设施
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_993b98b1仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式ClawHub 市场安装包 clawhub
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791658905
正文体量19.8 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
查服务与日志

按现象定位服务状态与日志线索。

写部署与巡检脚本

把重复的部署、巡检写成脚本。

故障排查

按步骤排查网络、依赖与配置。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 已做过站内核验,页面字段与仓库对得上。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在运维和基础设施场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
Observability AIops当前 未标注权限 ClawHub 市场 未标注 未标注 有
Azure 部署 调用外部服务 GitHub 仓库 664.2 万 Codex、Claude、Cursor 有
Azure diagnostics 问题管理 调用外部服务 GitHub 仓库 657.6 万 Codex、Claude、Cursor 有
Azure aigateway 部署 调用外部服务 GitHub 仓库 655.3 万 Codex、Claude、Cursor 有
Azure AI 搜索 调用外部服务 GitHub 仓库 651.4 万 Codex、Claude、Cursor 有
Azure Cloud migrate 部署 调用外部服务 GitHub 仓库 650.7 万 Codex、Claude、Cursor 有

SKILL.md 全文

19.8 KB
模型实际读到的说明书原文,来自技能仓库

Observability AIops

> Disclaimer: Community-maintained open-source project, not affiliated with, endorsed by, or sponsored by the Prometheus or Grafana projects, Grafana Labs, or the CNCF. Prometheus, Alertmanager and Grafana are trademarks of their respective owners. Source at github.com/AIops-tools/Observability-AIops under the MIT license.

Governed self-hosted observability operations — 39 MCP tools across
Prometheus (HTTP API + PromQL), Alertmanager (alerts + silences),
Grafana (dashboards, datasources, folders), and Grafana Loki (bounded
LogQL log reads + log RCA, read-only), every one wrapped with the bundled
@governed_tool harness: a local unified audit log under
~/.observability-aiops/, token/runaway budget guard, undo-token
recording, and descriptive risk-tier labels. One config can span the whole
stack. Bearer tokens are stored encrypted (~/.observability-aiops/secrets.enc,
Fernet + scrypt) — never plaintext on disk.

This is the self-hosted-observability complement to enterprise monitoring
suites: it speaks the open Prometheus/Grafana APIs an SRE actually runs.

> Standalone: the governance harness is bundled in the package
> (observability_aiops.governance) — no external skill-family dependency.
> Beyond the mock suite, the Prometheus/Alertmanager/Grafana surfaces have been
> exercised against a live Prometheus 3.x + Alertmanager + Grafana 13 stack; the Loki
> surface has not yet been exercised live (see docs/VERIFICATION.md).

What This Skill Does

Group Platform Tools Count R/W
Metrics Prometheus instant_query, range_query, label_values, series_metadata 4 read
Targets & status Prometheus list_targets, target_scrape_health, dropped_targets, prometheus_config_status, prometheus_tsdb_status 5 read
Rules Prometheus list_rules, rule_health 2 read
Alerts Prometheus/Alertmanager firing_alerts, pending_alerts, alertmanager_alerts, list_silences 4 read
Grafana Grafana list_dashboards, get_dashboard, list_datasources, datasource_health, list_folders 5 read
Loki Loki loki_labels, loki_label_values, loki_query, loki_tail_errors 4 read
Overview + analyses all observability_overview + firing_alert_rca, target_scrape_health_analysis, alert_noise_and_flap_analysis 4 read
Log analyses + cross-signal Loki (+ Prometheus) log_error_burst_rca, log_volume_analysis, alert_log_context 3 read
Writes Alertmanager/Grafana/Prometheus create_silence, expire_silence (med) · create_annotation (med) · update_dashboard (med) · delete_dashboard (high) · reload_prometheus_config (med) 6 write

The three metric flagship analyses are transparent heuristics that report their
numbers: firing_alert_rca joins each firing alert to its rule expression and
maps it to a cause + action; target_scrape_health_analysis ranks down/erroring
scrape targets and classifies each lastError; alert_noise_and_flap_analysis
finds noisy/duplicate alerts and recommends a dedup/rollup. The two log
analyses mirror this: log_error_burst_rca compares per-stream error counts
against a baseline window and classifies each burst (new signature / volume spike
/ single-instance); log_volume_analysis ranks the highest-volume streams and
warns on high-cardinality (high-churn) labels. alert_log_context bridges the two
signals — it maps a firing Prometheus alert's labels to a Loki stream selector and
pulls the correlated logs. Loki is read-only (no safe write surface).

Quick Install

uv tool install observability-aiops
observability-aiops init       # wizard: pick platform (prometheus/grafana) + encrypted token
observability-aiops doctor

Or as an OpenClaw plugin, which installs this skill and its MCP server together:

openclaw plugins install clawhub:@zw008/observability-aiops
openclaw skills info observability-aiops          # expect: Visible to model: yes

Needs uvx on PATH: the MCP server is fetched with uv, pinned to this release.

When to Use This Skill

  • Get a snapshot (overview / observability_overview): firing-alert count,
    scrape targets up/down, rules erroring (Prometheus) or dashboard/datasource
    counts (Grafana)
  • Run PromQL (instant_query / range_query), enumerate label_values or
    series_metadata
  • Check scrape health (target_scrape_health, dropped_targets) and rule health
    (rule_health, list_rules)
  • Triage alerts: firing_alerts / pending_alerts, the Alertmanager view
    (alertmanager_alerts, list_silences), then firing_alert_rca to root-cause
  • Reduce alert noise (alert_noise_and_flap_analysis) → group_by / inhibition /
    longer for
  • Grafana: list_dashboards, get_dashboard, list_datasources,
    datasource_health, list_folders
  • Loki logs: enumerate loki_labels / loki_label_values, run a bounded
    loki_query (LogQL, stream selector required), loki_tail_errors for a
    selector; then log_error_burst_rca to root-cause an error burst and
    log_volume_analysis for volume/cardinality; alert_log_context to pull the
    logs behind a firing alert
  • Governed writes: silence an alert (create_silence, time-boxed), annotate an
    event (create_annotation), update/delete a dashboard (dry_run first for
    either), or hot-reload Prometheus (reload_prometheus_config)

Do NOT use when the target is not a Prometheus/Grafana observability stack —
route hypervisor, storage, backup, container-orchestrator, network-device-config,
or OT/industrial work to the appropriate other AIops-tools skill. Hosted/SaaS
monitoring suites (Datadog, New Relic, enterprise NMS) are out of scope.

Related Skills — Skill Routing

If the user wants… Use
Prometheus / Alertmanager / Grafana observability ops observability-aiops (this skill)
A different platform (hypervisor, storage, backup, orchestrator, network config, OT edge) the appropriate other AIops-tools skill
Hosted/SaaS monitoring (Datadog, New Relic, enterprise NMS) out of scope for this tool

Common Workflows

> The CLI covers the reads and the three RCAs (alert, query, logs,
> overview); the guarded writes (silences, annotations, dashboards,
> config reload) are MCP tools — those steps name the tool rather than a CLI
> command.

"Pager went off" — root-cause the firing alerts and time-box the noise

  1. observability-aiops overview → one-shot stack picture: firing counts, target
    health, rule health — is this one alert or the whole stack?
  2. observability-aiops alert firing → what is firing right now, grouped by
    severity
  3. observability-aiops alert rca → each firing alert joined to its rule
    expression with a likely cause and a recommended action (advisory heuristic —
    verify it, do not act on it blind)
  4. observability-aiops query instant '<the rule expr>' → evaluate the alert's
    own expression yourself and confirm the RCA's reading of it
  5. observability-aiops query range '<expr>' --start <rfc3339> --end <rfc3339> --step 60s
    → see when it crossed the threshold, which usually names the change that
    caused it
  6. Time-box the noise while you fix the cause: the create_silence MCP tool on a
    specific matcher (a positive duration is required — silences cannot be
    open-ended), then observability-aiops alert silences to confirm it landed
  7. Failure branch: if the silence was too broad, expire_silence ends it
    immediately, or observability-aiops undo apply <id> replays the recorded
    inverse (create_silence's undo is expire). If alert rca returns nothing
    while alerts are visibly firing, the alerts are coming from Alertmanager
    without a matching Prometheus rule — check alertmanager_alerts and
    list_rules rather than assuming the RCA is broken.

Investigate a scrape gap ("metrics went missing")

  1. observability-aiops overview → up/down target counts at a glance
  2. target_scrape_health → the unhealthy targets with their raw lastError
  3. target_scrape_health_analysis → down targets ranked, each lastError
    classified (connection refused / timeout / auth / DNS / TLS) with a concrete fix
  4. dropped_targets → if a target is missing entirely rather than down, it
    was relabeled away; this is where that shows up
  5. observability-aiops query instant 'up{job="<job>"}' → confirm the gap in the
    metric itself, not just in the target page
  6. After fixing scrape config, reload_prometheus_config (a governed write) →
    then re-run target_scrape_health to confirm the target came back
  7. Failure branch: if reload_prometheus_config succeeds but the target is
    still down, the config on disk was not what you thought — check
    prometheus_config_status for what Prometheus actually loaded. A reload with
    a broken config is rejected by Prometheus and leaves the old config running,
    so a failed reload is not an outage.

Tame a noisy / flapping alert

  1. observability-aiops alert firing → the volume of what is firing
  2. alert_noise_and_flap_analysis → alertnames with many instances or exact
    duplicates, each with a group_by / inhibition / longer-for recommendation
  3. list_rules and rule_health → read the offending rule's current for
    duration and confirm it is evaluating cleanly
  4. observability-aiops query range '<rule expr>' --start <rfc3339> --end <rfc3339> --step 60s
    → see the flapping in the data and pick a for window that actually covers it
  5. create_silence for a time-boxed quiet period while the rule change ships;
    observability-aiops alert silences to confirm
  6. Failure branch: silencing is a stopgap, not a fix — if the silence expires
    and the flapping returns, the rule threshold or for window is still wrong.
    Use observability-aiops undo list to see exactly which silences this tool
    created, so no stale silence quietly hides a real outage.

Root-cause a log error burst (Loki, read-only)

  1. alert_log_context <alertname> → the firing alert's labels mapped to a Loki
    stream selector plus the correlated error logs (or start from a selector directly)
  2. observability-aiops logs errors '{app="api"}' --hours 2 --limit 200 → tail
    the error-level lines for that stream
  3. log_error_burst_rca <selector> → per-stream error counts against a baseline
    window, each burst classified (new signature / volume spike / single instance)
  4. observability-aiops logs query '{app="api"} |= "timeout"' --hours 2 → confirm
    the specific signature the RCA named
  5. log_volume_analysis <selector> → the highest-volume streams and any
    high-cardinality label driving a stream/index explosion
  6. Failure branch: Loki here is read-only and bounded — queries require a
    stream selector and are capped by lookback and line count. A query rejected
    for a missing selector is the guard working, not a bug: narrow it with
    observability-aiops logs labels first. There is no write surface for Loki,
    so remediation happens in the emitting service, not through this tool.

Safely change or retire a Grafana dashboard (reversible)

  1. list_dashboards / list_folders → locate the dashboard and its folder
  2. get_dashboard <uid> → confirm this is the right dashboard before touching it
  3. update_dashboard with dry_run=True → preview; then for real — it fetches
    and stashes the prior model and records a restore undo
  4. To retire one: delete_dashboard <uid> with dry_run=True first. Delete is
    high risk — the prior model is captured before the delete so the undo
    can recreate it; set OBSERVABILITY_AUDIT_APPROVED_BY (and
    OBSERVABILITY_AUDIT_RATIONALE) if you want that recorded on the audit row
  5. create_annotation → mark the change on the timeline so the next responder
    can correlate a metric shift with this edit
  6. Failure branch: wrong dashboard or a bad edit — observability-aiops undo list
    then observability-aiops undo apply <id> restores the captured prior model
    (or recreates a deleted dashboard from it). If the write fails outright, that
    is the connecting account's permissions (this tool does not gate it) — check
    the token's role before assuming observability-aiops doctor connectivity is
    at fault.

Governance & Safety

The skill delivers reads and writes and records them; it does not decide whether a write is
permitted. That is your agent's judgement, or the permission of the account you connect it with
(give it a Grafana token with only Viewer scope, and a Prometheus/Alertmanager reached without the
admin/write API — writes then fail at the server). There is no read-only switch, policy file, or
approval gate.

  • Audit is the guarantee, and it is not bypassable. Every operation — MCP and CLI alike — is
    logged to ~/.observability-aiops/audit.db (relocatable via OBSERVABILITY_AIOPS_HOME): params,
    result, status, duration, and the risk tier. The CLI writes the same row the MCP path does.
  • OBSERVABILITY_AUDIT_APPROVED_BY / OBSERVABILITY_AUDIT_RATIONALE are optional annotations
    recorded on the audit row (who/why); they are never required and never block.
  • Runaway guard — a safety backstop, not authorization: the same call looped in a tight window
    trips a circuit breaker. Disable with OBSERVABILITY_RUNAWAY_MAX=0.
  • Writes support --dry-run / dry_run=True and double confirmation at the CLI.
  • Silences are time-boxed (require a positive duration). Reversible writes
    capture the real fetched before-state and record an inverse descriptor
    (create_silence→expire, update/delete dashboard→restore/recreate).

References

  • references/capabilities.md — full tool + platform + API-path reference
  • references/cli-reference.md — CLI command reference
  • references/setup-guide.md — onboarding, credentials, and connectivity
  • references/agent-guardrails.md — running this with a smaller / local model:
    what the harness enforces for you, and a ready-made system prompt for the rest

常见问题

5 问
答案由本站依据条目字段整理
Observability AIops怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_993b98b1/observability-aiops。安装方式为ClawHub 市场。装完刷新技能列表或重开客户端。

Observability AIops支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

Observability AIops权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

Observability AIops收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

Observability AIops用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。