md-preview

by Daniel Mertens · ★ 0 · updated 11 days ago

PanesGuardsCommandsTools & agentsvalidates

0

Preview a markdown file in a pane: /md-preview lists the markdown files edited in this session, and Claude can show one itself.

install md-preview

Install

/plugin marketplace add danielmertens/Claude-mods
/plugin install md-preview@claude-mod

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.starttool.callcommand.runui.closeui.render
API calls
$.command.register$.fs.read$.session.cwd$.session.messages$.state.get$.state.set$.tool.register$.ui.close$.ui.open$.ui.resolve$.ui.toast
Draws
Pane
Can see
Edit|Write callsmcp__md-preview__show calls
Reach
level 2 of 3 drives Claudereads filesreads the transcriptreads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/danielmertens/Claude-mods
Path in repo
plugins/md-preview
Source commit
be88f6c the exact code the scan read
Author
Daniel Mertens @danielmertens
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.