Claude Code usage
Claude Session Keeper
claude-session-keeper sends a simple "Hi" message to Claude Code every 5 hours, allowing your rolling clock to reset as early as possible. This can allow you to code a lot more, as if a session starts at 6 am instead of 9 am for example, you can have the same usage in the first session equivalent to 5 hours in just 2.
Install
npm install -g @anthropic-ai/claude-codeFound in the project README. Check it for setup steps after installing.
git clone https://github.com/nomadictuba2005/claude-session-keeper.gitFrom the README
Claude Session Keeper 🤖 Automatically optimize your Claude Code session timing with intelligent scheduling and daily resets. What It Does Claude Code uses fixed 5-hour session windows that start with your first message. This script gives you complete control over when those windows begin: - ✅ 5-Hour Session Optimization - Control exactly when your Claude Code sessions start - ✅ Daily Reset Feature - Fresh sessions every day at your preferred time - ✅ Smart Scheduling - Never waste sessions on random timing - ✅ Minimal Resource Usage - 1 message per window vs 10-800 limit - ✅ 24/7 Operation - Perfect for Raspberry Pi or always-on systems - ✅ Automatic Timezone Detection - Works anywhere in the world How Claude Code Sessions Work Claude Code limits work with fixed 5-hour windows: 1. Window starts with your first message 2. Once you hit your limit (10-800 messages), you're locked out 3. Window expires exactly 5 hours after the first message 4. This script controls when that first message happens 🎯 Without this script: Random session timing based on when you happen to use Claude With this script: Predictable, optimized sessions that align with your schedule 🚀 Features ⏰ Precise Timing Control - Unix timestamp scheduling - Start at exact moments - Resume functionality - Pick up where you left off after restarts - Smart conflict resolution - Daily resets override 5-hour schedules 🌅 Daily Reset Feature - Fresh sessions every day at your chosen time (e.g., 8:00 AM) - Automatic schedule adjustment - 5-hour cycles restart from daily reset - Work-day optimization - Clean slate every morning 🔍 Comprehensive Monitoring - Real-time logging - See exactly what Claude Code is doing - Daily schedule display - Know today's planned check times - Countdown timers - Track…
Details
- Repository
- nomadictuba2005/claude-session-keeper
- Language
- Python
- Last updated
- 25 November 2025
FAQ
What is Claude Session Keeper?
claude-session-keeper sends a simple "Hi" message to Claude Code every 5 hours, allowing your rolling clock to reset as early as possible. This can allow you to code a lot more, as if a session starts at 6 am instead of 9 am for example, you can have the same usage in the first session equivalent to 5 hours in just 2. It is a usage for Claude Code, from nomadictuba2005/claude-session-keeper on GitHub.
How do I install Claude Session Keeper?
Run npm install -g @anthropic-ai/claude-code, then follow the setup in the README.
Is Claude Session Keeper popular?
nomadictuba2005/claude-session-keeper has 33 GitHub stars and 6 forks. It was last updated on 25 November 2025.
More usage & cost trackers
AIUsageMonitor
33ansonliam/AIUsageMonitor
A compact Windows widget for real real time monitoring Codex, Claude Code, Antigravity, and Cursor usage and reset times.
Claude Code Manager
32vishalguptax/claude-code-manager
Claude Code Manager: a VS Code sidebar for Claude Code sessions, usage and limits, accounts, MCP, skills, hooks, agents and plugins. 100% local.
CC Usage
36haishishushu/cc-usage
跨平台 AI 编程助手用量监控桌面应用 | Cross-platform AI coding usage monitor: track Claude / Codex quota, tokens & costs. Data stays local.
Claudestat
34DeibyGS/claudestat
Real-time execution trace and cost intelligence for Claude Code
Llm Usage Metrics
35ayagmar/llm-usage-metrics
Token and cost reports for 17 AI coding agents (Claude Code, Codex, Gemini CLI, OpenCode, Copilot, pi and more), read from local session logs across all your machines
Lupen
33momoraul/Lupen
Itemized cost receipts for Claude Code and Codex — by turn, verified, local.
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.