Tools to accept or reject AI edits to Markdown

Checked 23 November 2026 against the Git, Claude Code, Cursor and Nimbalyst documentation and the Obsidian plugin pages linked below. Prices can change. I make Coffee, so read this with that in mind. Coffee isn't affiliated with any of them.

Pick by two questions. Does the tool catch edits from any app, or only its own? And can you undo one change, or only roll back to a point in time? Git catches everything and undoes by block. Claude Code and Cursor see only their own session. A few Obsidian plugins, Nimbalyst and Coffee, the Markdown editor for Mac that I make, watch the file and let you keep or undo each change.

This is the comparison. For step-by-step commands, see how to review what Claude or Cursor changed and how to undo one AI edit.

At a glance

ToolCatches edits fromWhen you see itWhat you can undo
GitAnything, since your last commitAfter the editA block of lines
Claude Code /rewindClaude's own file editsAfter the editEverything after a prompt
Claude Code in VS CodeClaude's proposed editsBefore the editOne change
CursorCursor's AgentAfter the editWhat you reject, or everything after a message
Agent Change Review (Obsidian)Anything outside ObsidianAfter the editOne change
Drift (Obsidian)Anything outside ObsidianAfter the editOne chunk
Review Edit (Obsidian)Anything, against a snapshotAfter the editOne change
NimbalystIts own agent sessionsAfter the editOne change
CoffeeAnything that edits the fileAfter the editOne change

Git

git diff --word-diff shows the words that changed since your last commit, whoever changed them. git restore -p walks through each changed block and asks whether to discard it.

It's free, and it's the only option here that gives you a history you can share. The catch is that blocks follow lines, and a Markdown paragraph is often one long line. Undoing one word means undoing the paragraph, or editing by hand.

Claude Code

Claude Code has two different tools, and they work at different moments.

/rewind, or Esc twice, opens a list of your prompts. Pick one and choose Restore code, and every file edit after that point goes. It tracks edits made by Claude's file tools. A file only a shell command changed isn't tracked, and neither are changes from outside the session. Its docs say plainly that checkpoints don't replace version control.

The VS Code extension can stop an edit before it lands. In Manual mode it shows the original and the proposed text side by side, with Accept this change and Reject this change under each change. That needs v2.1.275 or later. A diff with more than 100 changes opens without those buttons, as a whole file.

Cursor

Cursor's help says Agent applies its edits as it works, and you review them in the diff view and reject what you don't want. That page doesn't say whether rejecting works per file or per change. Restore Checkpoint, on an earlier message, rolls back everything Agent did after it. Cursor's agent docs say checkpoints are separate from Git and only for undoing Agent changes.

Obsidian plugins

Obsidian has no review of outside edits built in, but several community plugins add one. I read their listings, not their code, and haven't tested them.

  • Agent Change Review highlights edits made outside Obsidian, by Claude Code, Codex, a script or a git pull, in the note itself. Hover a highlight to see the old text, then accept or revert that change. Your own typing is never highlighted. Desktop only, MIT licence.
  • Drift opens a side-by-side diff when a file changes outside Obsidian, with a revert button on each chunk. Desktop only.
  • Review Edit takes a snapshot after you pause for about a minute and compares the note against it, with keep or revert for each change. Its listing says edits made while Obsidian is closed have no snapshot from before, so the comparison is against the last saved state. Desktop and mobile.

If your notes already live in Obsidian, start here.

Nimbalyst

Nimbalyst is an open-source workspace for Mac, Windows and Linux, free for individuals. It's built on Claude Code and Codex, and uses your own subscription or API key for them. Its docs say the agent writes each change to the file straight away, and the red and green diff is a review afterwards. You can step through changes one at a time or keep and revert them all. Revert restores the earlier text from file history.

One detail worth knowing: the docs say a revert isn't reported to the agent, so tell it in the chat or it may carry on from its own version. To stop a change before it's written, choose a permission mode that asks first.

Coffee

I make Coffee, so read this with that in mind.

Coffee looks at the file instead of the tool. It remembers each note as you last read it. When the text on disk is different, a bar at the top of the note says how many changes there are. Press Review and each change is a card under its heading, with the old text and the new, and Keep or Undo. Keep all and Undo all settle the lot. Undo is an ordinary edit, so ⌘Z brings it back, and both your text and the new text are kept in the note's version history.

Because it reads the file, it works the same for Claude, Cursor, Codex, a Git pull or a synced folder. On macOS 26 with Apple Intelligence, the panel adds a sentence or two describing the changes, written on your Mac.

What it won't do:

  • It compares whole lines. A changed paragraph shows as old and new, with no highlight on the word. git diff --word-diff is easier for that.
  • It needs a first read. Changes from before Coffee first opened a note don't show as changes.
  • It can't tell you who did it. It only sees that the file changed.
  • It skips private notes.
  • It isn't version control. Use Git for a record you can share.

Review is on the Mac only. There's more on the review page. Coffee is €3 a month, €29 a year, or €79 once with two years of updates, after 14 days free with no card or account.

Which to pick

  • You use Git already. Commit before each AI session and diff after. Add one of the others for finer control.
  • You only use Claude Code. Work in VS Code in Manual mode to reject single changes before they land. Keep /rewind for a prompt that went wrong as a whole.
  • You only use Cursor. Use its diff view, and Git behind it.
  • Your notes are in Obsidian. Try Agent Change Review or Drift on a copy of the vault.
  • You want a free agent workspace with review built in. Nimbalyst, on any desktop system.
  • You use several AI tools on the same Markdown on a Mac. Coffee, since it doesn't care which tool made the edit.

Whichever you choose, read numbers, names, dates and links first. That's where a quiet mistake does the most harm. There are more habits in how to stop AI tools wrecking your notes.

Questions

Which tool lets me reject one AI change before it's written?

Of these, Claude Code's VS Code extension, in Manual mode, with Reject this change under each change. The others show edits after they're on disk, so you undo rather than reject.

Does Claude Code's /rewind undo one edit?

No. It restores files to how they were at a prompt you pick, so it undoes everything after that point. It doesn't track files only a shell command changed, or edits from outside the session.

Can Obsidian show me what Claude Code changed in my vault?

Not by itself. Community plugins such as Agent Change Review, Drift and Review Edit add it. Their listings say they catch edits made outside Obsidian.

Do I still need Git if I use one of these?

For a lasting history, yes. Claude Code and Cursor both say their checkpoints aren't version control, and Coffee's review holds only what you last read.

Does Coffee's review work with any AI tool?

Yes, on the Mac. It compares the file on disk with the note as you last read it, so it doesn't matter which tool made the edit.