[{"data":1,"prerenderedAt":265},["ShallowReactive",2],{"project-\u002Fprojects\u002Fusage-window-starter":3,"related-usage-window-starter":227,"news-usage-window-starter":228,"more-usage-window-starter":233},{"id":4,"title":5,"body":6,"coverLabel":206,"description":207,"detailImage":206,"extension":208,"featured":209,"github":210,"image":211,"imageFit":206,"links":206,"meta":212,"navigation":213,"order":214,"path":215,"platforms":216,"seo":217,"stem":218,"tags":219,"tech":222,"url":206,"__hash__":226},"projects\u002Fprojects\u002Fusage-window-starter.md","Usage Window Starter",{"type":7,"value":8,"toc":199},"minimark",[9,14,18,21,25,116,123,129,132,143,172,179,182,186,195],[10,11,13],"h2",{"id":12},"overview","Overview",[15,16,17],"p",{},"Claude Code and Codex subscriptions have a 5-hour usage limit, and the 5 hours only start counting when you send your first message. If the old session resets at 14:47 and you get back to work at 16:30, the new session runs until 21:30, and the time between 14:47 and 16:30 is lost.",[15,19,20],{},"Usage Window Starter sits in the menu bar and watches both limits. As soon as a session resets, it sends one short message to start the next one, so a new session is always running.",[10,22,24],{"id":23},"what-it-does","What it does",[26,27,28,49,59,65,71,89,106],"ul",{},[29,30,31,35,36,40,41,44,45,48],"li",{},[32,33,34],"strong",{},"Countdowns in the menu bar",": ",[37,38,39],"code",{},"C 4:30 · X 2:18"," is the time left in the Claude and Codex sessions. ",[37,42,43],{},"–"," means a session is idle or it's outside your active hours, and ",[37,46,47],{},"!"," means something went wrong. You can also turn the times off and keep just the icon.",[29,50,51,54,55,58],{},[32,52,53],{},"A panel with the details",": click the icon to see each session's usage and time left, your weekly usage, and a ",[32,56,57],{},"Start"," button when a session is idle.",[29,60,61,64],{},[32,62,63],{},"Starts a new session right after a reset",": it checks on a regular interval, plus once more just after each session's reset time. In practice the next session starts less than a minute after the reset.",[29,66,67,70],{},[32,68,69],{},"Active hours",": it can stay quiet at night. When your hours begin, it checks right away, so both sessions start together.",[29,72,73,76,77,80,81,84,85,88],{},[32,74,75],{},"Official CLIs only",": it checks limits with ",[37,78,79],{},"claude -p \"\u002Fusage\""," and the Codex app server, and sends messages with headless ",[37,82,83],{},"claude -p"," and ",[37,86,87],{},"codex exec",". There are no direct API calls, and it never reads your tokens.",[29,90,91,94,95,98,99,84,102,105],{},[32,92,93],{},"Your choice of model",": the Codex list comes from your installed Codex, so it keeps up with Codex updates. For Claude, the ",[37,96,97],{},"haiku",", ",[37,100,101],{},"sonnet",[37,103,104],{},"opus"," aliases always use the newest model of that family.",[29,107,108,111,112,115],{},[32,109,110],{},"Updates itself",": it checks GitHub for a new version once a day, downloads it in the background, and installs it when you click ",[32,113,114],{},"Install"," in the panel.",[15,117,118],{},[119,120],"img",{"alt":121,"src":122},"The Usage Window Starter panel","\u002Fimg\u002Fscreens\u002Fusage-window-starter-panel.webp",[15,124,125],{},[119,126],{"alt":127,"src":128},"The Usage Window Starter settings window","\u002Fimg\u002Fscreens\u002Fusage-window-starter-settings.webp",[10,130,114],{"id":131},"install",[15,133,134,135,142],{},"Download the DMG from the ",[136,137,141],"a",{"href":138,"rel":139},"https:\u002F\u002Fgithub.com\u002Ffoksa\u002Fusage-window-starter\u002Freleases\u002Flatest",[140],"nofollow","latest release",", open it, and drag the app to Applications. The app isn't signed or notarized yet, so macOS will probably refuse to open it the first time and say it's damaged. To allow it, run this in Terminal once:",[144,145,150],"pre",{"className":146,"code":147,"language":148,"meta":149,"style":149},"language-sh shiki shiki-themes github-light github-dark","xattr -dr com.apple.quarantine \"\u002FApplications\u002FUsage Window Starter.app\"\n","sh","",[37,151,152],{"__ignoreMap":149},[153,154,157,161,165,169],"span",{"class":155,"line":156},"line",1,[153,158,160],{"class":159},"sScJk","xattr",[153,162,164],{"class":163},"sj4cs"," -dr",[153,166,168],{"class":167},"sZZnC"," com.apple.quarantine",[153,170,171],{"class":167}," \"\u002FApplications\u002FUsage Window Starter.app\"\n",[15,173,174,175,178],{},"Then open it and turn on ",[32,176,177],{},"Launch at login"," in Settings. Later versions install from the panel.",[15,180,181],{},"You need Claude Code and\u002For Codex installed and logged in with a subscription.",[10,183,185],{"id":184},"built-with","Built with",[15,187,188,189,194],{},"A Go backend on ",[136,190,193],{"href":191,"rel":192},"https:\u002F\u002Fframework.blackboard.sh\u002Felectrobun\u002F",[140],"Electrobun",". The panel and settings window are plain HTML, CSS and TypeScript in the system WebKit, so there's no bundled Chromium, and the whole app is a 4.4 MB download.",[196,197,198],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":149,"searchDepth":200,"depth":200,"links":201},2,[202,203,204,205],{"id":12,"depth":200,"text":13},{"id":23,"depth":200,"text":24},{"id":131,"depth":200,"text":114},{"id":184,"depth":200,"text":185},null,"A macOS menu bar app that starts your next Claude Code and Codex 5-hour session the moment the old one resets.","md",false,"https:\u002F\u002Fgithub.com\u002Ffoksa\u002Fusage-window-starter","\u002Fimg\u002Fproducts\u002Fusage-window-starter.webp",{},true,4,"\u002Fprojects\u002Fusage-window-starter","macOS",{"title":5,"description":207},"projects\u002Fusage-window-starter",[220,221],"ai","macos",[223,224,225],"go","typescript","electrobun","3MhU7bLYwQrtsE6uex2IV8wjX_xTRiGfpHexfoF3cJk",[],[229],{"path":230,"date":231,"title":232},"\u002Fblog\u002Fusage-window-starter","2026-09-24","Usage Window Starter activates your next Claude and Codex session the minute the old one resets",[234,239,245,250,251,256,260],{"path":235,"title":236,"description":237,"image":238,"imageFit":206,"coverLabel":206},"\u002Fprojects\u002Fcamera-video-converter","Camera Video Converter","Free, offline Android app that turns hard-to-share camera footage into standard 1080p MP4s, right on the phone.","\u002Fimg\u002Fproducts\u002Fcamera-video-converter.webp",{"path":240,"title":241,"description":242,"image":243,"imageFit":244,"coverLabel":149},"\u002Fprojects\u002Fopen-claude-agent-sdk","open-claude-agent-sdk","Drop-in, open-source replacement for @anthropic-ai\u002Fclaude-agent-sdk. Readable TypeScript that runs on the Claude CLI you already have installed.","\u002Fimg\u002Fproducts\u002Fopen-claude-agent-sdk-home.webp","contain",{"path":246,"title":247,"description":248,"image":249,"imageFit":206,"coverLabel":206},"\u002Fprojects\u002Fyoutube-shorts-blocker","YouTube Shorts Blocker","A lightweight Chrome extension that hides YouTube Shorts everywhere and can redirect Shorts links.","\u002Fimg\u002Fproducts\u002Fyoutube-shorts-blocker.webp",{"path":215,"title":5,"description":207,"image":211,"imageFit":206,"coverLabel":206},{"path":252,"title":253,"description":254,"image":255,"imageFit":206,"coverLabel":206},"\u002Fprojects\u002Fsub2utf","sub2utf","Converts subtitle files (.srt) from legacy encodings to UTF-8 so Plex shows č, ć, š, đ and ž correctly.","\u002Fimg\u002Fproducts\u002Fsub2utf.webp",{"path":257,"title":258,"description":259,"image":206,"imageFit":206,"coverLabel":206},"\u002Fprojects\u002Fdocument-iteration-skill","document-iteration-skill","A lightweight markdown syntax for editing documents with Claude: leave feedback inline instead of asking it to regenerate the whole document.",{"path":261,"title":262,"description":263,"image":264,"imageFit":206,"coverLabel":206},"\u002Fprojects\u002Flitrpgvault","LitRPG Vault","A database of LitRPG and Progression Fantasy books: 250+ series with ratings, reading orders and audiobook links.","\u002Fimg\u002Fproducts\u002Flitrpgvault.webp",1790421208928]