copy-blocks

by Robert Horton · ★ 0 · updated 16 Oct 2026

ReskinsCommandsvalidates

0

A one-click Copy button under every code block in Claude's replies, plus /copyblock, so you get clean text without the box.

install copy-blocks

Install

/plugin marketplace add hearsawho25/roberts-mods
/plugin install copy-blocks@roberts-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runui.render
API calls
$.command.register$.session.messages$.ui.copy$.ui.resolve$.ui.toast
Draws
AssistantMessage
Reach
level 1 of 3 writes the clipboardreads the transcriptdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/hearsawho25/roberts-mods
Path in repo
copy-blocks
Source commit
b2b4fb8 the exact code the scan read
Author
Robert Horton @hearsawho25
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from hearsawho25/roberts-mods

clean-view

hearsawho25/roberts-mods

Hides tool calls, diffs and command output and shows one plain-English checklist above the prompt.

★ 0BandsReskinsGuards

daily-challenge

hearsawho25/roberts-mods

One small Claude Code exercise a day, with your streak and a year of 365 challenges that never repeat.

★ 0PanesCommands

git-ship

hearsawho25/roberts-mods

Repo status row above the prompt and a /ship pane whose buttons fill ready-to-run git and gh commands — you press Enter.

★ 0PanesBandsCommands

mod-doctor

hearsawho25/roberts-mods

Checks that every enabled mod's hooks module actually loaded, and shows why one didn't. Quiet unless something is broken; /mod-doctor opens the report.

★ 0PanesBandsCommands

prompt-upgrade

hearsawho25/roberts-mods

Turns a rough prompt into a great one in a pane: up to three quick questions, a rewrite, and a side-by-side review before anything is sent.

★ 0PanesCommandsPrompt

relay

hearsawho25/roberts-mods

Context and prompt-cache meter above the prompt, one-click handoffs to a fresh session, and cache warming with a cold-cache guard.

★ 0PanesBandsCommands

roberts-toolbox

hearsawho25/roberts-mods

Robert's Toolbox: one button that opens your mods and the commands that change Claude Code.

★ 0PanesBandsReskins

work-report

hearsawho25/roberts-mods

A pane that counts the tasks Claude finished for you and estimates the hours and dollars they saved.

★ 0PanesGuardsCommands