lens

by Dominic Lee · ★ 3 · updated 25 days ago

PanesReskinsGuardsCommandsPromptTools & agentswarnings

0

Langfuse-lite for Claude Code — records load, usage, cache hits, turn scores and cost per session; /lens pane and prompt line; lens-review skill

install lens

Install

/plugin marketplace add Dominic-DK/harnist
/plugin install lens@harnist

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
tool.callsession.startsession.endcommand.runprompt.sectionprompt.composeprompt.attachmentskill.promptagent.spawntool.checkturn.startsession.compactturn.stepturn.completesession.measureui.render
API calls
$.agent.list$.clock.every$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.fs.write$.prompt.submit$.session.cwd$.session.id$.session.model$.session.turns$.session.usage$.session.version$.state.get$.state.set$.store.get$.store.set$.tool.register$.ui.log$.ui.open$.ui.resolve
Draws
PromptHintPane
Can see
mcp__lens__report callsthe system promptevery skillsubagent spawnsevery tool callcompaction
Reach
level 2 of 3 writes filesdrives Claudereads filesreads env varsreads mod statepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Dominic-DK/harnist
Path in repo
lens
Source commit
b09614c the exact code the scan read
Author
Dominic Lee @Dominic-DK
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from Dominic-DK/harnist

runtime

Dominic-DK/harnist

harnist runtime mod — per-role subagent loading: trims skill list, MCP notes and CLAUDE.md per subagent type, enforces spawn rules and tool bans

★ 3GuardsCommandsPrompt