uninstall

Uninstall hub-installed community skills while protecting first-party plugins and logging actions.

9.1k|1.8k|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/anthropics/claude-for-legal --skill uninstall-anthropics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uninstall
Source: https://github.com/anthropics/claude-for-legal/tree/main/legal-builder-hub/skills/uninstall
Command: npx skills add https://github.com/anthropics/claude-for-legal --skill uninstall-anthropics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users completely remove a community skill that they previously installed via the legal-builder hub, while preventing accidental deletion of first-party skills or untracked content.

Core Features & Use Cases

  • Community-skill-only enforcement: Uninstalls only skills recorded as installed from this hub, refusing when the target skill is not found in the hub install log or starter pack table.
  • Protection for first-party plugins: Refuses to uninstall any of the 12 core, first-party plugins by path resolution checks.
  • Explicit deletion confirmation: Enumerates every file path that will be deleted and requires the user to explicitly confirm with yes.
  • Auditable action logging: Appends an uninstall entry (with timestamp) to install-log.yaml to preserve an audit trail.
  • Safer alternative guidance: If the user only wants the skill to stop running, suggests using the disable workflow instead of uninstalling.

Quick Start

Run uninstall for a previously installed community skill by asking to fully remove it from the hub with confirmation.

Frequently Asked Questions about uninstall

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I completely remove a community skill from my hub instead of just disabling it?

Uninstalling a community skill requires verifying it against install-log.yaml and the starter pack table, enumerating all file paths for deletion, and getting explicit user confirmation before removing the skill and logging the action.

Can I use this to delete first-party plugins that came with the starter pack?

No, first-party plugins cannot be deleted. Path resolution checks automatically refuse uninstall requests for the 12 core first-party plugins, ensuring only community skills recorded in the hub install log are removed.

What happens if I try to uninstall a skill that is not recorded in the hub install log?

Uninstalling untracked content is refused. The process checks the target against install-log.yaml and the CLAUDE.md starter pack table, aborting if the skill is not recognized as a hub-managed community installation.

Does uninstalling a skill leave any record of the deletion action?

Yes, uninstalling leaves a permanent audit trail. An uninstall entry with a timestamp is appended to install-log.yaml, preserving an auditable record of the skill removal action within the hub.

When should I disable a skill instead of permanently uninstalling it?

If you only want the skill to stop running temporarily, you should use the disable workflow instead. Uninstalling is for full deletion, which enumerates all file paths and requires explicit confirmation to permanently remove the skill.

How does file deletion confirmation work when removing a community skill?

File deletion confirmation enumerates every file path that will be deleted and requires you to explicitly confirm with yes. This safeguard ensures no files are removed without your direct approval during the uninstall process.