uninstall-extension

uninstall-extension is a skill for Claude Code from sbusso/claudeclaw. It costs 11 tokens per session (326 once invoked), scanned C, original, MIT.

A skill for removing an installed ClaudeClaw extension, including its skills, agents, and agent skills.

In plain words
What is it for?
Use it to uninstall a named extension, run its cleanup hook, rebuild the project, and restart the service.
Why use it?
It removes the extension while preserving its groups and messages, so stored conversation data remains available.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the claudeclaw plugin — 27 skills shipped together

Good fit Use it to uninstall a named extension, run its cleanup hook, rebuild the project, and restart the service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sbusso/claudeclaw/uninstall-extension
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 sbusso/claudeclaw --skill uninstall-extension
Clone the repo
git clone --depth 1 https://github.com/sbusso/claudeclaw

Made for: Claude Code.

Or install claudeclaw, the plugin that ships this one along with the rest of its 27 skills.

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-extension

README.md
[![agentmods](https://agentmods.dev/badge/skills/sbusso/claudeclaw/uninstall-extension/github.svg)](https://agentmods.dev/skills/sbusso/claudeclaw/uninstall-extension)
Your own site
<a href="https://agentmods.dev/skills/sbusso/claudeclaw/uninstall-extension"><img src="https://agentmods.dev/badge/skills/sbusso/claudeclaw/uninstall-extension/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-extension

Your own site · 80×15
<a href="https://agentmods.dev/skills/sbusso/claudeclaw/uninstall-extension"><img src="https://agentmods.dev/badge/skills/sbusso/claudeclaw/uninstall-extension.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 326 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00011 $0.00326
Opus 5 $0.00005 $0.00163
Sonnet 5 $0.00002 $0.00065
Haiku 4.5 $0.00001 $0.00033

Measured 9d ago against content hash 1b9c555dc8be, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

uninstall-extension scanned grade C with 1 finding 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 9d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$EXT_DIR"
skills/uninstall-extension/SKILL.md · 64 lines

What it actually says

Uninstall Extension

Remove an installed ClaudeClaw extension.

Usage

/uninstall slack
/uninstall triage

Flow

1. Validate

EXTENSION_NAME="${1}"
EXT_DIR="extensions/claudeclaw-${EXTENSION_NAME}"
[ ! -d "$EXT_DIR" ] && echo "Extension claudeclaw-${EXTENSION_NAME} is not installed." && exit 1

2. Read manifest

cat "$EXT_DIR/manifest.json"

3. Confirm with user

AskUserQuestion: "Uninstall claudeclaw-? This will remove its skills, agents, and agent skills. The extension's data (groups, messages) is preserved."

4. Run post-uninstall hook

If manifest.json has hooks.postUninstall:

chmod +x "$EXT_DIR/hooks/uninstall.sh"
bash "$EXT_DIR/hooks/uninstall.sh" "$(git rev-parse --show-toplevel)"

5. Remove extension directory

rm -rf "$EXT_DIR"

6. Rebuild and restart

npm run build

Restart the service (same as install skill step 8).

7. Confirm

Print: "Extension claudeclaw- uninstalled. Data in groups/ and store/ is preserved."

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. 9d ago First seen · 64 lines · 11 tokens per session scan C 1b9c555dc8be

Subscribe to this mod's changes

uninstall-extension is a skill published in the GitHub repository sbusso/claudeclaw (192 stars, last pushed 27d ago), licensed MIT. It adds 11 tokens to every session and 326 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

hello

Sample knowledge-only skill demonstrating the SKILL.md layout.

FMXExpress/PasClaw · 12 tokens

officecli-word-form

Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…

iOfficeAI/OfficeCLI · 224 tokens

artifact-deploy

One-click deploy a user's pre-built app/artifact into their OWN AWS account and get a global public HTTPS link (Vercel-like), with a default TTL and promote-to-persistent. Use when the user says "deploy this", "ship this demo", "give me a public link", "share this externally", or "deploy to AWS".

kirodotdev/KiroCrew · 74 tokens

explain-for

Explain a topic, a piece of code, an error, or a design decision calibrated to one named audience — a 5-year-old, a 5th grader, a manager, a designer, a graduate student, a parent. Resolves who the explanation is for (from the request, or from what memory already records about that person), establishes the ground…

kirodotdev/KiroCrew · 102 tokens

mochi-remind

Handle due reminders — notify the user with natural language and mark them done.

kirodotdev/KiroCrew · 20 tokens

agent-initialization

Initialize an Agent's settings from a user requirement by writing AGENTS.md, setting identity metadata, and installing only needed Skills.

Prism-Shadow/penguin-harness · 30 tokens