跳到正文
Skillpedia
其他9.9k · #12124

disable

它能做什么

这项技能暂停一个通过中心安装的社区法律技能。适合希望暂时停用某项技能、又不想将其删除的用户。

适用场景

  • ✓当某个社区技能引发问题,你想暂停它时。
  • ✓当你想保留某项技能的设置,但停止其自动操作时。
  • ✓当你想重新开启之前被停用的技能时。

技能链接

https://github.com/anthropics/claude-for-legal/blob/main/legal-builder-hub/skills/disable/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/anthropics/claude-for-legal/blob/main/legal-builder-hub/skills/disable/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请暂时停用 vendor-redline 社区技能,但保留其文件,以便我之后重新开启。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能会重命名该技能的主文件和任何钩子文件,使 Claude 不再找到它或运行其自动触发器。文件和设置都保持原样,操作会被记录。再次使用相同名称运行该命令即可重新开启技能。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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

常见问题

它可以停用内置技能吗?

不可以。核心插件中的技能无法通过此命令停用。

我需要先确认吗?

需要。它会显示文件路径,并在重命名任何内容之前等待你明确的同意。

会删除任何内容吗?

不会。文件、参考资料和配置都会保持原样。

详情

作者的原始描述

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.

repo: anthropics/claude-for-legal

热度

GitHub 星标
9.9k
排名
#12124
许可证
Apache-2.0
更新时间
2026/10/29

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能