Home / Claude Code mods / Interface / file-preview

file-preview

file-preview is a Claude Code mod by HTNCode that markdown / HTML ファイルと URL を Claude Code のペインでプレビューする.

Updated 2026-11-27

What is file-preview?

file-preview is a Claude Code mod by HTNCode that markdown / HTML ファイルと URL を Claude Code のペインでプレビューする. It is listed under Interface and has 1 GitHub stars.

TypeClaude code mod
AuthorHTNCode
RepositoryHTNCode/file-preview
Popularity1 GitHub stars
CategoryInterface
SecurityHigh risk (48/100)
Rank#3,677 of 9,397 Claude Code mods; #1,555 in Interface
LicenseUnlicense
Last commit2026-11-27
Hooks4 events
Seesmcp__file-preview__open calls
Draws onPane

Is file-preview safe to install?

file-preview scores 48/100 on the MCPMods security check: High risk. Things to review: sends data over the network; starts processes outside the sandbox; writes files or config; reads environment variables. It passed 3 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.

CheckResult
Sends data over the networkReview
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.http.fetchnetwork requests
$.process.runruns processes
$.session.root
$.state.get
$.state.set
$.tool.registerdrives Claude
$.ui.closedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface

How do I install file-preview?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/HTNCode/file-preview
    claude plugin validate ./file-preview/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add HTNCode/file-preview && claude plugin install file-preview@htncode

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/HTNCode/file-preview. Run claude plugin validate on it first and show me what it can access before you enable it.