All Claude Code modsabonckus/claude-code-file-preview
file-preview
Click a markdown, JSON or YAML file link in a reply to preview it in a side pane, drawn like a docs page
review UI rewrite
file-preview reaches L2 (writes or runs) and passed claude plugin validate.
- Events hooked: 8
- API methods referenced: 15
- Access from classified calls: L2, writes or runs: runs processes, reads files, reads env vars, reads mod state, draws
- Reads mod state: the scan does not record whose state, so this does not show that it reads another mod’s values
- Static scan, not a runtime test
Install hint
/plugin install file-preview --marketplace abonckus/claude-code-file-previewFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsruns processes, reads files, reads env vars, reads mod state, drawsValidation
PassedView the source on GitHub Back to the list
What the scan recorded
- Observed events
- Only what it hooks
- Hooks
session.start, command.run {command=preview}, ui.scroll {requestId=file-preview}, ui.press {requestId=file-preview}, ui.input {requestId=file-preview}, ui.focus {requestId=file-preview}, ui.close, ui.render {component=AssistantMessage}, ui.render {component=Pane, requestId=file-preview}- 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- Validation
- Passed
- Scanned revision
da53af867a4d- Marketplace passed
- file-preview
- UI rewrite review
- UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. hooks/register.tsx:99
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/abonckus--claude-code-file-preview--file-preview/)
[](https://mods.aidojo.si/mods/abonckus--claude-code-file-preview--file-preview/)