home / utilities / clipboard

Clipboard

5.7k

Terminal clipboard manager for copying, pasting, searching, and syncing text, files, and raw data across named and system clipboards.

$curl -sSL https://github.com/Slackadays/Clipboard/raw/main/install.sh | sh
Language
C++
Stars
5,699
Category
Utilities
Agent
Ready
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis

Clipboard is a terminal-first clipboard manager built around the cb command. It stores text, files, directories, and raw data in named clipboards with history, then syncs the default clipboard with GUI and remote terminal clipboards when the environment supports it.

What It Enables
  • Copy or cut text, files, directories, and raw data into reusable named clipboards instead of relying on a single ephemeral system clipboard.
  • Search clipboard contents, inspect clipboard metadata and history, attach notes, and load or swap saved clipboard contents between clipboard slots.
  • Bridge shell workflows with desktop and remote clipboard systems, including GUI clipboard sync and OSC 52 clipboard writes from terminal sessions.
Agent Fit
  • The command surface is broad but still shell-native, so agents can script local handoff workflows that need more than ordinary pipes or temp files.
  • Machine-readable output exists for info, status, history, and search, but it is triggered by non-TTY stdout rather than an explicit --json flag and the rest of the CLI is mostly human-first text.
  • Best for agents operating on a developer desktop or remote terminal where clipboard handoff matters; it is less compelling on headless hosts where files and pipes already cover most data movement.
Caveats
  • Several write flows can prompt on file replacement during paste, so unattended runs need CI or --no-confirmation where appropriate.
  • The share action is listed but currently unimplemented in source, and clipboard scripts are not supported on Windows.