ClaudeCodeMod

All shelves / Mods / Workflow

csr-lens

By cesarschutz

csr-lens is a Claude Code workflow mod by cesarschutz.

Opens a panel in Portuguese beside the chat of the session's agents, turns, diffs, file tree, context and cost, and installed parts, and a row above the prompt.

DrawsHolds a command

Install

The marketplace name is cesarschutz.

In your shell
claude plugin marketplace add cesarschutz/claude-code-kit
claude plugin install csr-lens@cesarschutz
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
1.0.1
License
MIT
Repo stars
18
Last change
2026-10-11

What it can reach

  • Draws in the session
  • Holds a command
  • Sees tool calls
  • Reads this turn's file edits
  • Reads usage or context figures
  • Calls another program on this machine

The README and the panel are in Portuguese. Needs Claude Code 2.1.287 or newer; the desktop app carries its own copy of Claude Code, so update the app too. The panel draws in the terminal and the desktop app's Code tab; in the VS Code extension and claude -p the data is recorded but nothing is drawn. /lens opens and closes it, /lens with a tab's name or number opens that tab, and /inventario opens the inventory. Without room beside the conversation, a compact version shows above the prompt with the same tabs. A third-party marketplace does not update on its own: run claude plugin marketplace update cesarschutz, then claude plugin update csr-lens@cesarschutz. The cost in reais uses a dollar rate you set in /config, R$ 5.22 by default, and 0 hides it. Installs under the old names csr-cockpit or cs-cockpit move to csr-lens through the marketplace.

The marketplace, cesarschutz, holds Cesar Schutz's claude-code-kit: this panel, exemplos, and skills such as mensagem-de-commit and explicar-erro. Seeing a session's instruments in one place is why this page files it under workflow. painel opens a side panel, in Portuguese, of the running tool, Claude's latest thinking, plan steps, edited files, subagents, and context. mission-control opens a pane of the main agent, its subagents, every tool call, and the files they touch. This one has seven tabs, overview, agents with who called whom and the messages between them, turns, diffs, tree, context, and inventory, and only watches: its hooks pass on what they get unchanged. The two exceptions run only when you press them: Stop agent, which asks a running subagent to stop and refuses its tools until it ends, and Exact count on the context tab, which makes one request per tool and memory file. It makes no network call, and the only commands it runs are git reads and snapshots of the files before and after a Bash command, in a git index of its own.

Demo

The author's picture of the CSR Lens panel, drawn from the mod's own code with a staged session and labeled in Portuguese. The Overview tab: tabs for Agents, Turns, Diffs, Tree, Context, and Inventory; cards for context at 52%, a session cost of US$ 2.74, the five-hour limit at 3%, 1 agent running, 4 turns, and +119 −55 in 4 files; then what is running now.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • session.endWhen a session ends
  • command.runWhen you run its slash command/lens/inventario
  • ui.pressA Claude Code event
  • ui.focusA Claude Code event
  • ui.closeWhen its pane closes
  • tool.callAround a tool call, where it can hold one
  • agent.spawnWhen a subagent starts
  • session.sendA Claude Code event
  • turn.startWhen Claude starts a turn

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 2

  • /lensAbre ou fecha o painel Lens; com o nome de uma aba, abre nela
  • /inventarioAbre o Lens no inventário: plugins, skills, comandos, hooks e MCP, e o que está ativo

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
cesarschutz
Category
Workflow
Marketplace
cesarschutz
Repo
cesarschutz/claude-code-kit
Folder
plugins/csr-lens
Version
1.0.1
License
MIT
Repo stars
18
Last change
2026-10-11
Language
TypeScript
Files
41

Other mods in Workflow

tempergalandoHolds a commandDraws a Temper run's stage bar above the prompt and a pane, and refuses writes outside the current stage, so no code is written before you approve the intent.agent-knowledgekeshrathOpens a /knowledge pane beside the chat to browse and search agent-knowledge, a git-synced memory vault that also searches past sessions of seven coding tools.memeshPCIRCLE-AIViews and edits MeMesh's project memories with /memesh-memories, in a pane in the desktop app or a form in the terminal, from one local file Codex shares.pr-watchElirazKedKeeps a live pane of the GitHub pull requests the session touches, with CI, reviews, conflicts, and merge, and a toast when one changes.launch-storeYosefHayimHolds a commandAdds Launch's build, release, status, plan, and doctor tools and /launch for Swift, Kotlin, Expo, and React Native apps, and asks before anything uploads.debriefsxhmilyoyoHas a long turn end with a Debrief block and draws it as a card above the prompt, with Copy, Pin, and a next step you can take into the prompt box.litterUnd3rf10wHolds a commandRuns multi-agent designs, gated plans, and swarms as workflows, holds each agent to its files and tools, and opens a /litter pane of runs, swarms, and spend.loftAsk-LoftShows a Loft status pane while the agent writes a spec/ specification: the loop's checks, the next step, the nodes changed, and criteria with no reviewed test.session-owlavtcKeeps session memory as a graph that background agents maintain, makes its roots the compaction summary, and draws the stage and its token cost in the footer.mission-controlh-zahranOpens a side pane of robots, one for the main loop and one per subagent, with tools, context, cost, rate limits, and files, plus a band, toasts, and sounds.mission-controlJasonWarrenUKHolds a commandOpens a board pane for a run of several sessions on one repository, and holds a gated command until this session holds that resource's slot.tg-pane34823Opens your Telegram chats and channels in a pane beside the session, through your own Telegram Web login. A Summary press has Claude retell unread posts.
All 396 in Workflow