uninstall

作者: anthropic

卸载通过中心安装的社区技能。在删除文件前进行确认,拒绝触碰第一方插件技能,并记录所有操作。

npx skills add https://github.com/anthropics/claude-for-legal --skill uninstall

/uninstall

Run the uninstall workflow from the skill-manager reference skill against the named skill.

Safety rules:

  1. Only uninstall community skills installed through this hub. Check ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/install-log.yaml and the CLAUDE.md installed starter pack table. If the skill is not recorded there, refuse and tell the user.
  2. Never uninstall a first-party plugin's skill. The 12 core plugins that ship with claude-for-legal are off-limits from this command. If the named skill resolves to a path inside one of those plugins, refuse.
  3. Confirm before removing files. Show the user every path that will be deleted. Proceed only on explicit yes.
  4. Log the uninstall. Append to install-log.yaml with action uninstall and timestamp so the audit trail is intact.

If the user wants to stop a skill from running but keep the files (e.g., for later re-enable, or to preserve configuration), suggest /legal-builder-hub:disable instead.

Detailed uninstall, disable, and re-enable workflows live in the skill-manager reference skill — load it before doing substantive work.

来自 anthropic 的更多技能