What is copy-blocks?
copy-blocks is a Claude Code mod by hearsawho25 that a one-click Copy button under every code block in Claude's replies, plus /copyblock, so you get clean text without the box. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | hearsawho25 |
| Repository | hearsawho25/roberts-mods |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Low risk (100/100) |
| Rank | #6,232 of 9,397 Claude Code mods; #2,633 in Interface |
| License | MIT |
| Last commit | 2026-10-16 |
| Hooks | 3 events |
| Sees | only the events it hooks |
| Draws on | AssistantMessage |
Is copy-blocks safe to install?
copy-blocks scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.session.messages | reads the transcript |
$.ui.copy | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install copy-blocks?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/hearsawho25/roberts-mods claude plugin validate ./roberts-mods/copy-blocks
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add hearsawho25/roberts-mods && claude plugin install copy-blocks@roberts-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs copy-blocks for you:
Install the "copy-blocks" Claude Code mod from https://github.com/hearsawho25/roberts-mods/tree/main/copy-blocks. Run claude plugin validate on it first and show me what it can access before you enable it.
More from hearsawho25/roberts-mods
This repository has at least 9 Claude Code mods on MCPMods.
- clean-view: Hides tool calls, diffs and command output and shows one plain-English checklist above the prompt. (Low risk)
- daily-challenge: One small Claude Code exercise a day, with your streak and a year of 365 challenges that never repeat. (Low risk)
- git-ship: Repo status row above the prompt and a /ship pane whose buttons fill ready-to-run git and gh commands — you press Enter. (High risk)
- mod-doctor: Checks that every enabled mod's hooks module actually loaded, and shows why one didn't. Quiet unless something is broken (Low risk)
- prompt-upgrade: Turns a rough prompt into a great one in a pane: up to three quick questions, a rewrite, and a side-by-side review befor (Low risk)
- relay: Context and prompt-cache meter above the prompt, one-click handoffs to a fresh session, and cache warming with a cold-ca (High risk)
- roberts-toolbox: Robert's Toolbox: one button that opens your mods and the commands that change Claude Code. (Review before installing)
- work-report: A pane that counts the tasks Claude finished for you and estimates the hours and dollars they saved. (Low risk)