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.
npx skills add anthropics/claude-for-legal --skill disable -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/disable/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/disable/
1Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill disable -a codex2Manually: put the files in place
.agents/skills/disable/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill disable -a cursor2Manually: put the files in place
.cursor/skills/disable/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install anthropics/claude-for-legal disable2Manually: put the files in place
.github/skills/disable/SKILL.md1Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill disable -a gemini-cli2Platform CLI
gemini skills install https://github.com/anthropics/claude-for-legal --path legal-builder-hub/skills/disableManually: put the files in place
.devin/skills/disable/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill disable -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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