lens

lens is a Claude Code mod by BuddyLim that review a repo's changes in a pane: the changed files with editor-style diagnostics (pyright, ruff, tsc, eslint, terraform), a diff view, a git graph, commits and stashes, and pull request.

Updated 2026-10-11

What is lens?

lens is a Claude Code mod by BuddyLim that review a repo's changes in a pane: the changed files with editor-style diagnostics (pyright, ruff, tsc, eslint, terraform), a diff view, a git graph, commits and stashes, and pull request. It is listed under Git & CI and has 1 GitHub stars.

TypeClaude code mod
AuthorBuddyLim
RepositoryBuddyLim/claude-code-mod-lens
Popularity1 GitHub stars
CategoryGit & CI
SecurityLow risk (88/100)
Rank#1,702 of 5,272 Claude Code mods; #136 in Git & CI
LicenseMIT
Last commit2026-10-11
Hooks7 events
SeesEdit calls, Write calls
Draws onPane

Is lens safe to install?

lens scores 88/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 7 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
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.fs.readreads files
$.process.runruns processes
$.prompt.fillwrites the prompt box
$.prompt.read
$.session.append
$.session.cwd
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.focusdraws interface
$.ui.opendraws interface
$.ui.panesdraws interface
$.ui.resolvedraws interface
$.ui.scrolldraws interface
$.ui.selectiondraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install lens?

  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/BuddyLim/claude-code-mod-lens
    claude plugin validate ./claude-code-mod-lens/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/BuddyLim/claude-code-mod-lens && claude --plugin-dir ./claude-code-mod-lens/.

Or ask Claude to set it up

Paste this into Claude Code and it installs lens for you:

Install the "lens" Claude Code mod from https://github.com/BuddyLim/claude-code-mod-lens. Run claude plugin validate on it first and show me what it can access before you enable it.