Token导航 LogoToken导航

Agent Skill · 研究检索

observability-designer(可观察性设计师)

observability-designer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

observability-designer 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 36,137。

总安装 1,976周安装 84GitHub Stars 103下载 692核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:observability-designer(可观察性设计师)
来源仓库:https://github.com/borghei/claude-skills
仓库路径:skills/observability-designer
安装命令:
npx skills add https://github.com/borghei/claude-skills --skill observability-designer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/borghei/claude-skills --skill observability-designer

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

observability-designer 设计生产级可观测性策略,整合指标、日志、追踪三支柱与 SLI/SLO 框架。支持黄金信号监控、告警优化和基于服务关键性的分层监控方案设计。可输出 Prometheus/InfluxDB 指标表达式、SLO 目标及告警触发条件。

实施前需明确服务清单与业务优先级,避免资源浪费在不必要的监控维度上。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/observability-designer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/borghei/claude-skills --skill observability-de…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

observability-designer 怎么安装?

在终端执行 npx skills add https://github.com/borghei/claude-skills --skill observability-designer。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

observability-designer 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

observability-designer 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

observability-designer 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

observability-designer 用的人多吗?

公开数据是累计安装 1,976 次,近一周安装 84 次,下载 692 次,GitHub 103 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

observability-designer 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
observability-designer

可观察性设计师 · 本页

1,976103需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Observability Designer

The agent designs production-ready observability strategies that combine the three pillars (metrics, logs, traces) with SLI/SLO frameworks, golden signals monitoring, and alert optimization.

Workflow

  1. Catalogue services -- List every service in scope with its type (request-driven, pipeline, storage), criticality tier (T1-T3), and owning team. Validate that at least one T1 service exists before proceeding.
  2. Define SLIs per service -- For each service, select SLIs from the Golden Signals table. Map each SLI to a concrete Prometheus/InfluxDB metric expression.
  3. Set SLO targets -- Assign SLO targets based on criticality tier and user expectations. Calculate the corresponding error budget (e.g., 99.9% = 43.8 min/month).
  4. Design burn-rate alerts -- Create multi-window burn-rate alert rules for each SLO. Validate that every alert has a clear runbook link and response action.
  5. Build dashboards -- Generate dashboard specs following the hierarchy: Overview > Service > Component > Instance. Cap each screen at 7 panels. Include SLO target reference lines.
  6. Configure log aggregation -- Define structured log format, set log levels, assign correlation IDs, and configure retention policies per tier.
  7. Instrument traces -- Set up distributed tracing with sampling strategy (head-based for dev, tail-based for production). Define span boundaries at service and database call points.
  8. Validate coverage -- Confirm every T1 service has metrics, logs, and traces. Confirm every alert has a runbook. Confirm dashboard load time is under 2 seconds.

SLI/SLO Quick Reference

SLI TypeMetric Expression (Prometheus)Typical SLO
Availability1 - (sum(rate(http_requests_total{code=~"5.."}[5m])) / sum(rate(http_requests_total[5m])))99.9%
Latency (P99)histogram_quantile(0.99, rate(http_request_duration_seconds_bucket[5m]))< 500ms
Error ratesum(rate(grpc_server_handled_total{grpc_code!="OK"}[5m])) / sum(rate(grpc_server_handled_total[5m]))< 0.1%
Throughputsum(rate(http_requests_total[5m]))> baseline

Error Budget Calculation

Error Budget = 1 - SLO target

Example (99.9% availability):
  Monthly budget = 30d x 24h x 60m x 0.001 = 43.2 minutes
  If 20 minutes consumed, remaining = 23.2 minutes (53.7% left)

Burn-Rate Alert Design

WindowBurn RateSeverityBudget Consumed
5 min / 1 hr14.4xCritical (page)2% in 1 hour
30 min / 6 hr6xWarning (ticket)5% in 6 hours
2 hr / 3 day1xInfo (dashboard)10% in 3 days

Rule: Every critical alert must have an actionable runbook. If no clear action exists, downgrade to warning.

Alert Classification

SeverityMeaningResponseRouting
CriticalService down or SLO burn rate highPage on-call immediatelyPagerDuty escalation
WarningApproaching threshold, non-user-facingCreate ticket, fix in business hoursSlack channel
InfoDeployment notification, capacity trendReview in next standupDashboard only

Alert Fatigue Prevention

  • Hysteresis: Set different thresholds for firing (e.g., > 90% CPU for 5 min) and resolving (e.g., < 80% CPU for 10 min).
  • Suppression: Suppress dependent alerts during known outages (e.g., suppress pod alerts when node is down).
  • Grouping: Group related alerts into a single notification (e.g., all pods in one deployment).
  • Precision over recall: A missed alert that would self-resolve is better than 50 false pages per week.

Golden Signals

SignalWhat to MonitorKey Metrics
LatencyRequest durationP50, P95, P99 response time; queue wait; DB query time
TrafficRequest volumeRPS with burst detection; active sessions; bandwidth
ErrorsFailure rate4xx/5xx rates; error budget consumption; silent failures
SaturationResource pressureCPU/memory/disk utilization; queue depth; connection pool usage

Dashboard Design Rules

  • Hierarchy: Overview (all services) > Service (one service) > Component (e.g., database) > Instance
  • Panel limit: Maximum 7 panels per screen to manage cognitive load
  • Reference lines: Always show SLO targets and capacity thresholds
  • Time defaults: 4 hours for incident investigation, 7 days for trend analysis
  • Role-based views: SRE (operational), Developer (debug), Executive (reliability summary)

Structured Log Format

{
  "timestamp": "2025-11-05T14:30:00Z",
  "level": "ERROR",
  "service": "payment-api",
  "trace_id": "abc123def456",
  "span_id": "789ghi",
  "message": "Payment processing failed",
  "error_code": "PAYMENT_TIMEOUT",
  "duration_ms": 5023,
  "customer_id": "cust_42",
  "environment": "production"
}

Log levels: DEBUG (local dev only), INFO (request lifecycle), WARN (degraded but functional), ERROR (failed operation), FATAL (service cannot continue).

Trace Sampling Strategies

StrategyWhen to UseTrade-off
Head-based (10%)Development, low-traffic servicesMisses rare errors
Tail-basedProduction, high-trafficCaptures errors/slow requests; higher resource cost
AdaptiveVariable traffic patternsAdjusts rate based on load; more complex to configure

Runbook Template

# Alert: [Alert Name]

## What It Means
[One sentence explaining the alert condition]

## Impact
[User-facing vs internal; affected services]

## Investigation Steps
1. Check dashboard: [link]  (1 min)
2. Review recent deploys: [link]  (2 min)
3. Check dependent services: [list]  (2 min)
4. Review logs: [query]  (3 min)

## Resolution Actions
- If [condition A]: [action]
- If [condition B]: [action]
- If unclear: Escalate to [team] via [channel]

## Post-Incident
- [ ] Update incident timeline
- [ ] File post-mortem if > 5 min user impact

Example: E-Commerce Payment Service Observability

service: payment-api
tier: T1 (revenue-critical)
owner: payments-team

slis:
  availability:
    metric: "1 - rate(http_5xx) / rate(http_total)"
    slo: 99.95%
    error_budget: 21.6 min/month
  latency_p99:
    metric: "histogram_quantile(0.99, http_duration_seconds)"
    slo: < 800ms
  error_rate:
    metric: "rate(payment_failures) / rate(payment_attempts)"
    slo: < 0.5%

alerts:
  - name: PaymentHighErrorRate
    expr: "rate(payment_failures[5m]) / rate(payment_attempts[5m]) > 0.01"
    for: 2m
    severity: critical
    runbook: "https://wiki.internal/runbooks/payment-errors"

dashboard_panels:
  - Payment success rate (gauge)
  - Transaction volume (time series)
  - P50/P95/P99 latency (time series)
  - Error breakdown by type (stacked bar)
  - Downstream dependency health (status map)
  - Error budget remaining (gauge)

Cost Optimization

  • Metric retention: 15-day full resolution, 90-day downsampled, 1-year aggregated
  • Log sampling: Sample DEBUG/INFO at 10% in high-throughput services; always keep ERROR/FATAL at 100%
  • Trace sampling: Tail-based sampling retains only errors and slow requests (> P99)
  • Cardinality management: Alert on any metric with > 10K unique label combinations

Scripts

SLO Designer (slo_designer.py)

Generates SLI/SLO frameworks from service description JSON. Outputs SLI definitions, SLO targets, error budgets, burn-rate alerts, and SLA recommendations.

Alert Optimizer (alert_optimizer.py)

Analyzes existing alert configurations for noise, coverage gaps, and duplicate rules. Outputs an optimization report with improved thresholds.

Dashboard Generator (dashboard_generator.py)

Creates Grafana-compatible dashboard JSON from service/system descriptions. Covers golden signals, RED/USE methods, and role-based views.

Integration Points

SystemIntegration
PrometheusMetric collection and alerting rules
GrafanaDashboard creation and visualization
Elasticsearch/KibanaLog analysis and search
Jaeger/ZipkinDistributed tracing
PagerDuty/VictorOpsAlert routing and escalation
Slack/TeamsNotification delivery

Troubleshooting

ProblemCauseSolution
Burn-rate alerts never fireSLO target set too low or error budget too generous for actual trafficTighten SLO target incrementally (e.g., 99.5% to 99.9%) and verify metric expressions return non-zero values using rate() over a short window
Alert storm during deploymentsNo suppression rules for planned rollouts; alerts lack hysteresisAdd deployment-aware silence windows in Alertmanager and configure for: clauses of at least 2-5 minutes on all alerts
Dashboard panels show "No Data"Metric names or label selectors do not match what the exporter publishesRun curl localhost:9090/api/v1/label/__name__/values to list available metrics and cross-check label filters in panel queries
High cardinality causing Prometheus OOMUnbounded labels (user ID, request ID) on metricsRemove high-cardinality labels from instrumentation; use metric_relabel_configs to drop offending series and set a cardinality alert at 10K unique combinations
Error budget drains faster than expectedSLI numerator counts partial failures (e.g., retried requests counted twice)Ensure good/total event counters use the same request scope; deduplicate at the instrumentation layer, not the query layer
Trace sampling misses critical errorsHead-based sampling drops error spans at the same rate as success spansSwitch to tail-based sampling in production so 100% of error and slow spans are retained regardless of base sample rate
Runbooks go stale after service changesNo ownership or review cadence tied to alertsLink each alert YAML to a runbook file in version control; add a CI check that fails if an alert references a missing or outdated runbook

Success Criteria

  • Alert noise ratio below 10% -- fewer than 1 in 10 pages should be false positives or non-actionable.
  • SLO compliance above 99.5% across all Tier-1 services measured over a rolling 30-day window.
  • Mean time to detect (MTTD) under 5 minutes for Tier-1 service degradations via burn-rate alerts.
  • Every critical alert has an associated runbook that was reviewed within the last 90 days.
  • Dashboard load time under 2 seconds with default time range for all role-based views.
  • Trace coverage spans 100% of Tier-1 service boundaries with tail-based sampling retaining all error and P99+ latency spans.
  • Error budget consumption is reviewed weekly by the owning team with documented decisions on whether to freeze or proceed with deployments.

Scope & Limitations

Covers:

  • SLI/SLO framework design for request-driven, pipeline, storage, and ML services.
  • Multi-window burn-rate alert generation and alert noise optimization.
  • Grafana-compatible dashboard specification with role-based layouts (SRE, Developer, Executive, Ops).
  • Structured logging format, trace sampling strategy selection, and cost-optimization guidance.

Does NOT cover:

  • Infrastructure provisioning or Terraform/Helm configuration for Prometheus, Grafana, or Jaeger -- see ci-cd-pipeline-builder for deployment pipelines.
  • Incident response workflow orchestration or post-mortem facilitation -- see runbook-generator for runbook authoring.
  • Application Performance Management (APM) agent installation or vendor-specific SDK integration.
  • Security monitoring, SIEM rule design, or compliance audit logging -- see skill-security-auditor for security-focused analysis.

Integration Points

SkillIntegrationData Flow
runbook-generatorEvery burn-rate alert references a runbook; the runbook generator consumes alert definitions to scaffold investigation stepsAlert YAML --> runbook-generator --> Markdown runbook linked in alert annotations
ci-cd-pipeline-builderDeployment events feed into dashboard annotations and alert suppression windowsPipeline events --> Grafana annotations + Alertmanager silences
performance-profilerLatency SLI breaches trigger profiling; profiler results inform SLO target adjustmentsSLO burn-rate alert --> profiler invocation --> refined latency thresholds
database-designerDatabase SLIs (query latency, connection success rate, replication lag) align with schema-level health checksDB schema metadata --> SLI metric expressions for database-type services
tech-debt-trackerError budget depletion signals feed into tech debt prioritization as reliability investmentsError budget reports --> tech debt backlog items with SLO-linked severity
release-managerRelease readiness gates check remaining error budget before approving deploymentsError budget API --> release gate pass/fail decision

Tool Reference

SLO Designer (scripts/slo_designer.py)

Purpose: Generates complete SLI/SLO frameworks from service definitions, including SLI metric expressions, SLO targets, error budgets, multi-window burn-rate alerts, and SLA recommendations.

Usage:

python slo_designer.py --input service_definition.json --output slo_framework.json
python slo_designer.py --service-type api --criticality high --user-facing true
python slo_designer.py --service-type web --criticality critical --user-facing true --summary-only

Flags/Parameters:

FlagShortRequiredDescription
--input-iNo*Input service definition JSON file
--output-oNoOutput framework JSON file (defaults to {service_name}_slo_framework.json)
--service-type--No*Service type: api, web, database, queue, batch, ml
--criticality--No*Service criticality level: critical, high, medium, low
--user-facing--No*Whether service is user-facing: true, false
--service-name--NoService name (defaults to {service_type}_service)
--summary-only--NoOnly display summary, do not save JSON

*Either --input or all three of --service-type, --criticality, and --user-facing are required.

Example:

python slo_designer.py --service-type api --criticality high --user-facing true --service-name payment-api --output payment_slo.json

Output Formats: JSON file containing metadata, slis, slos, error_budgets, sla_recommendations, monitoring_recommendations, and implementation_guide. Also prints a human-readable summary to stdout.


Alert Optimizer (scripts/alert_optimizer.py)

Purpose: Analyzes existing alert configurations to identify noisy alerts, coverage gaps, duplicate rules, poor thresholds, missing runbooks, and routing issues. Generates an optimization report and optionally an improved configuration.

Usage:

python alert_optimizer.py --input alerts.json --analyze-only
python alert_optimizer.py --input alerts.json --output optimized_alerts.json
python alert_optimizer.py --input alerts.json --report report.html --format html

Flags/Parameters:

FlagShortRequiredDescription
--input-iYesInput alert configuration JSON file
--output-oNoOutput optimized configuration JSON file (defaults to optimized_alerts.json)
--report-rNoGenerate analysis report to specified file path
--format--NoReport format: json (default), html
--analyze-only--NoOnly perform analysis, do not generate optimized config

Example:

python alert_optimizer.py --input prod_alerts.json --analyze-only --report analysis.json --format json

Output Formats: JSON or HTML report containing noise analysis (scored alerts with reasons and recommendations), coverage gap analysis (missing categories and golden signals), duplicate detection (exact and semantic duplicates), and optimization recommendations. When not using --analyze-only, also outputs a rewritten alert configuration file.


Dashboard Generator (scripts/dashboard_generator.py)

Purpose: Creates Grafana-compatible dashboard JSON specifications from service definitions. Covers golden signals, RED/USE methods, role-based views (SRE, Developer, Executive, Ops), and drill-down paths for troubleshooting workflows.

Usage:

python dashboard_generator.py --input service_definition.json --output dashboard_spec.json
python dashboard_generator.py --service-type api --name "Payment Service" --output payment_dashboard.json
python dashboard_generator.py --service-type web --name "Frontend" --role developer --format grafana

Flags/Parameters:

FlagShortRequiredDescription
--input-iNo*Input service definition JSON file
--output-oNoOutput dashboard specification file (defaults to {service_name}_dashboard.json)
--service-type--No*Service type: api, web, database, queue, batch, ml
--name--No*Service name
--criticality--NoService criticality level: critical, high, medium (default), low
--role--NoTarget role for dashboard optimization: sre (default), developer, executive, ops
--format--NoOutput format: json (default), grafana
--doc-output--NoGenerate documentation file at specified path
--summary-only--NoOnly display summary, do not save files

*Either --input or both --service-type and --name are required.

Example:

python dashboard_generator.py --service-type database --name "orders-db" --criticality high --role sre --format grafana --output orders_db_dashboard.json

Output Formats: JSON specification or Grafana-compatible JSON containing metadata, configuration, layout, panels (with Prometheus query expressions, visualization types, grid positions), variables, alerts_integration, and drill_down_paths. Optionally generates a Markdown documentation file via --doc-output.

平台分布

Codex

32.98%
按下载量换算228

Claude

32.33%
按下载量换算224

Cursor

19.78%
按下载量换算137

Gemini CLI

9.29%
按下载量换算64

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills