DJPalefaceSD/rostech-mods/tree/main/plugins/clip
clip
プロンプトの文字列をシステムのクリップボードへコピーする /clip コマンドを追加し、枠線やプロンプト記号など端末のノイズを取り除く Claude Code プラグイン。
この 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.
同名の他の作品
- clipDJPalefaceSD · ★ 0
