quench
$
npx mdskill add terrylica/cc-skills/quenchTerminates the FloatingClock process on macOS
- Solves the need to stop a running FloatingClock application safely
- Uses Bash commands pgrep and pkill to identify and terminate processes
- Checks if the process is running before attempting to terminate it
- Reports status to the user with confirmation or absence messages
SKILL.md
.github/skills/quenchView on GitHub ↗
--- name: quench description: Terminate (quench) the running FloatingClock process. Renamed from 'quit' to avoid clashing with Claude Code's built-in /quit. allowed-tools: Bash --- # /floating-clock:quench Terminate any running FloatingClock process. > **Self-Evolving Skill**: This skill improves through use. If the process pattern stops matching (binary path change) — fix this file immediately, don't defer. Only update for real, reproducible issues. ## Steps ```bash if pgrep -f "FloatingClock.app/Contents/MacOS/floating-clock" >/dev/null 2>&1; then pkill -f "FloatingClock.app/Contents/MacOS/floating-clock" echo "FloatingClock quit." else echo "FloatingClock is not running." fi ``` ## Post-Execution Reflection After this skill completes, check before closing: 1. **Did `pkill` actually terminate the process?** — If it lingered, escalate to `kill -9` and update the script. 2. **Did the process pattern still match?** — If the binary path moved, refresh the `pgrep`/`pkill` regex. Only update if the issue is real and reproducible — not speculative.
More from terrylica/cc-skills
- academic-pdf-to-gfmConvert academic PDF papers to GitHub-renderable GFM markdown with math equations. TRIGGERS - PDF, GitHub markdown, math
- adaptive-wfo-epochAdaptive epoch selection for Walk-Forward Optimization. TRIGGERS - WFO epoch, epoch selection, WFE optimization, overfitting epochs.
- adr-code-traceabilityAdd ADR references to code for traceability. TRIGGERS - ADR traceability, code reference, document decision in code.
- adr-graph-easy-architectASCII architecture diagrams for ADRs via graph-easy. TRIGGERS - ADR diagram, architecture diagram, ASCII diagram.
- agent-reach>
- agentic-process-monitorMonitor background processes from Claude Code using sentinel files, heartbeat liveness, and subagent polling. Best practices and.
- alpha-forge-preshipAlpha Forge quality gates for PR review - RNG determinism, URL validation, parameter validation, manifest sync.
- article-extractorExtract MQL5 articles and documentation. TRIGGERS - MQL5 articles, MetaTrader docs, mql5.com resources.
- ascii-diagram-validatorValidate ASCII diagram alignment in markdown. TRIGGERS - diagram alignment, ASCII art, box-drawing diagrams.
- asciinema-analyzerSemantic analysis of asciinema recordings. TRIGGERS - analyze cast, keyword extraction, find patterns in recordings.