agent-lens

by Darvl-52 · ★ 0 · updated 12 days ago

PanesBandsStatus lineGuardsCommandsPromptwarnings

0

Work with the agent in one place: each edit checked against your CLAUDE.md as it is made and each turn's diff reviewed, the branch through lenses (/changes); the OpenSpec change read for you (/spec); the skill each prompt needs loaded for it (/router).

install agent-lens

Install

/plugin marketplace add Darvl-52/agent-lens
/plugin install agent-lens@agent-lens

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
session.startsession.endclassic.SessionStartsession.compactprompt.submitprompt.autocompleteskill.promptturn.startsession.receiveturn.completetool.checktool.callclassic.Stopclassic.SubagentStopcommand.runui.render
API calls
$.agent.list$.agent.spawn$.clock.after$.clock.now$.clock.sleep$.command.list$.command.register$.command.run$.env.get$.fs.ancestors$.fs.exists$.fs.list$.fs.read$.fs.stat$.model.complete$.process.run$.prompt.submit$.session.root$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.keys$.store.set$.ui.focus$.ui.notify$.ui.open$.ui.resolve$.ui.status$.ui.toast
Draws
AbovePromptPane
Can see
classic hookscompactionevery promptevery skillWrite callsEdit callsNotebookEdit callsBash callsevery tool call
Reach
level 2 of 3 runs processesdrives 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/Darvl-52/agent-lens
Path in repo
repository root
Source commit
86545c4 the exact code the scan read
Author
@Darvl-52
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.

Other mods in Panes, close to this one by stars.