lens

lens is a Claude Code mod by kakwok that one pane for the session: plan, subagents with the tokens they spent and a timeline, files and commands Claude touched, and what Claude Code added to the prompt.

Updated 2026-11-20

What is lens?

lens is a Claude Code mod by kakwok that one pane for the session: plan, subagents with the tokens they spent and a timeline, files and commands Claude touched, and what Claude Code added to the prompt. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorkakwok
Repositorykakwok/claude-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (72/100)
Rank#6,801 of 9,397 Claude Code mods; #1,289 in Cost & usage
Last commit2026-11-20
Hooks9 events
Seesevery prompt, every tool call
Draws onAbovePrompt, Pane

Is lens safe to install?

lens scores 72/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; watches every prompt or event. It passed 5 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 no processesPass
Writes files or configReview
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.agent.list
$.clock.every
$.clock.now
$.command.register
$.config.list
$.config.setchanges config
$.session.cwd
$.session.usage
$.ui.closedraws interface
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws 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/kakwok/claude-mods
    claude plugin validate ./claude-mods/lens
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add kakwok/claude-mods && claude plugin install lens@claude-mods

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/kakwok/claude-mods/tree/main/lens. Run claude plugin validate on it first and show me what it can access before you enable it.

More from kakwok/claude-mods

This repository has 2 Claude Code mods on MCPMods.

  • context-bar: Context-window bar above the prompt, broken down by category like /context with Messages split by source, plus plan usag (Low risk)