Back to Maus

Mac clipboard for Claude Code, Cursor and Codex users

May 11, 2026 · Manuel Toledo
Quick answer

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:

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:

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:

  1. Copy each of the 4 items in any order (or all at once).
  2. In Claude's input field, press ⌘⇧V to open Maus.
  3. ⌘+Click each clip in the order you want them pasted.
  4. 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.

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)

  1. Download Maus (free, native macOS, no Electron).
  2. Grant accessibility when prompted.
  3. Optional: pin your top 3-5 prompt templates once and they stay at the top.
  4. Use ⌘⇧V normally — search by content or source app. ⌘+Click to multi-select. to paste in order.
  5. Try double-tap once for autopaste — copy several things, then ⌘V pastes them all.

What Maus doesn't replace

This isn't a substitute for the AI tools' native context features. Use both:

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.

Download Maus for Mac How to save copied code on Mac