manage-slos
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "manage-slos":https://skillpi.com/zh/skills/deepskill-f2667121046a30379394bd2d36d2b8845af2050227039a24f46a042a20cc3e11。安装前核对上游来源和版本:https://github.com/harness/harness-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
协助处理 Harness 服务可靠性管理(SRM)相关任务。功能包括拉取近期部署信息以进行事件关联分析、根据部署/执行历史生成值班交接报告,以及起草运维操作手册。用于 SLO、SLI、错误预算、燃烧率告警、值班交接、操作手册与事件分类相关场景(不用于 DORA 指标或混沌实验)。
介绍来源: third_party · harness · 2.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 来源文档未说明。
- 适合谁
- 来源文档未说明。
- 输入和输出
- 来源文档未说明。
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: manage-slos
description: >-
Assist with Harness Service Reliability Management (SRM) tasks that the MCP server currently
supports: pulling recent deployments for incident correlation, generating on-call handover
reports from deployment/execution history, and drafting operational runbooks. Use when asked
about SLOs, error budgets, burn-rate alerts, on-call handover, runbooks, or incident triage.
Do NOT use for DORA metrics (use dora-metrics instead) or chaos experiments (use
chaos-experiment instead). Trigger phrases: SLO, SLI, error budget, burn rate, on-call handover,
runbook, service reliability, incident response, on-call shift.
metadata:
author: Harness
version: 2.0.0
mcp-server: harness-mcp-v2
license: Apache-2.0
compatibility: |
Requires Harness MCP v2 server (harness-mcp-v2).
NOTE: SRM CRUD resources (`slo`, `slo_alert`, `monitored_service`) are NOT currently exposed
by the MCP server. Creating/managing SLOs and monitored services must be done in the Harness
UI. This skill focuses on the incident-correlation and reporting workflows that the MCP server
does support today (via `execution`, `service`, `environment`).Manage SLOs / SRM
Limitation: The MCP server does not currently expose
slo,slo_alert, ormonitored_serviceresource types. SLO definitions, burn-rate alerts, and monitored-service configuration must be created and edited via the Harness UI under Service Reliability Management. This skill covers the parts of the SRM workflow that are supported via MCP: deployment correlation, on-call handover reports, and operational runbooks.
What this skill can do via MCP
| Workflow | Supported today |
|---|---|
| Define an SLO or SLI | ❌ Use the Harness UI |
| Configure error-budget / burn-rate alerts | ❌ Use the Harness UI |
| Configure a monitored service | ❌ Use the Harness UI |
| Correlate deployments with an incident | ✅ via execution |
| Summarize recent releases for on-call handover | ✅ via execution, service, environment |
| Draft an operational runbook | ✅ (LLM-authored; pulls context from MCP) |
Instructions
Step 1: Establish Scope
Call MCP tool: harness_list
Parameters:
resource_type: "project"
org_id: "<organization>"
Step 2: Incident Triage — Correlate Deployments
When the user reports an active incident:
- Identify the affected service and environment.
- Pull recent executions that deployed the service.
Call MCP tool: harness_list
Parameters:
resource_type: "execution"
org_id: "<organization>"
project_id: "<project>"
# filter by service or environment as needed
- Correlate incident start time with deployment timestamps.
- Pull the failing execution's details:
Call MCP tool: harness_get
Parameters:
resource_type: "execution"
resource_id: "<execution_id>"
org_id: "<organization>"
project_id: "<project>"
- Guide the user through structured RCA: blast radius, suspected root cause, mitigation steps, rollback candidate.
Step 3: On-Call Handover Report
Gather from the user: outgoing/incoming engineers, shift window, owned services.
Pull recent executions and services:
Call MCP tool: harness_list
Parameters:
resource_type: "execution"
org_id: "<organization>"
project_id: "<project>"
Call MCP tool: harness_list
Parameters:
resource_type: "service"
org_id: "<organization>"
project_id: "<project>"
Generate a structured handover covering: active/recent incidents the user describes, deployments during the shift, services with elevated failure counts, and items requiring attention.
For SLO burn-rate and error-budget status, direct the user to the SRM UI — the MCP server does not expose these metrics.
Step 4: Operational Runbook (LLM-Authored)
Gather from the user: service name, team, tech stack, dependencies, SLO targets, common failure modes.
Structure the runbook with:
- Service overview (purpose, owners, tech stack)
- Health checks (pointers to SRM monitored-service dashboard in the Harness UI)
- Common alerts with response procedures
- Escalation paths
- Rollback procedures (reference relevant pipelines via
harness_list resource_type: pipeline) - Dependency contacts
Defining SLOs (UI-Only Today)
When the user asks to define an SLO, burn-rate alert, or monitored service, respond:
- Gather requirements (service tier, health sources, SLO targets, rolling window, SLI type).
- Explain that SLO CRUD is not exposed via MCP today and link the user to the Harness SRM UI.
- Offer to draft the SLO spec (name, target %, SLI type, burn-rate thresholds) as text the user can paste into the UI.
- Suggested burn-rate alert windows: 14.4×/1h (page), 6×/6h (ticket), 1×/3d (log).
Examples
- "Our payment service is down, help me triage" — Pull recent
executions for the service, correlate with incident start, suggest rollback candidate. - "Generate an on-call handover report" — Pull executions and services during the shift, summarize with active issues.
- "Create a runbook for the auth-service" — Draft runbook using MCP to list pipelines/services/environments for accurate references.
- "Define SLOs for our payment-gateway service" — Draft the SLO spec as text; point to the Harness SRM UI for creation.
- "Configure burn-rate alerts" — Draft the alert config; point to the SRM UI.
Performance Notes
- When correlating incidents with deployments, pull a wide enough execution window (±30 min) to catch slow-burn failures.
- For handover reports, include both successful and failed executions — a streak of successes is useful context.
Troubleshooting
"SLO not found" or "Monitored service not found"
- These resources are not exposed by the MCP server today. Manage them in the Harness UI under Service Reliability Management.
Incident correlation missing executions
- Confirm
org_idandproject_idscope the service - Broaden the execution filter time window
- Check that the service's pipelines actually ran (no deploy = no execution)
当前收录版本
2.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- Skill 针对 Harness SRM 场景下的高频运维任务(事件关联、值班交接、操作手册),具有明确的实际价值和广泛受众
- 功能边界清晰,避免与 dora-metrics 和 chaos-experiment 重叠,体现良好的生态分工
亮点
- description 和 frontmatter 中均包含完整触发短语(SLO、SLI、错误预算等),边界清晰,覆盖多种变体
亮点
- Phase/步骤清晰(Step 1-4),有出口条件,含端到端示例,frontmatter 完整,单文件未超 500 行
亮点
- 工具来源明确(harness_list, harness_get),参数正确,覆盖主要异常(如 SLO not found 提示跳转 UI),不可逆操作有确认机制
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。