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.
claude plugin marketplace add cesarschutz/claude-code-kit claude plugin install csr-lens@cesarschutz
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

What it hooks into
session.startWhen a session startssession.endWhen a session endscommand.runWhen you run its slash command/lens/inventarioui.pressA Claude Code eventui.focusA Claude Code eventui.closeWhen its pane closestool.callAround a tool call, where it can hold oneagent.spawnWhen a subagent startssession.sendA Claude Code eventturn.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
- Folder
- plugins/csr-lens
- Version
- 1.0.1
- License
- MIT
- Repo stars
- 18
- Last change
- 2026-10-11
- Language
- TypeScript
- Files
- 41