uninstall

uninstall is a skill for Claude Code from anthropics/claude-for-legal. It costs 62 tokens per session (356 once invoked), scanned A, original, Apache-2.0.

A removal command for deleting a community-installed skill and its files. It checks the installation record, protects built-in skills, asks for confirmation, and records the action.

In plain words
What is it for?
Use it when you want to permanently remove a community skill installed through the hub.
Why use it?
It prevents accidental deletion of trusted built-in tools or untracked files. It also distinguishes permanent removal from temporarily disabling a skill.

Skill for Claude Code ✓ vendor

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the legal-builder-hub plugin — 8 skills, 1 agent shipped together

Good fit Use it when you want to permanently remove a community skill installed through the hub.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anthropics/claude-for-legal/uninstall
About the project

Claude for Legal is a collection of AI agents, skills, and data connectors for legal work such as commercial, privacy, employment, litigation, regulatory, and intellectual-property matters. Lawyers and legal teams use it through Claude Cowork, Claude Code, or the Claude Managed Agents API, with attorney review required for every output. The catalogue entries are its workflow plugins, skills, agents, and connectors.

anthropics/claude-for-legal · 9,810 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add anthropics/claude-for-legal --skill uninstall
Clone the repo
git clone --depth 1 https://github.com/anthropics/claude-for-legal

Made for: Claude Code.

Or install legal-builder-hub, the plugin that ships this one along with the rest of its 8 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for uninstall

README.md
[![agentmods](https://agentmods.dev/badge/skills/anthropics/claude-for-legal/uninstall/github.svg)](https://agentmods.dev/skills/anthropics/claude-for-legal/uninstall)
Your own site
<a href="https://agentmods.dev/skills/anthropics/claude-for-legal/uninstall"><img src="https://agentmods.dev/badge/skills/anthropics/claude-for-legal/uninstall/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for uninstall

Your own site · 80×15
<a href="https://agentmods.dev/skills/anthropics/claude-for-legal/uninstall"><img src="https://agentmods.dev/badge/skills/anthropics/claude-for-legal/uninstall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 356 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 12 Jun 2026
  • Snyk pass 12 Jun 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.00356
Opus 5.5 $0.00025 $0.00142
Sonnet 5.5 $0.00012 $0.00071
Haiku 4.5 $0.00006 $0.00036

Measured 1mo ago against content hash 71e51211295e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

uninstall scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • uninstall — 100% identical, 0 lines differ
legal-builder-hub/skills/uninstall/SKILL.md · 36 lines

What it actually says

/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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 36 lines · 62 tokens per session scan A 71e51211295e

Subscribe to this mod's changes

uninstall is a skill published in the GitHub repository anthropics/claude-for-legal (9,810 stars, last pushed 4d ago), licensed Apache-2.0. It adds 62 tokens to every session and 356 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.