What is copy-last?
copy-last is a Claude Code mod by Plagemes that /copy-last copies Claude's last answer (or its last code block) to the clipboard. It is listed under Interface and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | Plagemes |
| Repository | Plagemes/claude-mods |
| Popularity | 1 GitHub stars |
| Category | Interface |
| Security | Low risk (100/100) |
| Rank | #2,074 of 5,272 Claude Code mods; #836 in Interface |
| License | MIT |
| Last commit | 2026-10-15 |
| Hooks | 2 events |
| Sees | only the events it hooks |
| Draws on | nothing |
Is copy-last safe to install?
copy-last 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.log | draws interface |
How do I install copy-last?
- 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/Plagemes/claude-mods claude plugin validate ./claude-mods/mods/copy-last
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add Plagemes/claude-mods && claude plugin install copy-last@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs copy-last for you:
Install the "copy-last" Claude Code mod from https://github.com/Plagemes/claude-mods/tree/main/mods/copy-last. Run claude plugin validate on it first and show me what it can access before you enable it.
More from Plagemes/claude-mods
This repository has at least 9 Claude Code mods on MCPMods.
- a11y-guard: Flags accessibility misses as Claude writes UI: images without alt, unlabeled buttons, clickable divs. (Low risk)
- achievements: Unlock achievements as you work: first commit, 100 green test runs, a week-long streak and more. (Low risk)
- activity-heatmap: A heat map of when you use Claude Code, by hour and weekday. (Low risk)
- agent-presets: Ready-made subagents for focused jobs: debugger, test writer, doc writer and migrator. (Low risk)
- audit-trail: Writes every action Claude takes to an append-only JSONL audit log. (Review before installing)
- auto-checkpoint: Snapshots your work tree before every editing turn and lets you /rollback to any checkpoint. (Low risk)
- auto-format: Formats every file Claude edits with the right formatter for its language. (Low risk)
- autopilot: Give it a goal and success criteria; it plans, delegates, verifies and retries until the criteria pass or it needs you. (High risk)