leonasdev/copy-buttons

42 stars · Last commit 2026-11-21

Claude Code copy buttons: copy a reply, a code block or a table with one click

README preview

<h1>
  <img src=".claude-plugin/icon.png" width="40" height="40" alt="" align="absmiddle">
  copy-buttons
</h1>

One-click copy buttons for Claude Code: on each code block and table while the pointer is over it, and at the end of every answer.

<img src="docs/demo.gif" width="800" alt="In Claude Code, the pointer moves over a table and its three copy buttons show; a click on sheet copies it. Over a code block, copy shows and copies it. At the end of the answer, Reply copies the answer as markdown, and a second click as rendered.">

- **A table**: `markdown` copies it as Claude wrote it, `sheet` as rows to paste into Excel or Google Sheets, `boxed` with its borders as drawn.
- **A code block**: `copy` copies just its code.
- **A reply**: `Reply` copies the Markdown Claude wrote. Click again for the text as shown on screen.

## Install

```
/plugin install copy-buttons --marketplace leonasdev/copy-buttons
```

Answer `y` to add the marketplace, then pick a scope (user scope makes it work in every session).

View full repository on GitHub →