dd
Drop the current clipboard (text or image) into Claude Code with /dd or /ㅇㅇ — no pasting.
A Claude Code plugin that adds a /dd slash command to share clipboard content (text or images) with your AI session without pasting it directly into the chat, saving context and cost.
This is a plugin for Claude Code, the AI coding assistant command-line tool. It solves a specific friction point: when you are working in Claude Code and want to share something from your clipboard, such as an error log or a screenshot, pasting it directly into the chat has drawbacks. Long text takes up persistent space in the conversation and gets re-read on every turn, making sessions slower and more expensive. Images sometimes cannot be pasted at all depending on your setup.
The plugin adds a slash command called /dd (also available as /ㅇㅇ for Korean input method users, since the same keys produce different characters in Korean mode). You copy or screenshot something, type /dd followed by your question or instruction, and the plugin reads the clipboard for you. Text gets saved to a local file rather than dumped into the chat, so Claude receives a short summary and fetches more only if the task requires it. Images are read directly from the clipboard, which avoids the problem of pasted images not being recognized.
Several safety and convenience features are built in. Sensitive-looking strings such as API keys and tokens are masked in the preview before Claude sees them. The plugin asks for confirmation before acting if the clipboard content looks unrelated to the current task. Large logs or images are analyzed in a background process so only the conclusion enters the main conversation. Captured files are automatically deleted after seven days.
Installation requires adding a plugin marketplace URL within Claude Code and then running a single install command. The plugin works on macOS, Windows, WSL, and Linux, with minor per-platform differences in how clipboard access is handled. No external Python packages are needed beyond the standard library. The project is released under the MIT License.
Where it fits
- Share a long error log from your clipboard with Claude Code using /dd without dumping the full text into the conversation and slowing down every following turn.
- Paste a screenshot directly into a Claude Code session with /dd to avoid the image-not-recognized problem that happens with normal clipboard pasting.
- Protect sensitive clipboard content by letting the plugin automatically mask API keys and tokens before Claude Code sees them.