llm-latency-slo-planner
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "llm-latency-slo-planner" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e6502ff13295e51546de5ccbf302770125cdb2e9970ccb86bf683fa9cd75eb7b. Verify the upstream source and version against https://skillhub.cn/skills/user_b26bd65e/llm-latency-slo-planner-b26bd65e before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Define latency service-level objectives (SLOs) for large language models (LLMs), component budgets, percentile metrics, error budgets, and alerting. Applicable to streaming or non-streaming APIs, agent workflows, RAG pipelines, tool calls, capacity planning, or handling slow-response incidents.
Introduction source: third_party · user_b26bd65e · 1.0.1 Reference
SkillPi interpretation
- Tasks
- Define LLM latency service-level objectives, component budgets, percentiles, error budgets, and alerts. Use for streaming or non-streaming APIs, agent workflows, RAG pipelines, tool calls, capacity planning, or slow-response incidents.
- Inputs and outputs
- Return SLI definitions, percentile targets, component budgets, error-budget math, dashboards, alerts, and mitigation playbooks. Include sample-size and measurement-window assumptions.
- Testing
- Not tested
Browse files
Frontmatter
name: llm-latency-slo-planner
description: Define LLM latency service-level objectives, component budgets, percentiles, error budgets, and alerts. Use for streaming or non-streaming APIs, agent workflows, RAG pipelines, tool calls, capacity planning, or slow-response incidents.
slug: llm-latency-slo-planner-b26bd65e
displayName: LLM 延迟 SLO 规划器
version: 1.0.1
summary: 为首 Token、完整响应和多步代理流程制定百分位目标、组件预算、错误预算与告警策略。
license: MITLLM Latency SLO Planner
Measure user-visible stages separately. Averages are insufficient for tail latency.
Workflow
- Define the user journey and synchronous deadline.
- Measure queue, retrieval, prompt assembly, provider connection, time-to-first-token, generation, tools, retries, and post-processing.
- Set P50/P95/P99 objectives for time-to-first-token and completion or task success.
- Allocate component budgets whose sum leaves explicit headroom.
- Define slow-success versus timeout versus failure and calculate the error budget.
- Segment by model, provider, region, input/output size, streaming, and tool count.
- Alert on burn rate and sustained tail shifts, not isolated samples.
Output
Return SLI definitions, percentile targets, component budgets, error-budget math, dashboards, alerts, and mitigation playbooks. Include sample-size and measurement-window assumptions.
Current listing version
1.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决 LLM 延迟 SLO 规划的核心痛点,适用于流式 API、RAG 管道、代理工作流等高价值场景
- 提供端到端方法论,涵盖百分位目标、组件预算、错误预算与告警策略
Highlights
- 触发词精准覆盖多种 LLM 应用场景,边界清晰,无歧义
Areas to improve
-
缺少 When to Use 和示例章节 Reported severity: Minor
文档结构完整但缺少使用场景说明和端到端示例
Recommendation: 补充 When to Use 章节和具体示例以增强可读性
Highlights
- Workflow 步骤清晰,Output 定义明确,frontmatter 完整
Highlights
- 提供完整的 SLI 定义、百分位目标和错误预算计算逻辑,方法论闭环
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.