ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 DJPalefaceSD

clip

一個 Claude Code 外掛,加入 /clip 命令,將提示文字複製到系統剪貼簿,並清除框線、提示列號等終端機雜訊。

DJPalefaceSD@DJPalefaceSD

DJPalefaceSD/rostech-mods/tree/main/plugins/clip

已翻譯

關於這個 mod

直接從提示框把文字放進剪貼簿,並清除終端機帶來的雜訊,這樣不用手動在終端機中選取和複製。

  • /clip <text> 將文字放入剪貼簿。

Clip 會在複製前移除每一行的框線、提示列號與尾端空格,也會移除開頭與結尾的空白行。

它使用系統自己的剪貼簿程式:Windows 的 PowerShell Set-Clipboard、macOS 的 pbcopy,以及 Linux 的 wl-copy 或 xclip。不會把內容傳到其他地方。

已在 Windows 上的 Claude Code 2.1.287 測試。

安裝

請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。

claude plugin marketplace add DJPalefaceSD/rostech-mods
claude plugin install clip
原文 / README

Clip

Put text on your clipboard straight from the prompt, cleaned of the clutter a terminal drags along with it, so you never have to select and copy text out of the terminal by hand.

  • /clip <text> puts that text on your clipboard.

Clip strips box edges, prompt marks and trailing spaces from every line, and blank lines from the top and bottom, before it copies.

It uses your system's own clipboard program: PowerShell's Set-Clipboard on Windows, pbcopy on macOS, and wl-copy or xclip on Linux. Nothing is sent anywhere else.

Tested with Claude Code 2.1.287 on Windows.

其他同名作品

更多類似作品