Skip to main content
skill CX Codex official · Anthropic

disable — Claude Code skill: what it does, how to install

Temporarily disables a hub-installed community skill while keeping its files and configuration. Use it to stop hooks without removing the skill.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add anthropics/claude-for-legal --skill disable -a claude-code
Open on GitHub

What disable does

disable takes a hub-installed community skill out of Claude Code discovery by renaming SKILL.md to SKILL.md.disabled. Its files, references, templates, and configuration remain in place.

When the skill includes hooks/hooks.json, it is renamed to hooks.json.disabled, stopping automatic triggers. The action is recorded in ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/install-log.yaml.

Before any rename, it checks the installation log and the installed table in CLAUDE.md, shows the affected paths, and requires explicit yes. First-party plugin skills are off-limits. That is a hard boundary for this command. Run it again with the same skill name to restore the original filenames.

What it helps with

  • temporarily disable a community skill
  • stop a skill's automatic hooks
  • keep configuration while disabling a skill
  • restore a previously disabled skill

Example prompts for the agent

  • /disable [skill name]
  • Disable [skill name] and show the paths before renaming them.
  • Re-enable [skill name] with /disable [skill name].

How to install disable

1Skills CLI (Vercel)

npx skills add anthropics/claude-for-legal --skill disable -a claude-code

2Manually: put the files in place

~/.claude/skills/disable/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/disable/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about disable

How do I install disable in Claude Code?

Run npx skills add anthropics/claude-for-legal --skill disable -a claude-code, then run npx skills add anthropics/claude-for-legal --skill disable -a claude-code again. The skill file is at ~/.claude/skills/disable/SKILL.md.

What does disable do?

It temporarily removes a hub-installed community skill from discovery by renaming SKILL.md. It also disables hooks/hooks.json when present, and a second run restores the original filenames.

Can disable turn off a first-party plugin skill?

No. It only handles community skills installed through this hub, checking the installation log and the CLAUDE.md installed table before making changes.

Source text

SKILL.md · Apache-2.0
---
name: disable
description: >
  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.
argument-hint: "[skill name]"
---

# /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 · Apache-2.0 · anthropics/claude-for-legal

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set118

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor