What is copy-back?
copy-back is a Claude Code mod by sairam0424 that type /cc after copying text from the terminal to put Claude's own text for it back on the clipboard, without the margin and the hard line breaks (experimental, macOS only). It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | sairam0424 |
| Repository | sairam0424/claude-copy-back |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Low risk (84/100) |
| Rank | #8,215 of 9,397 Claude Code mods; #3,441 in Interface |
| License | MIT |
| Last commit | 2026-11-30 |
| Hooks | 2 events |
| Sees | only the events it hooks |
| Draws on | nothing |
Is copy-back safe to install?
copy-back scores 84/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 6 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 processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.process.run | runs processes |
$.session.messages | reads the transcript |
$.ui.copy | draws interface |
$.ui.toast | draws interface |
How do I install copy-back?
- 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/sairam0424/claude-copy-back claude plugin validate ./claude-copy-back/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add sairam0424/claude-copy-back && claude plugin install copy-back@claude-copy-back
Or ask Claude to set it up
Paste this into Claude Code and it installs copy-back for you:
Install the "copy-back" Claude Code mod from https://github.com/sairam0424/claude-copy-back. Run claude plugin validate on it first and show me what it can access before you enable it.