New:Socket for Asana Is Now Available.Learn more
Get Started

mdtation

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdtation

Desktop-inspired terminal markdown viewer for the agentic era — inline comments that flow to your clipboard and CLI.

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
164
-50.6%
Maintainers
1
Weekly downloads
 
Created
Source

🧘 mdtation

A better agentic feedback flow.

npm ci socket license

read, breathe, comment, loop

mdtation

A terminal markdown viewer with comments that stick to lines, persist between sessions, and copy as a reference any agent understands.

The problem

Agents ask for feedback in the worst possible ways.

  • Option pickers: A, B or C, and your real answer is "B, but only if the second half of C". There is no box for that, and no way to ask where B came from.
  • Itemized lists in a chat thread: Finding F7, section 2.1, recommended (b). The list scrolls away while you type, so you answer from memory.
  • A 300-line plan printed into the terminal is read by scrolling a buffer, and your thoughts about line 140 go nowhere.

The loop

  • The agent writes the plan as a markdown file, not a message.
  • You open it in mdtation, read it full screen, and press c on the line (or drag-select the sentence) you disagree with.
  • Copy the comment to the clipboard: line number, section path, quote, and your note. Paste it, or let the agent run list.
  • The agent revises the file. You open it again, your comments are still anchored, and you go round once more.

Review the plan, not the chat. Specs, plans, drafts, reviews: the prose your agent writes deserves a real review flow, not a chat reply.

Install

npm i -g mdtation
mdtation plans/auth.md

The full-screen TUI runs under Bun. Under Node, mdtation renders to stdout instead.

See it

Comment on a lineComment on a selectionMenus and palette
commentselectmenus

Keys

keyaction
j kmove the caret (wheel and click work too)
cnew comment on the caret line or selection
eedit the comment under the caret
Ccopy the comment as a reference
[ ]previous, next comment
ashow all comments
/command palette
mhide or show the menu bar
?help
qquit (^s saves checkbox and frontmatter edits first)

Everything a TUI should have: menu bar, command palette, settings, all mouse ready. View options (color, marks, fences, tables, checkboxes, flow, scroll margin) are remembered.

CLI

mdtation plan.md list             # print live comments as markdown
mdtation plan.md list --archived  # include archived ones, each with an id
mdtation plan.md restore a1,b2    # un-archive by id
mdtation plan.md clear            # forget every comment for this file
mdtation plan.md print            # render to stdout and exit
mdtation plan.md status           # print the data dir
mdtation skill                    # print the agent skill

Comments live in one json per file under $MDTATION_HOME, $XDG_DATA_HOME/mdtation, or ~/.mdtation, keyed by absolute path.

Tell your agent: "Read the comments I left on plans/auth.md with mdtation plans/auth.md list, address each, then rewrite the file."

License

MIT

FAQs

Package last updated on 02 Sep 2026

Related posts