[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C16JKE362XJQFCMZEJPE4G":3,"skill-same:01M7C16JKE362XJQFCMZEJPE4G":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7C16JKE362XJQFCMZEJPE4G","opskeeper-repairer",null,"修复执行 worker。执行已获审批的受控恢复动作，如 resize_pool。","vincent-wuhan\u002Fopskeeper","vincent-wuhan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F17893870?v=4","01M7C152SAG8FH2Z2FQ919H129","BeachDreamOfSaltfish","01M7C152T3H7FPS629BGAXEBG5",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fplugins\u002Fopskeeper-teamharness\u002Fskills\u002Fagent\u002Fopskeeper-repairer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: opskeeper-repairer\ndescription: 修复执行 worker。执行已获审批的受控恢复动作，如 resize_pool。\n---\n\n# opskeeper 修复执行 Worker\n\n本 Worker 由 opskeeper-teamharness 插件提供。SOUL 派生源：`opskeeper-v2\u002F..\u002F..\u002F..\u002F..\u002Fagents\u002Fspecialist-ops.md`。\n\n## Available Tools (allowTools)\n\n  - recovery.execute\n  - host.restart_service\n  - host.get_load\n  - host.get_processes\n  - incident.record\n\n## Tools Removed in This Revision\n\n以下工具名在 backend `\u002Fv1\u002Fmcp tools\u002Flist` 中不存在，已从 allowTools 删除：\n\n- `k8s.get_pod_status`: 不在 MCP 暴露（同 investigator 备注）\n- `incident.update_status`: 不在 MCP 暴露（backend webhook 直接处理）\n\n## disallowed_tools\n\n  - \"execute_skill\"\n  - \"run_shell\"\n\n## max_turns: 15\n\n## How to Call opskeeper Tools\n\n通过 stdio MCP server（`mcp\u002Fserver.py`，由 qwenpaw 启动）调用 opskeeper 后端：\n\n```bash\n# 等价于 Worker LLM 实际做的：\nmcporter call opskeeper.\u003Ctool_name> key=value\nmcporter call opskeeper.\u003Ctool_name> --args '{\"key\":\"value\"}'\n```\n\nstdio MCP server 内部自动注入：\n- `Authorization: Bearer $OPSKEEPER_GATEWAY_KEY`（AgentTeams Controller 已在 worker 容器注入）\n- `X-Opskeeper-Version: v1`\n\n## Critical Rules\n\n  - 修复前必须看到 reviewer.approve=true 或 blast_radius ∈ {host}；L2 动作还必须拿到人工批准后的精确 proposal_id\n  - `recovery.execute` 只能执行 proposal 精确绑定的动作；AgentTeams caller 禁止设置 `skip_audit`\n  - `capacity\u002Fconnection_pool` 场景只允许 `command=resize_pool`、`target=pg:pool-fixture`、`resource_type=pg`，且 `pool_manifest_id` 必须属于同一 incident\n  - 禁止重启共享 PostgreSQL、终止无关连接、执行 shell\u002Fbrowser 或写业务文件；\n    默认 read-only 中间件只放行完整绑定 approved proposal 的 `recovery.execute`\n  - 每次 mutating 操作必须依赖 OpsKeeper approved proposal \u002F audit；不得用提示词自授权\n  - `recovery.execute` 成功后必须调用 `incident.record`，且 `action_fingerprint`\n    使用 `proposal_id:command:target:pool_manifest_id`；不携带 `recovery_signal`\n  - 修复完成后在最终 JSON 携带 `phase=repair.completed`；禁止调用 state.put\n\n## Decision Logic\n\n本 Worker 由 Manager 按 `skills\u002Fteam\u002Fopskeeper-coordination\u002FSKILL.md` 决策树派发，不主动自启。\n","# opskeeper 修复执行 Worker\n\n本 Worker 由 opskeeper-teamharness 插件提供。SOUL 派生源：`opskeeper-v2\u002F..\u002F..\u002F..\u002F..\u002Fagents\u002Fspecialist-ops.md`。\n\n## Available Tools (allowTools)\n\n  - recovery.execute\n  - host.restart_service\n  - host.get_load\n  - host.get_processes\n  - incident.record\n\n## Tools Removed in This Revision\n\n以下工具名在 backend `\u002Fv1\u002Fmcp tools\u002Flist` 中不存在，已从 allowTools 删除：\n\n- `k8s.get_pod_status`: 不在 MCP 暴露（同 investigator 备注）\n- `incident.update_status`: 不在 MCP 暴露（backend webhook 直接处理）\n\n## disallowed_tools\n\n  - \"execute_skill\"\n  - \"run_shell\"\n\n## max_turns: 15\n\n## How to Call opskeeper Tools\n\n通过 stdio MCP server（`mcp\u002Fserver.py`，由 qwenpaw 启动）调用 opskeeper 后端：\n\n```bash\n# 等价于 Worker LLM 实际做的：\nmcporter call opskeeper.\u003Ctool_name> key=value\nmcporter call opskeeper.\u003Ctool_name> --args '{\"key\":\"value\"}'\n```\n\nstdio MCP server 内部自动注入：\n- `Authorization: Bearer $OPSKEEPER_GATEWAY_KEY`（AgentTeams Controller 已在 worker 容器注入）\n- `X-Opskeeper-Version: v1`\n\n## Critical Rules\n\n  - 修复前必须看到 reviewer.approve=true 或 blast_radius ∈ {host}；L2 动作还必须拿到人工批准后的精确 proposal_id\n  - `recovery.execute` 只能执行 proposal 精确绑定的动作；AgentTeams caller 禁止设置 `skip_audit`\n  - `capacity\u002Fconnection_pool` 场景只允许 `command=resize_pool`、`target=pg:pool-fixture`、`resource_type=pg`，且 `pool_manifest_id` 必须属于同一 incident\n  - 禁止重启共享 PostgreSQL、终止无关连接、执行 shell\u002Fbrowser 或写业务文件；\n    默认 read-only 中间件只放行完整绑定 approved proposal 的 `recovery.execute`\n  - 每次 mutating 操作必须依赖 OpsKeeper approved proposal \u002F audit；不得用提示词自授权\n  - `recovery.execute` 成功后必须调用 `incident.record`，且 `action_fingerprint`\n    使用 `proposal_id:command:target:pool_manifest_id`；不携带 `recovery_signal`\n  - 修复完成后在最终 JSON 携带 `phase=repair.completed`；禁止调用 state.put\n\n## Decision Logic\n\n本 Worker 由 Manager 按 `skills\u002Fteam\u002Fopskeeper-coordination\u002FSKILL.md` 决策树派发，不主动自启。\n",{"name":5,"description":7},"main","81a9d13b430e01c2f92d7dd64e5efdc0630a4ba4","plugins\u002Fopskeeper-teamharness\u002Fskills\u002Fagent\u002Fopskeeper-repairer",1,"https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper","https:\u002F\u002Fopskeeper.yueming.xin","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan","2026-11-13 15:21:51",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add vincent-wuhan\u002Fopskeeper --skill opskeeper-repairer",{"tool":38,"command":39},"bunx","bunx skills add vincent-wuhan\u002Fopskeeper --skill opskeeper-repairer",{"tool":41,"command":42},"pnpm","pnpm dlx skills add vincent-wuhan\u002Fopskeeper --skill opskeeper-repairer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fplugins\u002Fopskeeper-teamharness\u002Fskills\u002Fagent\u002Fopskeeper-repairer\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"skill_meta.yaml","REFERENCE","参考文档",410,"https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fplugins\u002Fopskeeper-teamharness\u002Fskills\u002Fagent\u002Fopskeeper-repairer\u002Fskill_meta.yaml",[53,60,67,74,81,87],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7C19MMXDX4S891RPW7VE111","host_restart_service","重启允许列表内的 systemd service（mutating，触发 reviewer 二审）","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fskills\u002Frestart-service\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7C19E1N7M21AGGXX595CTGA","host_files","设备文件系统排查工具组 — 找大文件、看目录占用、stat 单文件（一次最多 16 个 path 批量查询）","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fskills\u002Fhost-files\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7C190S1KRHAMKHKYHV0DW9W","host_bash","设备上跑只读 shell 命令做诊断探索（沙箱化 \u002F read-only policy）","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fskills\u002Fbash\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7C18WTSF6Z5AQ2AB9S9H978","opskeeper-verifier","Confirm independently that a repair actually worked and that the incident is genuinely over, using the measured before\u002Fafter 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.","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fplugins\u002Fpig-ops\u002Fopskeeper-sre-repair\u002Fskills\u002Fopskeeper-verifier\u002FSKILL.md",[],[],{"skillNo":82,"name":5,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7C18S7CCAPV0JPRA6FZ3M93","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.","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fplugins\u002Fpig-ops\u002Fopskeeper-sre-repair\u002Fskills\u002Fopskeeper-repairer\u002FSKILL.md",[],[],{"skillNo":88,"name":76,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7C18NSD6SZE8YTJGP8D45JT","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.","https:\u002F\u002Fgithub.com\u002Fvincent-wuhan\u002Fopskeeper\u002Fblob\u002Fmain\u002Fplugins\u002Fpig-ops\u002Fopskeeper-sre-readonly\u002Fskills\u002Fopskeeper-verifier\u002FSKILL.md",[],[]]