file-viewer
by Matteo Pesenti · ★ 0 · updated 19 days ago
0
Inline previews of PDFs, Office files, images and animated GIFs in Claude Code, with a paging viewer and a preview tool Claude can call
Install
/plugin marketplace add matteo-psnt/file-viewer/plugin install file-viewer@file-viewerThen 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.runtool.callui.renderui.focusui.messagesession.end- API calls
$.clock.after$.command.register$.env.get$.fs.exists$.fs.read$.fs.write$.process.run$.process.spawn$.state.get$.state.set$.store.delete$.store.get$.store.set$.tool.register$.ui.blit$.ui.focus$.ui.invalidate$.ui.log$.ui.open$.ui.resolve$.ui.status- Draws
AbovePromptToolResultPane- Can see
mcp__file-viewer__preview calls- Reach
- level 2 of 3 runs processeswrites filesdrives Claudereads filesreads env varsreads mod statepersists 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/matteo-psnt/file-viewer
- Path in repo
plugin- Source commit
320573fthe exact code the scan read- Author
- Matteo Pesenti @matteo-psnt
- 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.