disable

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

/disable

/disable

Run the
disable
workflow from the skill-manager reference skill against the named skill.
What disable does:
  • Renames the skill's
    SKILL.md
    to
    SKILL.md.disabled
    so Claude no longer discovers it as an active skill. Files, references, templates, and config stay in place.
  • If the skill ships hooks in
    hooks/hooks.json
    , also rename that file to
    hooks.json.disabled
    so no automatic triggers fire while the skill is disabled.
  • Logs the action to
    ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/install-log.yaml
    .
Safety rules:
  1. Only disable community skills installed through this hub. Same check as uninstall — consult the install log and CLAUDE.md installed table.
  2. Never disable a first-party plugin's skill. Off-limits.
  3. Confirm before renaming. Show the paths, get explicit
    yes
    .
Re-enable by running the command again with the same skill name — the skill-manager workflow recognizes a disabled skill and flips the rename back.
Detailed uninstall, disable, and re-enable workflows live in the
skill-manager
reference skill — load it before doing substantive work.
针对指定skill,运行skill-manager参考skill中的
disable
工作流。
禁用操作的具体内容:
  • 将skill的
    SKILL.md
    重命名为
    SKILL.md.disabled
    ,这样Claude就不会再将其识别为活跃skill。文件、引用、模板和配置均会保留。
  • 如果该skill在
    hooks/hooks.json
    中包含钩子,也会将该文件重命名为
    hooks.json.disabled
    ,确保禁用期间不会触发任何自动触发器。
  • 将操作记录到
    ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/install-log.yaml
    文件中。
安全规则:
  1. 仅禁用通过此hub安装的社区skill。与卸载操作的检查逻辑相同——参考安装日志和已安装的CLAUDE.md表格。
  2. 切勿禁用第一方插件的skill。此操作是禁止的。
  3. 重命名前需确认。显示文件路径,获取用户明确的
    yes
    确认。
再次运行相同的命令即可重新启用该skill——skill-manager工作流会识别已禁用的skill并将重命名操作恢复回去。
详细的卸载、禁用和重新启用工作流位于
skill-manager
参考skill中——在进行实质性操作前请先加载它。