安全管理社区技能的卸载、禁用与恢复,并记录每次操作。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "skill-manager" 技能: 1. 下载 https://raw.githubusercontent.com/anthropics/claude-for-legal/main/legal-builder-hub/skills/skill-manager/SKILL.md 2. 保存为 ~/.claude/skills/skill-manager/SKILL.md 3. 装好后重载技能,告诉我可以用了
请卸载名为 contract-review-helper 的社区技能。先检查 install-log.yaml,列出将删除的文件和会保留的配置,再等我确认。
先验证该技能是否通过 hub 安装,再展示删除清单与保留配置,并在得到明确 yes 后执行卸载和记录日志。
请禁用 skills-deadline-alert 这个社区技能,告诉我会重命名哪些文件,再等待确认。
输出待重命名文件列表,如 SKILL.md、hooks 配置或 agent 文件,并在确认后将其改名为 disabled 形式以停止生效。
请卸载 privacy-legal 这个技能。
识别该技能属于内置插件或不符合社区安装条件,拒绝删除或重命名,并说明原因。
开发者或运维人员在试装多个社区技能后,可用它按安装日志核对来源并安全卸载文件。它会先展示删除范围并要求明确确认,避免误删。
当某个社区技能需要暂停使用时,可以通过重命名关键文件将其禁用。它会保留配置目录供后续重新启用或重装时继续使用。
如果用户误把内置 legal 插件当成社区技能处理,它会根据安装记录和目录位置拒绝操作。这样可以避免改动 claude-for-legal 自带插件。
文档说明这个 Skill Manager 用于安全地卸载或禁用通过 legal builder hub 安装的社区技能,并与安装器形成对称流程。它以 install-log.yaml 为唯一依据验证目标是否合法,拒绝操作内置插件,展示将删除或重命名的文件后再请求用户确认,最后更新安装日志及相关清单。
Remove or quiet a community skill after install. Symmetric with the installer:
the installer writes files with user approval, the skill-manager removes or
disables them with user approval. The installer's audit trail (install-log.yaml)
is the source of truth for what this skill may act on.
Only community skills installed through this hub. Identification rule:
~/.claude/plugins/config/claude-for-legal/legal-builder-hub/install-log.yaml
with a most-recent action of install or enable (not uninstall).If either check fails, refuse and tell the user why. Never delete or rename files inside a first-party plugin.
The 12 core plugins that ship with claude-for-legal are off-limits from this
command. The canonical list lives in the hub's CLAUDE.md under "Built-in
plugins." Examples include commercial-legal, corporate-legal,
employment-legal, privacy-legal, product-legal, regulatory-legal,
ai-governance-legal, litigation-legal, litigation-legal,
law-student, legal-clinic, and the hub itself (legal-builder-hub). If
the caller names a skill that resolves into any of these, refuse.
Read install-log.yaml. Find the most recent entry for the named skill.
If not found or if the last action is uninstall: say so and stop.
Determine the install path from the log (written at install time).
Enumerate every file and subdirectory. Also identify any config the skill
wrote to the user's ~/.claude/plugins/config/... — surface this to the user
but do not delete it by default (configuration may be worth keeping for a
later re-install).
Display:
Prompt: "Delete these files? (yes / no)". No deletion without explicit yes.
Remove the skill directory.
Append to install-log.yaml:
- skill: <name>
action: uninstall
timestamp: <ISO8601>
path: <deleted path>
Remove the skill's row from the installed starter pack table in the hub's CLAUDE.md.
SKILL.md → SKILL.md.disabledhooks/hooks.json → hooks/hooks.json.disabled (if present)agents/*.md → agents/*.md.disabled) so scheduled
agents stop firing.Show the rename list. Prompt: "Disable this skill? (yes / no)".
Perform the renames.
Append to install-log.yaml with action: disable.
If the user names a skill whose most recent log action is disable, offer
to re-enable: reverse the renames, log action: enable.
yes./plugin for plugin management.~/.claude/plugins/config/claude-for-legal/<plugin>/ are preserved unless
the user asks for them explicitly.…
它只处理通过 legal builder hub 安装的社区技能。判断依据是 install-log.yaml 中该技能最近一次动作为 install 或 enable,且文件路径不在内置插件目录内。
默认不会删除用户配置目录。它会把相关配置展示给用户,但主要删除或重命名技能文件,配置通常保留以便以后重新安装。
它以安装审计日志为准,只允许处理符合条件的社区技能,并且在删除前要求明确确认。它还会记录操作日志,并拒绝触碰第一方内置插件。
帮你在已关注的技能注册表中搜索、预览并筛选可安装技能。
帮助起草DMCA下架通知、评估来函并生成反通知草稿
用统一流程登记新法律事项并生成档案与结构化记录
对员工手册拟议修改做差异比对,并识别交叉引用与州补充影响。
审查录用通知与竞业限制条款,并按员工所在法域核查关键合规点
管理 Matter 工作区的创建、切换、归档与上下文隔离。
安全卸载通过 hub 安装的社区技能,并在删除前确认与记录审计日志
临时禁用或重新启用已安装社区技能,并保留其配置与文件。
安全审查并安装社区技能,展示原始说明后经用户批准再落盘
检查已安装社区技能的更新,展示差异并在你明确批准后再应用。
根据当前任务与近期插件活动,推荐相关社区技能供你参考
按法律技能设计框架评估技能可信度、风险与设计质量。