/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.terryli.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
defaults returned 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.
1---2name: uninstall3description: Quit FloatingClock, remove it from /Applications, and clear its saved preferences. Use when the user wants to completely uninstall the.4---5
6# /floating-clock:uninstall
7
8Remove FloatingClock completely: terminate it, remove it from `/Applications/`, and clear its NSUserDefaults.
9
10> **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.
11
12## Steps
13
141. Confirm with the user first — uninstall is destructive:
15
16 ```
17 AskUserQuestion(
18 header: "Uninstall",
19 question: "Remove FloatingClock from /Applications/ and clear all saved settings?",
20 options: [
21 { label: "Yes, uninstall", description: "Quits app, removes bundle, clears preferences" },
22 { label: "Cancel", description: "Do nothing" }
23 ],
24 multiSelect: false
25 )
26 ```
27
282. If cancelled, print `Uninstall cancelled.` and exit.
29
303. If confirmed:
31
32 ```bash
33 pkill -f "FloatingClock.app/Contents/MacOS/floating-clock" 2>/dev/null || true
34 rm -rf /Applications/FloatingClock.app
35 defaults delete com.terryli.floating-clock 2>/dev/null || true
36 echo "FloatingClock uninstalled. (The plugin itself remains — remove it separately via 'claude plugin marketplace remove' if desired.)"
37 ```
38
39## Post-Execution Reflection
40
41After this skill completes, check before closing:
42
431. **Did the pref domain delete succeed?** — If `defaults` returned an error other than "not found", investigate.
442. **Are there any auxiliary files left behind?** — Check `~/Library/Saved Application State/`, log files, etc., and add to the cleanup if so.
453. **Did the AskUserQuestion confirmation flow work as expected?** — If the user wanted finer control (e.g., keep prefs), add an option.
46
47Only update if the issue is real and reproducible — not speculative.