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 從公開儲存庫中收錄這些內容。

檢舉或申請下架