context-lab

by jairogelpi · ★ 0 · updated 8 days ago

PanesBandsGuardsCommandsPromptwarnings

0

Context architecture profiler for Claude Code: what context Claude receives, where it comes from, and whether it earns its cost.

install context-lab

Install

/plugin marketplace add EsenssiAromasDev/context-lab
/plugin install context-lab@context-lab

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.startprompt.contextprompt.attachmenttool.callskill.promptagent.spawnsession.measurecommand.runui.render
API calls
$.clock.now$.command.register$.fs.ancestors$.fs.exists$.fs.list$.fs.read$.fs.write$.process.run$.session.root$.session.surfaces$.session.usage$.session.version$.state.get$.state.set$.store.get$.store.set$.ui.log$.ui.open$.ui.resolve$.ui.statu
Draws
AbovePromptPane
Can see
the system promptRead callsevery skillsubagent spawns
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processeswrites filesreads filespersists 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/EsenssiAromasDev/context-lab
Path in repo
repository root
Source commit
9837e1f the exact code the scan read
Author
jairogelpi @EsenssiAromasDev
License
No license declared — ask the author before reusing code.
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.