Skip to content
Back to skills

Uninstall

ASecurity

Quit FloatingClock, remove it from /Applications and clear its saved preferences. Use when the user wants to completely uninstall the floating-clock app.

  • 75 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
toolsbash

Security analysis

A93/100
  • highPerforms destructive filesystem operations

Pro shows the line behind each finding and how to fix it

Scanned September 24, 2026

npx -y skills add terrylica/cc-skills --skill uninstall --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Uninstall?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Uninstall
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/terrylica-uninstall/badge)](https://www.skillsdirectory.com/skills/terrylica-uninstall)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: uninstall
description: "Quit FloatingClock, remove it from /Applications and clear its saved preferences. Use when the user wants to completely uninstall the floating-clock app."
allowed-tools: Bash, AskUserQuestion
---

# /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

1. 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
   )
   ```

2. If cancelled, print `Uninstall cancelled.` and exit.

3. If confirmed:

   ```bash
   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:

1. **Did the pref domain delete succeed?** — If `defaults` returned an error other than "not found", investigate.
2. **Are there any auxiliary files left behind?** — Check `~/Library/Saved Application State/`, log files, etc., and add to the cleanup if so.
3. **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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.