npx skills add ...
npx skills add anthropics/claude-for-legal --skill skill-manager
npx skills add anthropics/claude-for-legal --skill skill-manager
Reference: detailed uninstall, disable, and re-enable workflows for community skills installed via the legal builder hub. Safe by default — refuses to touch first-party plugin skills, confirms before removing files, and logs every action. Loaded by the /legal-builder-hub:uninstall and /legal-builder-hub:disable skills.
Remove or quiet a community skill after install. Symmetric with the installer:
the installer writes files with user approval, the skill-manager removes or
disables them with user approval. The installer's audit trail (install-log.yaml)
is the source of truth for what this skill may act on.
Only community skills installed through this hub. Identification rule:
~/.claude/plugins/config/claude-for-legal/legal-builder-hub/install-log.yaml
with a most-recent action of install or enable (not uninstall).If either check fails, refuse and tell the user why. Never delete or rename files inside a first-party plugin.
The 12 core plugins that ship with claude-for-legal are off-limits from this
command. The canonical list lives in the hub's CLAUDE.md under "Built-in
plugins." Examples include commercial-legal, corporate-legal,
employment-legal, privacy-legal, product-legal, regulatory-legal,
ai-governance-legal, litigation-legal, litigation-legal,
law-student, legal-clinic, and the hub itself (legal-builder-hub). If
the caller names a skill that resolves into any of these, refuse.
Read install-log.yaml. Find the most recent entry for the named skill.
If not found or if the last action is uninstall: say so and stop.
Determine the install path from the log (written at install time).
Enumerate every file and subdirectory. Also identify any config the skill
wrote to the user's ~/.claude/plugins/config/... — surface this to the user
but do not delete it by default (configuration may be worth keeping for a
later re-install).
Display:
Prompt: "Delete these files? (yes / no)". No deletion without explicit yes.
Remove the skill directory.
Append to install-log.yaml:
Remove the skill's row from the installed starter pack table in the hub's CLAUDE.md.
SKILL.md → SKILL.md.disabledhooks/hooks.json → hooks/hooks.json.disabled (if present)agents/*.md → agents/*.md.disabled) so scheduled
agents stop firing.Show the rename list. Prompt: "Disable this skill? (yes / no)".
Perform the renames.
Append to install-log.yaml with action: disable.
If the user names a skill whose most recent log action is disable, offer
to re-enable: reverse the renames, log action: enable.
yes./plugin for plugin management.~/.claude/plugins/config/claude-for-legal/<plugin>/ are preserved unless
the user asks for them explicitly.