{"repo":"kyl-coding/claude-session-saver","free":true,"listed":false,"github":"https://github.com/kyl-coding/claude-session-saver","clone":"git clone https://github.com/kyl-coding/claude-session-saver.git","description":"Never lose your Claude Code session. A macOS launchd agent that pings Claude every 4 hours to prevent the 5-hour quota window from expiring.","language":"Shell","stars":10,"topics":["anthropic","claude","claude-code","keep-alive","launchd","macos","productivity","shell","claude-session","quota"],"license":"MIT","category":"cli-tools","readme_excerpt":"claude-session-saver Get the most out of your Claude Code subscription. Automatically activates each new 5-hour token window the moment it opens — so you always have fresh tokens ready, without thinking about it. Why? Claude Code (Pro, Max, Max 5x, Max 20x) allocates tokens in rolling 5-hour windows . Once you exhaust a window, you wait for the next one to open before you get more tokens. The catch: a new window only opens after 5 hours have passed since your last usage . If you're not actively using Claude, that clock isn't ticking — meaning you could be sitting idle between windows longer than necessary. claude-session-saver pings Claude every 4 hours in the background, ensuring each new token window is activated as soon as it's available. More windows per day = more tokens = more value from your subscription. How it works A launchd agent runs the following command every 4 hours: Haiku is the fastest and cheapest Claude model — each ping completes in under 3 seconds. The haiku alias always resolves to the latest Haiku version automatically. Requirements - macOS - Claude Code installed and authenticated (Pro, Max, Max 5x, or Max 20x plan) Install The installer will: 1. Verify that claude is installed and reachable 2. Copy claude-keep-alive.sh to /.local/bin/ 3. Generate a launchd plist at /Library/LaunchAgents/com.user.claude.keepalive.plist 4. Load the agent immediately (first ping fires right away via RunAtLoad ) Example output: Logs Status & management Uninstall The unins","default_branch":null,"files":null,"tree":[],"storefront":"/r/kyl-coding","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kyl-coding/claude-session-saver/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}