skip to content

4 min read

Good morning, Claude: a 7am "hi" that gives me my afternoon back

The plan’s 5-hour window starts at your first message. A 7am automation makes it reset at noon, and hands me a morning briefing on the side.

  • claude code
  • automation
  • limits

I used to hit the Claude limit almost every day. That message, limit reached, back at 2pm, showing up at 11:30am, in the middle of a task.

These days I don’t. The biggest difference came from changing how I use it: fewer agents at the same time, lean context and sessions that don’t balloon. I wrote it all up in Swapping the model didn’t lower my Claude Code bill. This did. If you hit the limit often, start there.

This post is the second trick, for the heavy days: understanding when the limit clock starts counting. And, on the side, getting a morning briefing.

The clock starts at your first “hi”

Claude plan usage limits work in 5-hour windows. The window doesn’t start at midnight or at a fixed time: it starts at the first message you send. Five hours later, usage resets and a new window opens at your next message.

If I show up at 9am and send my first message, my windows fall like this: 9am to 2pm, 2pm to 7pm. Hit the limit at 11:30am? Wait until 2pm.

Now, if something sends a “hi” for me at 7am, while I’m still making coffee:

without First message at 9am

window 1
window 2

limit hit at 11:30am, back at 2pm: 2h30 idle

with Automatic “hi” at 7am

window 1
window 2
window 3

limit hit at 11:30am, back at noon: 30 min idle

workday waiting for the reset

The first window runs from 7am to noon. I only start really using it at 9am, but the clock was already ticking. If I hit the limit at 11:30am, the reset is half an hour away, not two and a half hours. And the afternoon gets a whole window, noon to 5pm.

I didn’t get more usage. I got a reset that lands in the middle of the workday, not after lunch.

The automation: two lines

Claude Code has the -p mode, which sends a message, prints the reply and exits. That’s all you need. I use Haiku, the lightest model, because the goal is just to open the window, not to do work:

#!/usr/bin/env bash
# ~/.local/bin/claude-good-morning — opens the plan's 5h window with a minimal message
mkdir -p ~/.local/state
claude -p "Good morning! Reply only: ok" --model haiku \
  >> ~/.local/state/claude-good-morning.log 2>&1

I have more than one account, so mine loops over all of them:

for dir in ~/.claude ~/.claude-2 ~/.claude-3; do
  [ -d "$dir" ] && CLAUDE_CONFIG_DIR="$dir" claude -p "Good morning! Reply only: ok" --model haiku
done

Now just schedule it for 7am, Monday to Friday.

Linux or macOS, in crontab -e:

0 7 * * 1-5  ~/.local/bin/claude-good-morning

Windows with WSL, which is my case. WSL’s cron only runs while WSL is open, so what does the scheduling is the Windows Task Scheduler. In PowerShell:

$action  = New-ScheduledTaskAction -Execute "wsl.exe" -Argument "-e bash -lc ~/.local/bin/claude-good-morning"
$trigger = New-ScheduledTaskTrigger -Weekly -DaysOfWeek Monday,Tuesday,Wednesday,Thursday,Friday -At 7:00
$config  = New-ScheduledTaskSettingsSet -WakeToRun -StartWhenAvailable
Register-ScheduledTask -TaskName "Claude good morning" -Action $action -Trigger $trigger -Settings $config

-WakeToRun wakes the PC if it’s suspended. -StartWhenAvailable runs it as soon as the machine turns on, in case it was off at 7am. You gain nothing that day, but you don’t lose anything either.

Since you’re sending a message anyway, make it a briefing

An “ok” opens the window. But the 7am message can work for me while I sleep. Instead of “hi”, I ask for a morning briefing and save it to a file I open along with my coffee:

cd ~/my-project && mkdir -p ~/good-morning
claude -p "Build my morning briefing, in short markdown:
1. The 5 most relevant AI and software development news items from the last 24h, one line each, with a link.
2. What changed yesterday in this repository (use git log).
3. A suggestion for where to start today." \
  --model haiku --allowedTools WebSearch "Bash(git log:*)" \
  > ~/good-morning/$(date +%F).md

--allowedTools unlocks only what the briefing needs: searching the web and reading git history. Same effect on the window, and I show up with the news already read and knowing where I left off.

No script: Claude’s own automations

If you don’t want to mess with a scheduler, Claude already has scheduled automations. In Claude Code, the /schedule command creates a routine that runs in the cloud, at the time you pick, even with your computer off. Just describe what you want:

/schedule every weekday at 7am, build my morning briefing: the 5 most relevant
AI news items from the last 24h and what changed yesterday in my repository

The upside is not depending on your PC being on. The downside is that I still don’t know whether the cloud routine counts against the plan’s 5h window the same way a message from me does. On day one, check the usage screen (see below).

The caveats

  • The weekly limit doesn’t change. The trick only changes when the reset happens. Anyone already hitting the weekly limit will keep hitting it.
  • You need to be logged in to the plan. If there’s an ANTHROPIC_API_KEY in the environment, claude -p uses the API and bills per token, without touching the plan’s window.
  • Check on day one. On Claude’s usage screen you can see when the current window resets. If at 9am it shows a reset at noon, it worked.
  • Adjust the time to your day. The math: the time you usually hit the limit, minus 5 hours, a little earlier. If you start at 10am you might prefer the “hi” at 8am.

This is the kind of thing I like: no hacks, no broken rules. Just understanding how the clock works and sending the first message at the right time.

First: use it better. Then: use it at the right time.