Mac clipboard for Claude Code, Cursor and Codex users
If you code with Claude Code, Cursor or Codex on Mac, you copy and paste between AI tools, your editor, and the terminal dozens of times an hour. macOS only remembers the last item — your prompt template from 10 minutes ago is gone. A clipboard manager captures every copy and lets you find it. Maus is free with 24h of history and works alongside Cursor's @file and Claude Projects.
The AI-assisted coding clipboard problem
An hour of real AI-assisted coding looks like this:
- Copy a prompt template you wrote yesterday — paste in Claude Code
- Copy Claude's response (a code block) — paste in Cursor
- Run it, see error in terminal — copy error
- Paste error back in Claude Code with a follow-up question
- Copy Claude's revised code — paste in Cursor
- Copy a test failure — copy a stack trace
- Want the original prompt again to fork the conversation — it's gone
By the time you want anything from earlier than the last 60 seconds, the macOS clipboard has overwritten it. Cursor's @file and @codebase handle repo files. Claude Projects handles persistent context files. But neither covers the ad-hoc stuff — your prompts, terminal output, Slack snippets, blog code, conversation forks. That's where a clipboard manager fits.
What this setup gives you
1. Search by source app
Maus tags every clip with the app it came from. Search by source:
claude— only clips from Claude Code (or Claude desktop)cursor— only clips from Cursor IDEcodex— only clips from Codexterminal,iterm,warp,ghostty— only terminal outputcode— only clips from VS Code
Combine with content filters: code claude finds anything containing "code" copied from Claude. error terminal finds error messages from your terminal. Useful when you've copied 50 things in the last hour.
2. Multipaste into AI inputs
You want to paste 4 things into Claude's input: a file, another file, an error, your question. Native clipboard can do one at a time, requiring 4 separate paste actions.
With Maus:
- Copy each of the 4 items in any order (or all at once).
- In Claude's input field, press
⌘⇧Vto open Maus. ⌘+Clickeach clip in the order you want them pasted.- Press
⏎. All 4 paste into Claude in order.
3. Autopaste for sequential context dumps
Sometimes you know in advance you'll copy a sequence (file 1, file 2, error, question). Double-tap ⌘ to enter Maus's autopaste listening mode. Now every ⌘C queues up. Press ⌘V in Claude — the entire queue pastes in order.
This turns "open Maus, multi-select, paste" into "copy, copy, copy, paste". Less interruption to flow.
4. Pin your best prompts
Some prompts you reach for every day. A refactor template. A debug-this template. A test-generation prompt. A code-review prompt. Pin them in Maus — they stay at the top of your history.
- "Refactor this function. Keep behavior identical. Show me a unified diff."
- "Walk through this stack trace step by step. Identify the root cause, not the symptom."
- "Generate test cases for this function. Cover happy path, edge cases, and error conditions."
- "Review this PR. Focus on race conditions and missing error handling. Skip style nits."
You don't need a prompt management tool for this. A clipboard manager with pin is enough — copy once, pin it, use it forever.
5. OCR on shared screenshots
Someone DMs you a screenshot of an error or a code snippet from a conference talk. Copy the image. Maus runs OCR automatically — the text inside is now in your clipboard history, searchable and pasteable. No retyping a stack trace from a PNG.
Stack-specific notes
Claude Code (terminal-based)
Claude Code runs in your terminal. Everything pasted into it goes through the terminal's paste handling. Maus's ⌘⇧V opens at your cursor; press ⏎ and the selected clip pastes into Claude Code via the terminal. For multipaste, the items paste sequentially with appropriate spacing — works the same as in any text input.
The source-app filter shows clips as coming from your terminal (Terminal, iTerm2, Warp, Ghostty). To distinguish Claude Code output from other terminal output, you might need to rely on content patterns rather than source app alone.
Cursor
Cursor's @file and @codebase handle context that's part of the repo. For everything outside the repo — prompt templates, snippets from Stack Overflow, output from other AI tools, error messages from non-Cursor terminals — a clipboard manager fills the gap.
Common Cursor workflow: have a chat in Cursor, copy a generated code block, switch to your browser or another tool, then later want that block back. Maus has it.
Codex
OpenAI's Codex agent (the relaunched 2025 product) runs as a CLI tool with its own context handling. The clipboard fills the same gap as in Cursor: anything ad-hoc that didn't go through Codex's context system, but that you might want to feed Codex on a follow-up.
Mixing Claude + Cursor + Codex
Many devs use multiple AI tools — Claude for design discussion, Cursor for inline edits, Codex for terminal-based agentic work. The clipboard is the connective tissue: output from one becomes input to another. Source-app filtering helps you pull "the answer from Claude" rather than "the answer from Codex" when reviewing.
Setup (3 minutes)
- Download Maus (free, native macOS, no Electron).
- Grant accessibility when prompted.
- Optional: pin your top 3-5 prompt templates once and they stay at the top.
- Use
⌘⇧Vnormally — search by content or source app.⌘+Clickto multi-select.⏎to paste in order. - Try double-tap
⌘once for autopaste — copy several things, then⌘Vpastes them all.
What Maus doesn't replace
This isn't a substitute for the AI tools' native context features. Use both:
- Cursor
@file,@codebase, MCP servers: for repo files and persistent context. Use these. - Claude Projects: for documents you want available across every conversation. Use this.
- TextExpander / Alfred snippets: for named, triggered snippets with variable substitution.
- Maus: for everything else — ad-hoc copies, prompt history, source-filtered search, multipaste, autopaste, OCR on screenshots.
FAQ
Why do I keep losing prompts when using Claude Code or Cursor?
macOS only stores one clipboard item. Every ⌘C overwrites the previous. A clipboard manager captures every copy so the prompt template you used 10 minutes ago is still findable.
Can I paste multiple files into Claude at once?
Not natively. With Maus, ⌘+Click several clips and press ⏎ — they paste in sequence into Claude's input.
How do I save prompt templates I use with Claude Code or Cursor?
Pin them in Maus. Or use a snippet manager (TextExpander, Alfred) if you want trigger-based expansion with variables.
Can I find a code snippet I copied from Cursor yesterday?
Yes. Open Maus with ⌘⇧V, type cursor to filter by source, find it.
Does this work with Warp, Ghostty, iTerm2?
Yes. Maus captures from any Mac app and tags each clip with its source.
Is Maus safe for code that contains secrets?
Maus respects the macOS concealed flag — password manager clips are never stored. API keys you paste manually from .env or dashboards are not flagged concealed by the source. Delete sensitive items after pasting, or add the source app to Maus's excluded-apps list. Clipboard data never leaves your Mac.
How is this different from pasting context into Claude directly?
Cursor's @file and Claude Projects handle repo files and persistent context. A clipboard manager handles everything outside the repo: prompts you wrote, terminal output, code from blogs, output from other AI tools. Both work together.
Stop losing prompts and context between AI tools
Maus captures every ⌘C across Claude Code, Cursor, Codex, and your terminal. Free with 24h history. Pro $12.99 once for unlimited.