What is file-preview?
file-preview is a Claude Code mod by wonr-spec that claude가 만들거나 고친 이미지·문서 파일을 패널에서 바로 미리보기. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | wonr-spec |
| Repository | wonr-spec/claude-mods |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Review before installing (72/100) |
| Rank | #9,190 of 9,397 Claude Code mods; #3,830 in Interface |
| Last commit | 2026-10-16 |
| Hooks | 5 events |
| Sees | Bash calls, Edit calls, Write calls, every prompt |
| Draws on | Pane |
Is file-preview safe to install?
file-preview scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; watches every prompt or event. It passed 5 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.fs.exists | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.process.run | runs processes |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install file-preview?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/wonr-spec/claude-mods claude plugin validate ./claude-mods/plugins/file-preview
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add wonr-spec/claude-mods && claude plugin install file-preview@wonr-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs file-preview for you:
Install the "file-preview" Claude Code mod from https://github.com/wonr-spec/claude-mods/tree/main/plugins/file-preview. Run claude plugin validate on it first and show me what it can access before you enable it.
More from wonr-spec/claude-mods
This repository has 3 Claude Code mods on MCPMods.
- prompt-suggest: 턴이 끝나면 다음 프롬프트 후보 3개를 프롬프트 위에 제안 (Low risk)
- session-activity: 실패하거나 보안상 위험한 도구 사용만 알림·상태줄·패널로 표시 (Low risk)