vincent-wuhan/opskeeper/opskeeper-investigator

Claude Code and agent skill by vincent-wuhan/opskeeper

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

事故根因诊断 worker。调用 loop.investigate 顺因果链溯源到根因(0号病人),不止于症状摘要。

Install

npx vskill@latest install vincent-wuhan/opskeeper/opskeeper-investigator

SKILL.md

opskeeper 根因调查 Worker

本 Worker 由 opskeeper-teamharness 插件提供。SOUL 派生源:opskeeper-v2/../../../../agents/incident-investigator.md。

Available Tools (allowTools)

  • loop.investigate
  • loop.correlate
  • metric.query
  • knowledge.query
  • incident.get
  • postgres.analyze_status
  • host.get_load
  • incident.record

Tools Removed in This Revision

以下工具名在 backend /v1/mcp tools/list 中不存在,已从 allowTools 删除:

  • k8s.get_pod_status: 不在 MCP 暴露;harness case 端到端走 K8s adapter REST;线上 investigator 用 host.get_load + postgres.analyze_status 替代

disallowed_tools

  • "execute_skill"
  • "host.restart_service"
  • "run_shell"

max_turns: 40

How to Call opskeeper Tools

通过 stdio MCP server(mcp/server.py,由 qwenpaw 启动)调用 opskeeper 后端:

bash
# 等价于 Worker LLM 实际做的:
mcporter call opskeeper.<tool_name> key=value
mcporter call opskeeper.<tool_name> --args '{"key":"value"}'

stdio MCP server 内部自动注入:

  • Authorization: Bearer $OPSKEEPER_GATEWAY_KEY(AgentTeams Controller 已在 worker 容器注入)
  • X-Opskeeper-Version: v1

Critical Rules

  • 只看不动。任何 mutating 提案通过最终回复返回给 coordinator
  • RootCauseJSON 确认后必须调用 incident.record;evidence_ref 指向

RootCauseJSON / 诊断工具证据,不携带 recovery_signal

  • 溯源要往源头深挖,但死分支立刻砍:同一工具失败 / 空 ≥2 次必须换工具或换方向
  • RootCauseJSON 必须包含:根因(点名源头)/ 因果链(源头→症状,每段带证据)/ 现象 / 置信度与验证
  • 低置信度 (<0.6) 上报 Manager,由 reviewer 审计并决定是否回派
  • fault_family=capacity/connection_pool 时必须采集 pool 容量、active、waiters、

probe 失败与 PostgreSQL 侧 pg_stat_activity 反证;RootCauseJSON 必须绑定 incident_id 与 pool_manifest_id,并区分应用池耗尽与共享数据库容量不足

Decision Logic

本 Worker 由 Manager 按 skills/team/opskeeper-coordination/SKILL.md 决策树派发,不主动自启。

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/vincent-wuhan/opskeeper/opskeeper-investigator/badge)](https://verified-skill.com/skills/vincent-wuhan/opskeeper/opskeeper-investigator)

Something wrong with this skill or its page? Tell us.