mcpField
D
disable

disable

github.com/anthropicsAgent workflows9.8k591 installsUpdated 14w ago
Repository

About disable

A skill-manager command for disabling a community skill installed through the hub. It renames the skill and, when present, its hooks so Claude does not discover or trigger them, while keeping other files in place and logging the change.

Key features

  1. 01Disable skill discovery by renaming SKILL.md
  2. 02Disable hooks when present
  3. 03Keep supporting files and configuration
  4. 04Log the action
  5. 05Require confirmation before renaming

Use cases

  1. 01Temporarily deactivate an installed community skill
  2. 02Stop a skill's automatic hooks from firing
  3. 03Restore a disabled skill by rerunning the command

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/anthropics/claude-for-legal --skill disable

After installing, type/disablein Claude Code to confirm it loaded.

Details

From the project README

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

Comments

Markdown supported