Uninstall

anthropics/claude-for-legal/legal-builder-hub/skills/uninstall

作者 anthropics4a6c651889c97cc9140580363c73e0eb17379c2b无许可证9.6K 个星标收录于 2026年10月9日更新于 2026年10月9日仓库9天前更新

Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.

精选仅含说明AI & Agents
AI 生成的概览

移除通过 hub 安装的社区技能,包含确认、安全检查与日志记录。

功能
该技能对通过 hub 安装的指定社区技能执行卸载流程。它会核对该技能是否记录在安装日志或已安装入门包表格中,拒绝移除第一方插件技能,并在继续前展示所有将被删除的路径。只有在用户明确确认后才会删除文件,并向安装日志追加带时间戳的卸载记录。当用户希望保留文件时,它还会提示改用禁用选项。
适用场景
当用户想要彻底移除某个社区技能,而不只是禁用它时使用。适用于卸载指定技能或移除通过 hub 安装的技能等请求。不适用于第一方插件技能,也不适用于未记录在安装日志中的技能。
运行要求
不附带脚本,仅为说明性指令。它依赖 skill-manager 参考技能、对 hub 安装日志和 CLAUDE.md 已安装入门包表格的读写权限,以及删除前的用户确认。

/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.

来源与署名

来源:anthropics/claude-for-legal位于legal-builder-hub/skills/uninstall提交4a6c651

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架