Uninstall extension

From sbusso/claudeclaw · View interactive version

Uninstall extension is an AI agent skill from the GitHub repository sbusso/claudeclaw. Uninstall a ClaudeClaw extension

How to use this skill

Skill file

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-<name>? 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-<name> uninstalled. Data in groups/ and store/ is preserved."

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.