disable
它能做什么
这项技能暂停一个通过中心安装的社区法律技能。适合希望暂时停用某项技能、又不想将其删除的用户。
适用场景
- ✓当某个社区技能引发问题,你想暂停它时。
- ✓当你想保留某项技能的设置,但停止其自动操作时。
- ✓当你想重新开启之前被停用的技能时。
技能链接
https://github.com/anthropics/claude-for-legal/blob/main/legal-builder-hub/skills/disable/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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.mdtoSKILL.md.disabledso 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 tohooks.json.disabledso 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:
- Only disable community skills installed through this hub. Same check as uninstall — consult the install log and CLAUDE.md installed table.
- Never disable a first-party plugin's skill. Off-limits.
- 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-managerreference 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.
热度
- GitHub 星标
- 9.9k
- 排名
- #12124
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/29
评论
- …
同一仓库的更多技能
ai-inventory
9.9k帮你的智能体按系统维护一份符合欧盟 AI 法案的 AI 工具清单,记录每个系统的角色、风险等级和分类依据。
aia-generation
9.9k帮你的智能体为某个应用场景撰写 AI 影响评估,涵盖风险、监管分类、政策契合度和建议的附加条件。
cold-start-interview
9.9k帮你的智能体通过设置访谈并根据你的政策文件建立实践档案,从而了解你的 AI 治理实践如何运作。
customize
9.9k帮你的智能体修改 AI 治理实践档案中的某一部分,例如风险态度、联系人或政策立场,无需完整重新设置。