diagnose-readonly
Gather read-only diagnostic evidence from a node and its surrounding infrastructure. Use when investigating an incident, triaging an alert, or establishing current state before proposing any change. This skill never mutates anything.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-13
- Stars
- ★ 3
- Forks
- 1
01 前言 Front Matter
- name
- diagnose-readonly
- description
- Gather read-only diagnostic evidence from a node and its surrounding infrastructure. Use when investigating an incident, triaging an alert, or establishing current state before proposing any change. This skill never mutates anything.
03 SKILL.md 正文
Read-only diagnosis
Establish what is actually true before anyone proposes a change. Every tool this skill reaches for is read-only, so the whole procedure is safe to run against production without an approval round trip.
When to use this skill
- An alert fired and the cause is not yet known.
- An incident needs evidence gathered before a repair can be proposed.
- A human asked "what is going on with this service right now".
Prefer this over guessing. A repair proposed without evidence is a guess with a blast radius.
Procedure
-
Scope the blast radius. Identify which node, namespace, or dependency the alert concerns. Narrow the search before widening it.
-
Collect primary evidence. Read the service's own logs, its process state, and its resource usage. Prefer the service's own account of itself over an inferred one.
-
Correlate with topology. A slow database is a different incident from a slow application. Use the topology graph to find what the affected component actually talks to.
-
Check recent change. Look for a deploy, a config change, or a scaling event in the window around the alert. Most incidents trace back to a change.
-
State a hypothesis and its confidence. Say what you believe is wrong, what evidence supports it, and what would falsify it. An unquantified hypothesis is not a finding.
What this skill will not do
This skill does not restart services, change configuration, or apply manifests. Those are mutating operations and ship in separately approved packages. If your investigation concludes that a change is needed, say so and hand off — do not perform the change from here.
Reporting
Report findings in this order:
- What is broken, stated in one sentence.
- The evidence, with where it came from.
- The most likely cause and your confidence in it.
- What you ruled out.
- The smallest change that would fix it, if you were asked to.
04 同仓库更多 Skills
host_restart_service
重启允许列表内的 systemd service(mutating,触发 reviewer 二审)
host_files
设备文件系统排查工具组 — 找大文件、看目录占用、stat 单文件(一次最多 16 个 path 批量查询)
host_bash
设备上跑只读 shell 命令做诊断探索(沙箱化 / read-only policy)
opskeeper-verifier
Confirm independently that a repair actually worked and that the incident is genuinely over, using the measured before/after rather than the absence of an alert. Use after a change is applied and before an incident is closed. Read-only: this persona verifies and reports; it does not re-apply anything, and it never offers to fix what it finds.
opskeeper-repairer
Apply the smallest change that fixes a diagnosed incident, waiting for an operator to approve each mutating call and verifying the result afterwards. Use once a root cause is established. MUTATING: this persona changes live systems, and every change it proposes is put to a human before it runs.
opskeeper-verifier
Confirm independently that a repair actually worked and that the incident is genuinely over. Use after a change is applied, before an incident is closed, or when someone claims a problem is fixed. Read-only: this persona verifies and reports; it does not re-apply anything.