---
title: "clip"
url: "https://claudemods.dev/zh-tw/builds/clip-972dad"
source: "https://github.com/DJPalefaceSD/rostech-mods/tree/main/plugins/clip"
source_type: "github"
repo: "https://github.com/DJPalefaceSD/rostech-mods/tree/main/plugins/clip"
author: "DJPalefaceSD"
author_handle: "DJPalefaceSD"
stars: 0
category: "工具與整合"
categories: ["tools"]
tags: ["clipboard", "hooks", "productivity", "slash-command"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add DJPalefaceSD/rostech-mods\nclaude plugin install clip"
added: "2026-10-05T01:43:40.332Z"
updated: "2026-11-14T01:19:37Z"
locale: "zh-tw"
content_locale: "zh-tw"
---

# clip

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

## Description

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

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

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

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

已在 Windows 上的 Claude Code 2.1.287 測試。

## Install

```
claude plugin marketplace add DJPalefaceSD/rostech-mods
claude plugin install clip
```

## Original 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.
