Disable

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

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

Disable a community skill installed through the hub without removing its files. Use when the user wants to temporarily quiet a community skill ("disable [skill]"), stop its hooks from firing while keeping its config, or re-enable a previously disabled skill.

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

通过重命名 SKILL.md 和钩子文件临时停用社区技能,同时保留所有文件。

功能
该技能针对指定的社区技能运行 skill-manager 参考技能中的停用工作流。它把技能的 SKILL.md 重命名为 SKILL.md.disabled,使代理不再将其识别为可用技能;若该技能带有钩子,还会把 hooks/hooks.json 重命名为 hooks.json.disabled,从而不再触发自动动作,而文件、引用、模板和配置保持不变。它会将操作记录到安装日志,再次运行同一命令即可重新启用先前停用的技能。
适用场景
适用于用户想临时让某个社区技能静默、在不删除配置的情况下停止其钩子触发,或重新启用此前停用的技能。它仅适用于通过该中心安装的社区技能,不适用于第一方插件技能。
运行要求
仅为指令,不附带脚本。依赖 skill-manager 参考技能(需在进行实质操作前加载),并依赖该中心的安装日志和 CLAUDE.md 已安装表进行资格检查。会写入用户 Claude 插件配置目录下的日志文件。

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

来源与署名

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

许可证: 无许可证

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

举报或申请下架