sweet-spot
by Patrick Müller · ★ 0 · updated today
0
Hands a long session over, to a fresh one or by compacting, before the context gets too big
Install
/plugin marketplace add muellerei/sweet-spot/plugin install sweet-spot@muellerei-sweet-spotThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.startcommand.runturn.startclassic.SessionStartclassic.PostModelSwitchclassic.PermissionRequestclassic.UserPromptSubmitturn.stepprompt.submittool.callsession.endsession.compactprompt.editui.renderturn.completeclassic.Stop- API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.list$.command.register$.command.run$.env.get$.fs.list$.fs.read$.fs.stat$.model.fork$.process.run$.prompt.fill$.prompt.read$.prompt.submit$.session.compact$.session.cwd$.session.id$.session.surfaces$.session.turns$.session.usage- Draws
AbovePrompt- Can see
classic hooksevery promptevery tool callcompaction- Reach
- level 2 of 3 other: $.prompt.readruns processesdrives Claudewrites the prompt boxreads filesreads env vars
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/muellerei/sweet-spot
- Path in repo
- repository root
- Source commit
8750a53the exact code the scan read- Author
- Patrick Müller @muellerei
- 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.