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.
npx skills add Morningstar202604/awesome-skillkit --skill observability-designergit clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitWrote 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.
[](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/observability-designer)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/observability-designer"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/observability-designer/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.
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/observability-designer"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/observability-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00166 | $0.04453 |
| Opus 5.5 | $0.00066 | $0.01781 |
| Sonnet 5.5 | $0.00033 | $0.00891 |
| Haiku 4.5 | $0.00017 | $0.00445 |
Grade A, and why
observability-designer 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Observability Designer / 可观测性设计
跨三大支柱(metrics、logs、traces)设计生产级仪表盘与告警配置,用确定性生成器替代拍脑袋。本 skill 面向 fullstack-devops-engineer,目标是让系统出问题时能快速定位、能被用户感知到前发现。
车道划分
SLO/SLI 设计、错误预算数学、burn-rate 告警阈值——包括生成 SLO 定义脚手架——交给 slo-architect(它带 slo_designer.py、error_budget_calculator.py、slo_review.py)。本技能的车道:仪表盘(scripts/dashboard_generator.py)与告警降噪(scripts/alert_optimizer.py)。
何时使用
- 新服务上线前要接监控/日志/链路追踪;
- 故障后复盘发现"看不见、查不到";
- 设计仪表盘、告警规则、埋点方案。
何时不使用
- SLO / 错误预算设计 →
slo-architect - 安装或运维可观测性 agent(Prometheus/Grafana 部署)→ ops/infrastructure 类技能
- 压测与容量规划 →
performance-profiler
三大支柱
- Metrics(指标):聚合数值,看趋势、配告警,低成本高覆盖。
- Logs(日志):离散事件,排查细节,结构化输出。
- Traces(链路):单次请求跨服务调用链,定位慢在哪一跳。
统一用 OpenTelemetry 埋点,后端可接 Prometheus/Grafana、Loki、Tempo/Jaeger。
RED 方法(请求类服务)
- Rate:每秒请求数(QPS/RPM)。
- Errors:失败请求数/比例。
- Duration:请求延迟分布(p50/p95/p99),不只看平均值。
USE 方法(资源类,如 DB/CPU)
- Utilization:利用率(CPU/内存/磁盘/连接池占用)。
- Saturation:饱和度(队列长度、等待时间)。
- Errors:错误计数(OOM、连接拒绝、慢查询数)。
必埋的黄金指标
- HTTP:
http_requests_total{route,method,status}、http_request_duration_seconds直方图。 - 业务:关键业务事件下单/支付成功量与失败量(业务指标比技术指标更能反映用户受影响面)。
- 依赖:DB 连接池使用率、外部 API 调用耗时与错误率。
- 容器:CPU/内存/重启次数/OOMKill。
结构化日志
- 每行 JSON,必带字段:
ts、level、service、trace_id、span_id、user_id(脱敏)、route、error。 - 错误日志带 stack trace,不打印整个请求体(PII)。
- 日志级别分级:
debug/info/warn/error,生产默认 info。
告警设计原则
- 告警"症状"而非"原因":告"用户看到 500 增多/延迟升高",而不是"某台机器 CPU 高"。
- 少而精:告警必须有人行动,告了没人理=没告。
- 分级:Critical(立即响应)/ Warning(工作时间处理)/ Info(仅记录)。
- 每个告警带 runbook 链接:现象、影响、排查步骤、值班人。
输入清单
跑任何东西前一次性收集。缺输入时用这句话向用户问一次:"要设计可观测性,请一次性提供:服务名、服务类型、关键级别、仪表盘受众;若要优化告警,再给告警配置 JSON 路径。"
| 输入 | 必需 | 说明 |
|---|---|---|
| 服务名 | 是 | 如 payments → --name |
| 服务类型 | 是 | api / web / database / queue / batch / ml 之一 → --service-type |
| 关键级别 | 是 | critical / high / medium / low → --criticality;决定告警默认值 |
| 仪表盘受众 | 是 | sre / developer / executive / ops → --role |
| 告警配置 JSON | 告警工作需要 | 现有规则及其阈值与路由 → --input(预期形状见 assets/sample_alerts.json) |
| 服务定义 JSON | 可选 | 更丰富的仪表盘输入 → --input(示例:assets/sample_service_api.json、assets/sample_service_web.json) |
What ships with it
11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .gitignore 56 B
- assets/sample_alerts.json 8.0 KB
- assets/sample_service_api.json 1.7 KB
- assets/sample_service_web.json 2.4 KB
- expected_outputs/sample_slo_framework.json 22 KB
- README.md 9.6 KB
- references/alert_design_patterns.md 14 KB
- references/dashboard_best_practices.md 16 KB
- scripts/alert_optimizer.py 46 KB runs code
- scripts/dashboard_generator.py 48 KB runs code
- scripts/test_smoke_all.py 1.3 KB runs code
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.
- 2mo ago Changed · +68 lines · +10 tokens per session 0eadfe2064b0
- 2mo ago Changed · +1 lines · +156 tokens per session 043fe0c42836
- 2mo ago Changed · -80 lines · -64 tokens per session 770f77c1503a
- 3mo ago First seen · 269 lines · 64 tokens per session scan A 7ec6cfffc54f
observability-designer is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 166 tokens to every session and 4,453 once invoked, about $0.0007 per session on Opus 5.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-08-31.
observability-designer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| observability-designerMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 166 | Claude Code, Codex |
| safe-refactorJuliusBrussee/caveman | Skill | 124k | today | Apache-2.0 | A | 29 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| auditing-subgroup-fairnessmaziyarpanahi/openmed | Skill | 5.9k | today | Apache-2.0 | A | 148 | Claude Code |
| memoryopensquilla/opensquilla | Skill | 7.2k | 4d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| infographic-template-updaterantvis/Infographic | Skill | 7.2k | 1mo ago | MIT | A | 43 | Claude Code |
| pulse-configureSnowflake-Labs/cocoplus | Skill | 729 | 23d ago | MIT | A | 12 | Claude Code, Codex |