About uninstall
uninstall is a skill for completely removing FloatingClock and its settings. It is for users who want to clean up the macOS app; the process requests confirmation before terminating the app, deleting its bundle, and clearing preferences.
Key features
- 01Ask for confirmation before uninstalling
- 02Terminate the FloatingClock process
- 03Remove the application bundle
- 04Clear saved preferences
Use cases
- 01Remove an unused FloatingClock app
- 02Confirm destructive cleanup before uninstalling
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ terrylica/ cc-skills --skill uninstallAfter installing, type/uninstallin Claude Code to confirm it loaded.
Details
From the project README/floating-clock:uninstall
Remove FloatingClock completely: terminate it, remove it from /Applications/, and clear its NSUserDefaults.
Self-Evolving Skill: This skill improves through use. If the uninstall step misses a path (new pref domain, new auxiliary file) — fix this file immediately, don't defer. Only update for real, reproducible issues.
Steps
-
Confirm with the user first — uninstall is destructive:
AskUserQuestion( header: "Uninstall", question: "Remove FloatingClock from /Applications/ and clear all saved settings?", options: [ { label: "Yes, uninstall", description: "Quits app, removes bundle, clears preferences" }, { label: "Cancel", description: "Do nothing" } ], multiSelect: false ) -
If cancelled, print
Uninstall cancelled.and exit. -
If confirmed:
pkill -f "FloatingClock.app/Contents/MacOS/floating-clock" 2>/dev/null || true rm -rf /Applications/FloatingClock.app defaults delete com.cc-skills.floating-clock 2>/dev/null || true echo "FloatingClock uninstalled. (The plugin itself remains — remove it separately via 'claude plugin marketplace remove' if desired.)"
Post-Execution Reflection
After this skill completes, check before closing:
- Did the pref domain delete succeed? — If
defaultsreturned an error other than "not found", investigate. - Are there any auxiliary files left behind? — Check
~/Library/Saved Application State/, log files, etc., and add to the cleanup if so. - Did the AskUserQuestion confirmation flow work as expected? — If the user wanted finer control (e.g., keep prefs), add an option.
Only update if the issue is real and reproducible — not speculative.