Skip to main content
skill CX Codex official · Anthropic

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

Removes community skills installed through the hub after explicit confirmation. Use it when files must be removed rather than merely disabled.

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

What uninstall does

This skill runs the removal workflow for a named community skill. It checks ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/install-log.yaml and the installed starter-pack table in CLAUDE.md, lists every path slated for deletion, then waits for an explicit yes.

It refuses to remove skills from the first-party plugins shipped with claude-for-legal. Each completed removal is appended to install-log.yaml with the uninstall action and a timestamp, and it loads the skill-manager reference skill before substantive work. Check the skill name before confirming. To keep files and configuration, use /legal-builder-hub:disable.

What it helps with

  • remove a community skill installed through the hub
  • verify an installation record before deletion
  • review file paths before confirming removal
  • append an uninstall event to install-log.yaml
  • disable a skill while keeping its files

Example prompts for the agent

  • /uninstall [skill name]
  • Remove [skill name] with /uninstall
  • Run /uninstall [skill name] and show the files before deleting them

How to install uninstall

1Skills CLI (Vercel)

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

2Manually: put the files in place

~/.claude/skills/uninstall/SKILL.md

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

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

Questions about uninstall

How do I install uninstall in Claude Code?

Run npx skills add anthropics/claude-for-legal --skill uninstall -a claude-code, then run npx skills add anthropics/claude-for-legal --skill uninstall -a claude-code again and open ~/.claude/skills/uninstall/SKILL.md.

What does uninstall do?

It removes a community skill installed through the hub. Before deletion, it lists affected paths, requires yes, and records the action in its log.

Can uninstall remove a first-party plugin skill?

No. uninstall refuses when the resolved skill path is inside one of the core claude-for-legal plugins.

Source text

SKILL.md · Apache-2.0
---
name: uninstall
description: >
  Uninstall a community skill that was installed via the hub. Confirms before
  deleting files, refuses to touch first-party plugin skills, and logs every
  action. Use when the user wants to fully remove a community skill
  ("uninstall [skill]", "remove this skill") rather than just disable it.
argument-hint: "[skill name]"
---

# /uninstall

Run the `uninstall` workflow from the skill-manager reference skill against
the named skill.

Safety rules:

1. **Only uninstall community skills installed through this hub.** Check
   `~/.claude/plugins/config/claude-for-legal/legal-builder-hub/install-log.yaml`
   and the CLAUDE.md installed starter pack table. If the skill is not recorded
   there, refuse and tell the user.
2. **Never uninstall a first-party plugin's skill.** The 12 core plugins that
   ship with claude-for-legal are off-limits from this command. If the named
   skill resolves to a path inside one of those plugins, refuse.
3. **Confirm before removing files.** Show the user every path that will be
   deleted. Proceed only on explicit `yes`.
4. **Log the uninstall.** Append to `install-log.yaml` with action `uninstall`
   and timestamp so the audit trail is intact.

If the user wants to stop a skill from running but keep the files (e.g., for
later re-enable, or to preserve configuration), suggest `/legal-builder-hub:disable`
instead.

> 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