← Browse

@sbusso/uninstall-extension

A

Uninstall a ClaudeClaw extension

skillclaude

Install

agr install @sbusso/uninstall-extension --target claude

Writes 1 file into .claude/skills/, pinned to git-1b9c555d.

  • .claude/skills/uninstall-extension/SKILL.md

Document


name: uninstall-extension description: Uninstall a ClaudeClaw extension trigger: /uninstall

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

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-1b9c555dc8be2026-07-31