✦ markdown editor with Claude built in

AI edits you review before they land

clamui is a markdown editor with Claude built in. Every suggestion arrives as a side-by-side diff — you Accept or Reject. Nothing touches your file until you say so.

terminal
$ brew tap murilo-cunha/clamui
$ brew install clamui

v0.3.0 · early and experimental · macOS · VS Code

01 Features

A clean editor, a capable AI, and a gate between the two

Write markdown, see it rendered

Headings, bold, lists, blockquotes, and images render inline as you type — Notion-style, without giving up the file. The file on disk stays byte-exact markdown; markers hide off the active line. Formatting is one chord away, and pressing it again unwraps.

⌘Bbold ⌘Iitalic ⌘Ecode ⌘⇧Xstrike

Your own Claude subscription. No API key.

Sign in with your existing Claude account via OAuth. The chat panel streams responses token by token, rendered as markdown, with thinking steps and tool cards visible. Sonnet by default — pick model and effort level per session, toggle edit mode with ⌘⇧M, /clear to start fresh, or resume a previous session.

⌘⇧Medit mode /clearreset session resume session

Your files, your machine

Files live on your own disk with atomic saves — no partial writes. The editor watches for external changes and reloads when a file is modified outside the app. No cloud sync, no account storage, no uploads.

Plasma: the interface gets out of the way

Dark, light, or system theme — switches instantly and persists. Panels are hidden by default and toggled with a single chord. Inter for prose, JetBrains Mono for code.

⌘⇧Bfile tree ⌘⇧Ooutline ⌘Oopen folder

Export via pandoc

When the document is ready, render it to docx, HTML, or PDF through pandoc. Built-in starter templates ship with the app, and your own per-format templates are remembered. Runs locally — no upload, no cloud conversion. The source stays markdown.

Review at keyboard speed

Accept with ⌘⏎, reject with ⌘⌫, hop between staged edits with Tab. Resolving one card auto-advances to the next, and ⌘Z re-stages the last decision if you change your mind.

⌘⏎accept ⌘⌫reject Tabnext edit

Tools ask before they act

In ask mode, every external tool call surfaces as a prompt — allow once, always allow, or deny. Direct-write tools stay blacklisted either way. Flip between allow and ask with one chord.

⌘⇧Ctool mode

New files are reviewed too

When Claude proposes a brand-new file, it arrives as a green create diff — the full content, reviewed like any edit. Accept writes the file and opens it; nothing exists on disk until then.

Bring your MCP connectors

clamui discovers the MCP servers you've already set up for Claude Code — claude.ai connectors included — and adds them to the session with a click. No re-configuring, no copied tokens.

A ⌘K that knows your files

The inline prompt wraps as you type, and @ autocompletes your project's files so instructions can point at real paths. On a staged diff, opens a follow-up — refine the edit and the revision replaces the old card.

@mention a file follow-up

Esc means stop

A generation going the wrong way stops immediately — not after the turn finishes. The partial response stays in the transcript and the session remains resumable.

Escstop ⌃Cstop

02 Reviewed edits

The diff is the feature

Most editors that bolt on AI give you an "accept all" button and hope for the best. clamui works the opposite way: when Claude proposes an edit, you see every added line in green and every removed line in red, side by side, before anything is written. Accept to apply, Reject to discard. No undo-hunting.

This is not a preference — it's enforced at the tool level. The Edit and Write tools that would let Claude write directly to disk are disabled. Every edit arrives through the diff pipeline, or it doesn't arrive at all. So you can ask freely, experiment with rewrites, and never worry about a change landing while you weren't looking.

"Nothing is written without your say-so."

03 Download

Get clamui

macOS

Download the dmg and drag clamui to Applications — updates then arrive in-app. Built for Apple silicon — macOS is the primary tested platform today.

Download for macOS →

v0.3.0 · early and experimental — expect rough edges. The binary is unsigned, so the first time you'll need to right-click → Open.

Or install with Homebrew:

terminal
$ brew tap murilo-cunha/clamui
$ brew install clamui

VS Code extension

The same reviewed-edit editor inside VS Code — connected to the Claude Code you already use, not a second chat.

  1. Download clamui.vsix — the link always serves the newest release.
  2. Install it — or use the Extensions view → menu → Install from VSIX…
    terminal
    $ code --install-extension clamui.vsix
  3. Open any .md file → right-click its tab → Reopen Editor With…clamui Markdown (or command palette: clamui: Open with clamui).
  4. Optional AI: install the Claude Code extension (or have claude on PATH) and run clamui: Connect Claude Code — Claude's edits then arrive as reviewable diffs in the editor.