| name | description |
|---|---|
hammerspoon-clipboard |
Use when you need to access, list, search, or retrieve items from the user's clipboard history managed by Hammerspoon's ClipboardTool spoon |
Access the user's clipboard history (managed by Hammerspoon's ClipboardTool spoon) from the command line.
~/.claude/skills/hammerspoon-clipboard/clipboard.py supports three commands:
# List recent items (numbered with previews)
python3 ~/.claude/skills/hammerspoon-clipboard/clipboard.py list -n 10
# Get full content of a specific item by index
python3 ~/.claude/skills/hammerspoon-clipboard/clipboard.py get 3
# Search clipboard history by keyword (case-insensitive)
python3 ~/.claude/skills/hammerspoon-clipboard/clipboard.py search "tailscale"When the user says things like:
- "paste from my clipboard" / "what did I copy?" →
list -n 5, thengetthe relevant index - "find that URL I copied" →
searchwith a keyword - "use my 3rd clipboard item" →
get 2(0-indexed)
Items are ordered newest-first (index 0 = most recent copy).
Reads ClipboardTool.items from macOS preferences (defaults export org.hammerspoon.Hammerspoon), parsed via Python's plistlib. No IPC or hs.ipc module required — works as long as Hammerspoon is running with ClipboardTool loaded.