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 slo-architectgit 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/slo-architect)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/slo-architect"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/slo-architect/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/slo-architect"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/slo-architect.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.00194 | $0.05232 |
| Opus 5.5 | $0.00078 | $0.02093 |
| Sonnet 5.5 | $0.00039 | $0.01046 |
| Haiku 4.5 | $0.00019 | $0.00523 |
Grade A, and why
slo-architect 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 — 320 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SLO Architect
定义有意义的 SLO。现实中的多数 "SLO" 是没人信的拍脑袋数字——每个端点都写 99.9%,没有 SLI 定义,没有错误预算,预算烧穿也没人知道该做什么。本技能执行 Google SRE Workbook 的纪律:选对 SLI,定一个用户真正在乎的目标值,算出错误预算,接好多窗口 burn-rate 告警,并写明预算耗尽时的处置策略。
何时使用
- 为服务或功能定义新 SLO
- 审查现有 SLO 的常见错误
- 选对 SLI(基于事件 vs 基于时间窗 vs 基于请求)
- 计算错误预算与 burn-rate 告警阈值
- 把 SLO 与现有控制手段挂钩——feature flag 中止、chaos 爆炸半径、operator 能力等级
何时不使用
- 泛用可观测性策略(metrics + logs + traces)→ 用
observability-designer - 有法律效力的客户 SLA → 那是合同起草,不是工程
- 性能压测(容量问题,不是可靠性问题)→ 用
performance-profiler - 进行中的事故响应 → 用
incident-response
输入清单
跑任何工具前一次性收集。缺输入时用这句话向用户问一次:"要生成 SLO,请一次性提供:服务名、SLI 类型、目标值、窗口天数、负责人、错误预算策略文档路径(如已有 SLO 文档目录也给 review 用)。"
| 输入 | 必需 | 说明 |
|---|---|---|
| 服务名 | 是 | 如 checkout-svc → --service |
| SLI 类型 | 是 | request-success-rate / request-latency / availability-time / data-freshness / correctness 之一 → --sli-type |
| 目标值 | 是 | 如 99.9(百分比)→ --target;从 30 天历史 SLI 数据中取,不要拍脑袋 |
| 窗口天数 | 否 | 默认 28(= 4 个自然周)→ --window-days |
| 负责人 | 生效 SLO 必需 | 担责的团队或个人 → --owner;缺省渲染 <must define> 占位符 |
| 错误预算策略文档 | 生效 SLO 必需 | 书面策略的路径 → --policy-doc;缺省渲染 <must define> 占位符 |
| SLO 文档目录 | 仅 review 用 | 现有 SLO 定义(markdown/JSON)所在目录 → --slo-doc |
前置自检
在仓库根目录运行(或本技能目录内运行下文相对路径形式)。第一个失败处停下修复——不要即兴发挥。
python3 --version # 预期:Python ≥ 3.8。3 个工具全部仅依赖标准库。
ls scripts/slo_designer.py scripts/error_budget_calculator.py scripts/slo_review.py
# 预期:3 个文件全部列出。
- Python 缺失或版本过旧 → 安装 Python ≥ 3.8,然后停止(不要用未验证的另一个解释器版本跑工具)。
- 脚本文件缺失 → 目录不对;
cd到本技能目录,然后停止并重查。 - 审查现有 SLO?再跑
ls <slo-doc-dir>—— 预期:至少一份.md/.jsonSLO 文档。为空 → 把--slo-doc指向真实目录,或先用--sample看工具输出形状。
快速开始
# 1. 设计一个 SLO(单行;--owner 与 --policy-doc 为必填约束,缺失退出码 1)
python scripts/slo_designer.py --service checkout-svc --sli-type request-success-rate --target 99.9 --window-days 30 --owner payments-team --policy-doc docs/slo-policy.md
# 2. 计算错误预算 + 多窗口 burn-rate 告警
python scripts/error_budget_calculator.py --target 99.9 --window-days 30
# 3. 审查现有 SLO 定义的常见错误
python scripts/slo_review.py --slo-doc assets/slos/ # 随包达标样例(target/window/numerator/denominator/error budget policy 五要素齐全);你的真实项目换成 docs/slos/
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/error_budget_policy.md 2.6 KB
- assets/slo_template.yaml 2.2 KB
- assets/slos/payment-api.md 384 B
- references/composition.md 5.6 KB
- references/error_budget.md 5.1 KB
- references/sli_design.md 6.5 KB
- scripts/error_budget_calculator.py 5.5 KB runs code
- scripts/slo_designer.py 6.5 KB runs code
- scripts/slo_review.py 5.5 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 · -1 lines · +5 tokens per session 50df7e0eab7a
- 2mo ago Changed · +1 lines · +189 tokens per session a2739c10a864
- 2mo ago Changed · -6 lines 80f0877a283c
- 2mo ago Changed · +87 lines · -164 tokens per session 1e2942e34a38
- 3mo ago First seen · 239 lines · 164 tokens per session scan A 45251c4e1871
slo-architect is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 194 tokens to every session and 5,232 once invoked, about $0.0008 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.
slo-architect compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| slo-architectMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 194 | 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 |