Claude Code mod
copy-blocks
Copy each quote or code block in Claude's answer with one click, from a copy button above each block or a row above the prompt.
Install
/plugin marketplace add y-hirakaw/claude-code-mods
/plugin install copy-blocks@y-hirakaw-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L1Reads: writes the clipboard, reads mod state, draws
- Sees
- every prompt
- Draws in
AbovePromptAssistantMessagePane- Hooks
turn.completeprompt.submitui.pressui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- y-hirakaw/claude-code-mods
- Folder
copy-blocks- Marketplace
y-hirakaw-mods- Author
- y-hirakaw
- License
- MIT
- Last updated
- 10 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is copy-blocks?
Copy each quote or code block in Claude's answer with one click, from a copy button above each block or a row above the prompt. It is a mod for Claude Code, from y-hirakaw/claude-code-mods on GitHub.
What can the copy-blocks mod access?
Its widest reach is "reads" (writes the clipboard, reads mod state, draws). It sees every prompt. It draws in AbovePrompt, AssistantMessage, Pane. Like any mod, it runs with your permissions.
How do I install copy-blocks?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add y-hirakaw/claude-code-mods and then /plugin install copy-blocks@y-hirakaw-mods.
Is copy-blocks popular?
y-hirakaw/claude-code-mods has 2 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 10 October 2026.
More guard & safety mods
composio-pulse
2tridha643/claude-composio-mods
Times every composio CLI call into a status-line sparkline against a latency budget, and blocks re-linking a connected toolkit
exo
2pepperonas/exo
An exoskeleton for Claude Code: guards against costly mistakes, a cockpit while working, a recap at the end and a few extras
c-mods
2C0nanT/conan-mods
Conan's Claude Code mods: caveman prompt, git-guard, dotenv-guard and an end-of-task sound, each toggled with /c-mods.
garde-prod
2DarkSawOktay/claude-mods
Production guard: flags every command that touches production or is risky (force push, secrets, rm -rf…), checks for a fresh database backup before a production write (can refuse without one), and keeps refused commands ready to run yourself with !. French or English.
barmkin-mod
2samfrmr/barmkin-mod
Claude Code mods security layer: secret redaction, untrusted-content taint with a Rule-of-Two egress gate, skill inline-shell mediation guard, MCP tool-poisoning guard, skill-content screen, agent-to-agent firewall, and a Jev System One classifier gateway with an explanation surface.
goalpost-guard
2Xabilimon1/emcc-claude-code-mods
Stops Claude from passing a check by lowering the bar: weakened or deleted tests, new suppressions, relaxed config, softened CI, lowered coverage, skipped git hooks.
Browse the most popular Claude Code mods, all guard & safety mods, or the skills and MCP server directories.