file-preview
by Artūras Bončkus · ★ 0 · updated yesterday
0
Click a markdown, JSON or YAML file link in a reply to preview it in a side pane, drawn like a docs page
Install
/plugin marketplace add abonckus/claude-code-file-preview/plugin install file-preview@file-previewThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.startcommand.runui.scrollui.pressui.inputui.focusui.closeui.render- API calls
$.clock.after$.clock.every$.command.register$.env.get$.fs.read$.fs.stat$.process.run$.session.cwd$.state.get$.state.set$.ui.focus$.ui.open$.ui.resolve$.ui.scroll$.ui.toast- Draws
AssistantMessagePane- Reach
- level 2 of 3 other: $.state.getother: $.state.setruns processesreads filesreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/abonckus/claude-code-file-preview
- Path in repo
- repository root
- Source commit
da53af8the exact code the scan read- Author
- Artūras Bončkus @abonckus
- 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.