All Claude Code modsPedroLaRosa/claude-code
lens
Puts tsc, linter and secret-scan diagnostics in the result of every Edit and Write, so Claude fixes what it broke in the same turn
review UI rewrite
lens reaches L2 (writes or runs) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 6
- API methods referenced: 18
- Access from classified calls: L2, writes or runs: runs processes, drives Claude, reads files, persists state, draws
- Unclassified calls: 1 (
$.process.spawn), full access unknown - Static scan, not a runtime test
Install hint
/plugin install lens --marketplace PedroLaRosa/claude-codeFrom 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 runsother: $.process.spawn, runs processes, drives Claude, reads files, persists state, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- every tool call, mcp__lens__lens_diagnostics calls, mcp__lens__lens_diagnostic_mark calls
- Hooks
tool.call, tool.call {tool=mcp__lens__lens_diagnostics}, tool.call {tool=mcp__lens__lens_diagnostic_mark}, command.run {command=lens}, command.run {command=lens-health}, ui.render {component=SessionMode}, ui.render {component=AbovePrompt}, session.start, turn.start, turn.complete- API calls
$.clock.after, $.command.register, $.fs.exists, $.fs.list, $.fs.read, $.fs.stat, $.process.run, $.process.spawn, $.prompt.submit, $.session.root, $.store.delete, $.store.get, $.store.set, $.tool.register, $.ui.invalidate, $.ui.log, $.ui.resolve, $.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
9e553ede78f4- Marketplace passed
- pedro-la-rosa-claude-code
- 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. mods/lens/hooks/lens.ts:135, mods/lens/hooks/lens.ts:202, mods/lens/hooks/register.ts:95, mods/lens/hooks/register.ts:456
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. How the scan works.
More from PedroLaRosa/claude-code
- dep-bouncerSupply-chain gate: vets npm/pnpm/yarn/bun installs against the registry before they run
- lazygit-popupalt+g opens lazygit in a tmux popup; ESC (or q) quits lazygit and closes it
- model-effort-switcherShows the model and effort under the prompt, cycled with alt+up/down (model), alt+left/right (effort) and alt…
- token-weather-usageDemo: colored pills above the prompt: context tokens with weather, 5h/7d limits vs time elapsed, prompt cache…
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/PedroLaRosa--claude-code--lens/)
[](https://mods.aidojo.si/mods/PedroLaRosa--claude-code--lens/)