This simple command-line clipboard tool has been surprisingly useful.
https://github.com/niedzielski/cb