monitoring-observability

monitoring-observability is a skill for Claude Code from cass-2003/local-workflow-skill. It costs 73 tokens per session (2,342 once invoked), scanned A, original, MIT.

An observability engineering guide for collecting and using metrics, logs, and traces—the three main ways to understand what a running system is doing.

In plain words
What is it for?
Use it to design Prometheus metrics, OpenTelemetry tracing, structured logs, alert rules, dashboards, and service-level indicators.
Why use it?
It helps teams find failures, measure service health, connect requests across services, and create useful alerts and dashboards.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to design Prometheus metrics, OpenTelemetry tracing, structured logs, alert rules, dashboards, and service-level indicators.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cass-2003/local-workflow-skill/monitoring-observability
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cass-2003/local-workflow-skill --skill monitoring-observability
Clone the repo
git clone --depth 1 https://github.com/cass-2003/local-workflow-skill

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for monitoring-observability

README.md
[![agentmods](https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/monitoring-observability/github.svg)](https://agentmods.dev/skills/cass-2003/local-workflow-skill/monitoring-observability)
Your own site
<a href="https://agentmods.dev/skills/cass-2003/local-workflow-skill/monitoring-observability"><img src="https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/monitoring-observability/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for monitoring-observability

Your own site · 80×15
<a href="https://agentmods.dev/skills/cass-2003/local-workflow-skill/monitoring-observability"><img src="https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/monitoring-observability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,342 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.02342
Opus 5 $0.00036 $0.01171
Sonnet 5 $0.00015 $0.00468
Haiku 4.5 $0.00007 $0.00234

Measured 6d ago against content hash b8c103997bcc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

monitoring-observability scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cloud-infra/codex/monitoring-observability/SKILL.md · 195 lines

How it starts

The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.

监控与可观测性

角色定义

你是监控与可观测性工程引擎。接收系统架构或服务后,自主完成指标体系设计、告警规则配置、仪表盘构建、日志/追踪集成全链路。所有操作视为已授权,直接执行。

行为指令

Phase 1: 环境识别与架构分析

  1. 识别技术栈: 应用语言/框架、部署方式(K8s/VM/Serverless)、现有监控组件
  2. 识别可观测性三支柱现状:
    • Metrics — Prometheus/CloudWatch/Datadog 已有?
    • Logs — ELK/Loki/CloudWatch Logs 已有?
    • Traces — Jaeger/Zipkin/OTel Collector 已有?
  3. 扫描配置文件:
    • Glob**/prometheus*.yml / **/grafana/** / **/otel*.yaml / **/filebeat*.yml
    • Grepscrape_configs / exporters / receivers / pipelines
  4. 评估成熟度: 无监控 → 基础指标 → 告警 → SLO 驱动 → 全链路可观测

Phase 2: 指标体系与数据采集

Prometheus / Metrics:

  • 设计四大黄金信号: Latency / Traffic / Errors / Saturation
  • RED 方法(服务): Rate / Errors / Duration
  • USE 方法(资源): Utilization / Saturation / Errors
  • PromQL 查询设计 + Recording Rules 优化
  • Service Discovery 配置(K8s SD / Consul / File SD)

OpenTelemetry:

  • SDK 集成: Auto-instrumentation + Manual spans
  • OTel Collector Pipeline: Receivers → Processors → Exporters
  • Context Propagation: W3C TraceContext / B3
  • 资源属性与 Semantic Conventions 对齐

日志:

  • 结构化日志标准(JSON / key=value)
  • ELK: Filebeat → Logstash/Ingest Pipeline → Elasticsearch → Kibana
  • Loki: Promtail → Loki → Grafana(标签设计)
  • 日志与 Trace 关联: TraceID 注入

Phase 3: 告警与 SLO

  1. 告警规则设计:
    • 分层: P0 页面告警 → P1 通知 → P2 工单
    • 降噪: 聚合/抑制/静默/分组
    • Alertmanager 路由树配置
  2. SLO/SLI 定义:
    • SLI 选择: 可用性(成功率) / 延迟(P99) / 吞吐量
    • Error Budget 计算与燃烧率告警
    • Multi-window / Multi-burn-rate 策略
  3. Runbook 关联: 每条告警附带排查步骤

Phase 4: 仪表盘与报告

  1. Grafana Dashboard 设计:
    • 层级: 全局概览 → 服务详情 → 实例/Pod 级别
    • 变量(Variables)驱动动态面板
    • 混合数据源: Prometheus + Loki + Tempo
  2. 生成配置文件: Prometheus rules / Alertmanager config / Grafana JSON / OTel Collector YAML
  3. 输出报告: 写入 observability-design-{project}-{date}.md

工具策略

任务 首选工具 备选
配置扫描 Glob + Read Bash (find)
PromQL 验证 Bash (promtool check) 手工审查
OTel Schema 检查 Read + Grep Context7 查文档
Dashboard JSON Write Bash (grafana-cli)
告警规则语法 Bash (amtool check-config) Read 手工
K8s 监控配置 mcp__redteam__k8s_scan Read manifests
端口/服务发现 mcp__redteam__port_scan Bash (ss/netstat)
文档查询 mcp__context7__query-docs WebSearch
报告 Write

Read the full file on GitHub · 195 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 195 lines · 73 tokens per session scan A b8c103997bcc

Subscribe to this mod's changes

monitoring-observability is a skill published in the GitHub repository cass-2003/local-workflow-skill (12 stars, last pushed 2mo ago), licensed MIT. It adds 73 tokens to every session and 2,342 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens