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).

Updated 2026-11-30

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.

TypeClaude code mod
Authorsairam0424
Repositorysairam0424/claude-copy-back
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (84/100)
Rank#8,215 of 9,397 Claude Code mods; #3,441 in Interface
LicenseMIT
Last commit2026-11-30
Hooks2 events
Seesonly the events it hooks
Draws onnothing

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.process.runruns processes
$.session.messagesreads the transcript
$.ui.copydraws interface
$.ui.toastdraws interface

How do I install copy-back?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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/.
  3. 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.