What is claude-browser-comment-mod?
claude-browser-comment-mod is a Claude Code mod by lover40x that hands comments left on a dev server's preview overlay (.scratch/preview-comments.jsonl in the session's folder) to Claude as prompts. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | lover40x |
| Repository | lover40x/claude-mod-local-comment |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Review before installing (61/100) |
| Rank | #7,095 of 9,397 Claude Code mods; #3,007 in Interface |
| License | MIT |
| Last commit | 2026-11-30 |
| Hooks | 4 events |
| Sees | only the events it hooks |
| Draws on | PromptHint, AbovePrompt |
Is claude-browser-comment-mod safe to install?
claude-browser-comment-mod scores 61/100 on the MCPMods security check: Review before installing. Things to review: validator reported problems. It passed 6 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 no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Flag |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.fs.read | reads files |
$.fs.stat | reads files |
$.prompt.submit | drives Claude |
$.session.id | |
$.session.root | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.invalidate | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install claude-browser-comment-mod?
- 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/lover40x/claude-mod-local-comment claude plugin validate ./claude-mod-local-comment/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/lover40x/claude-mod-local-comment && claude --plugin-dir ./claude-mod-local-comment/.
Or ask Claude to set it up
Paste this into Claude Code and it installs claude-browser-comment-mod for you:
Install the "claude-browser-comment-mod" Claude Code mod from https://github.com/lover40x/claude-mod-local-comment. Run claude plugin validate on it first and show me what it can access before you enable it.