360 Secure SkillHub
360 安全技能中心

open-ctx-doctor

该 Skill 用于诊断 open-context-mode 安装:优先调用 open_ctx_doctor MCP 工具在服务端完成运行时、hooks、FTS5 与 npm 版本检查并逐字复现结果;仅当 MCP 调用失败时回退到插件根目录下的 node CLI 执行 doctor。

分类:开发
zademy
热度 0.00
最近更新 2026-10-28 05:09:40

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add zademy/opencode-context-mode/open-ctx-doctor
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据出网未确认
Metadata
name
open-ctx-doctor
description
Diagnose an open-context-mode install — runtimes, hooks, FTS5, npm version. Trigger: /open-context-mode:open-ctx-doctor
user-invocable
true

Open Context Mode Doctor

Instructions

  1. Call the open_ctx_doctor MCP tool. It runs every check server-side and returns a plain-text report.
  2. Reproduce it verbatim. The status prefixes are already renderer-safe across clients: [OK] PASS, [FAIL] FAIL, [WARN] WARN.
  3. Fallback, only when the MCP tool call fails: resolve the plugin root by dropping /skills/open-ctx-doctor from this skill's directory, then run
    CLI="<PLUGIN_ROOT>/cli.bundle.mjs"; [ ! -f "$CLI" ] && CLI="<PLUGIN_ROOT>/build/cli.js"
    node "$CLI" doctor
    
    and reproduce the same output with the same prefixes.