main
Kyle Bergstedt Publish 3.0.0 259e308 13d ago
#!/usr/bin/env bash
# Remove the pup skill from the container. (Also cleans the maintainer sub-skills if an older
# pkg installed them, so an upgrade from the pre-1.8.21 layout leaves nothing behind.)
set -e
remove_from() {
  local BASE="$1"
  rm -rf "$BASE/pup" \
         "$BASE/adom-bridge-puppeteer-bridge" \
         "$BASE/pup-windows-sessions-tabs" \
         "$BASE/pup-screenshots-recording" \
         "$BASE/pup-browsers-and-chrome" \
         "$BASE/pup-adom-wiki" \
         "$BASE/pup-vendor-login" \
         "$BASE/pup-settings" \
         "$BASE/pup-credentials" \
         "$BASE/pup-lanes" \
         "$BASE/pup-why-cft" \
         "$BASE/pup-import-logins" \
         "$BASE/pup-taskbar-progress" \
         "$BASE/pup-progress" \
         "$BASE/pup-taskbar-states" \
         "$BASE/pup-bridge-dev" "$BASE/pup-bridge-publish"
  echo "  <- $BASE"
}
echo "Removing pup for macOS skills:"
remove_from "$HOME/.claude/skills"
[ -d "$HOME/.codex" ] && remove_from "$HOME/.codex/skills"
echo "Done."