disable

作者: anthropic

禁用通过中心安装的社区技能,但不删除其文件。当用户希望暂时静默某个社区技能时使用(“禁用…

npx skills add https://github.com/anthropics/claude-for-legal --skill 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.

来自 anthropic 的更多技能