cache-weather-and-pause-resume

by Sven Moderow · ★ 1 · updated 9 days ago

PanesBandsGuardsPromptTools & agentswarnings

0

Pause Claude Code and shut down, sleep or hibernate the computer once running work is done or at a set time, across all sessions. Plus a band above the prompt with the prompt-cache countdown, hit rate and bar, keep-warm (on by default) that refreshes the cache before it runs out and says what that saves, context weather with the auto-compact threshold and a forecast, usage limits, a Compact...

install cache-weather-and-pause-resume

Install

git clone https://github.com/DarthSonic/cache-weather-and-pause-resume
claude --plugin-dir ./cache-weather-and-pause-resume

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.startclassic.SessionStartturn.stepsession.measureclassic.Stopturn.startturn.completeclassic.Notificationtool.callclassic.UserPromptSubmitclassic.PostToolUsetool.checkclassic.PermissionRequestsession.endprompt.submitclassic.PostModelSwitchsession.compactui.renderui.press
API calls
$.clock.after$.clock.every$.clock.now$.command.run$.env.get$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.model.fork$.process.run$.prompt.submit$.session.append$.session.compact$.session.cwd$.session.id$.session.model$.session.usage$.state.get$.state.set$.store.set$.tool.register$.ui.log$.ui.notify$.ui.open$.ui.resolve$.ui.toast
Draws
AbovePromptPane
Can see
classic hooksmcp__cache-weather-and-pause-resume__pause_state calls? callsBash|PowerShell callsmcp__cache-weather-and-pause-resume__pause_sessions callsevery tool callevery promptcompaction
Reach
level 2 of 3 runs processeswrites 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/DarthSonic/cache-weather-and-pause-resume
Path in repo
repository root
Source commit
a8c573c the exact code the scan read
Author
Sven Moderow @DarthSonic
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.