clipboard-history
Access persistent clipboard history from the terminal. Use when retrieving previously copied text, searching clipboard history, or restoring old clipboard content. Triggers include "clipboard history", "what did I copy", "clp", "paste old content", "clipboard search", "recover copied text".
Best use case
clipboard-history is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Access persistent clipboard history from the terminal. Use when retrieving previously copied text, searching clipboard history, or restoring old clipboard content. Triggers include "clipboard history", "what did I copy", "clp", "paste old content", "clipboard search", "recover copied text".
Teams using clipboard-history should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/clipboard-history/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How clipboard-history Compares
| Feature / Agent | clipboard-history | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Access persistent clipboard history from the terminal. Use when retrieving previously copied text, searching clipboard history, or restoring old clipboard content. Triggers include "clipboard history", "what did I copy", "clp", "paste old content", "clipboard search", "recover copied text".
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# clipboard-history CLI tool for persistent clipboard history with search and restore. ## Quick Start ```bash # Start the background daemon clp daemon start # List recent history clp list # Search history clp search "function fetch" # Restore item to clipboard clp get 1041 --copy # Interactive picker clp pick ``` ## Daemon The daemon runs in the background and polls the clipboard every 500ms. It must be running to capture new entries. ```bash clp daemon start # start background daemon clp daemon stop # stop daemon clp daemon status # check if running ``` Add `clp daemon start` to your shell profile to start automatically. ## List History ```bash clp list # last 20 entries clp list --limit 50 # show more clp list --today # today only clp list --type url # filter by type: url, code, email, text ``` ## Search ```bash clp search "error message" # full-text search clp search "function fetch" # multi-word search clp search '"exact phrase"' # phrase search ``` ## Get and Restore ```bash clp get 1041 # show full content of entry clp get 1041 --copy # copy to clipboard clp pick # interactive numbered picker ``` ## Delete ```bash clp delete 1041 # delete with confirmation clp delete 1041 --yes # delete without prompt clp clear # clear all history (prompts) clp clear --yes # clear without prompt ``` ## Statistics ```bash clp stats # total entries, type breakdown, DB size clp config # database path, limits, poll interval ``` ## Content Types | Type | Detection Rule | |---|---| | `url` | Starts with http:// or https:// | | `email` | Matches email address pattern | | `code` | Has newlines + programming syntax | | `text` | Everything else | ## Environment Variables | Variable | Default | Description | |---|---|---| | `CLP_DB_PATH` | `~/.local/share/clipboard-history/db.sqlite` | Database path | | `CLP_MAX_ENTRIES` | `10000` | Maximum entries before pruning oldest | | `CLP_POLL_MS` | `500` | Daemon polling interval (milliseconds) | | `CLP_NO_COLOR` | `0` | Disable ANSI color (1 to disable) | | `CLP_DEBUG` | `0` | Enable debug logging (1 to enable) | ## Exit Codes | Code | Meaning | |---|---| | 0 | Success | | 1 | No results / empty history | | 2 | Daemon error | | 3 | Runtime error |
Related Skills
clipboard-daemon
Set up and manage the clipboard-history background daemon. Use when configuring automatic clipboard capture, troubleshooting the daemon, or setting up auto-start on login. Triggers include "clipboard daemon", "auto-capture clipboard", "clp daemon", "start clipboard watcher", "daemon not running".
Skill: Uptime Monitoring
## Overview
Skill: Status Page
## Overview
Skill: unit-conversion
## Overview
Skill: recipe-scaler
## Overview
reading-list
Operate the reading-list API to save, manage, tag, search, and export articles.
email-digest
Configure, test, and troubleshoot the reading-list daily email digest delivered via nodemailer.
websocket-realtime
Use the WebSocket connection in poll-builder to receive live vote updates. Use when you need to stream real-time poll results, monitor a poll for new votes, or build a live dashboard. Triggers include "live results", "real-time updates", "stream votes", "watch poll", or "WebSocket".
poll-builder
Self-hosted poll creation tool with real-time results. Use when you need to create a poll, check vote counts, close a poll, export results, or get the shareable link for a poll. Triggers include "create poll", "vote", "poll results", "survey", "collect votes", "share poll", or any task involving polling or voting.
Skill: personal-finance
## Overview
Skill: csv-import
## Overview
Skill: Syntax Highlighting
## Purpose