Agent Bedtime
Description
Claude Code hook that reminds you to go to bed
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
agent-bedtime
Claude Code hook that reminds you to go to bed. Every message you send past bedtime, Claude gets told to remind you to wrap up and go to sleep.

How it works
A `UserPromptSubmit` hook that fires on every message you send. If the current time is past bedtime, it injects a bedtime reminder into Claude's context via stdout (exit 0). Claude sees it and reminds you naturally.
Each prompt during bedtime is logged as a violation to `~/.agent-bedtime/violations`. As violations accumulate, the hook instructs Claude to get progressively more annoying:
| Violations | Tone |
|---|---|
| 1 | Gentle reminder |
| 2-3 | Firm, mildly disappointed |
| 4-5 | Persistent and direct, keeps responses short, won't engage with new work |
| 6+ | Maximally stubborn, extremely brief, enthusiastically sells you on how great sleep is |
Violations are automatically cleared once wakeup time passes the next day. On clearing, a summary row is appended to `~/.agent-bedtime/history.csv`:
date,violations,first_violation,last_violation
2026-02-21,14,2026-02-21 23:57:01,2026-02-22 00:41:30
Install
Add to `~/.claude/settings.json`:
{
"hooks": {
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "~/code/tools/agent-bedtime/bedtime-hook"
}
]
}
]
}
}
Config
Create `~/.config/agent-bedtime` (required):
BEDTIME=23:00
WAKEUP=06:00
Optionally, add a `CONTEXT` line with extra motivation. This gets included in the hook message, giving Claude more to work with:
CONTEXT="The user has a 7am meeting tomorrow. They're working on a sleep consistency goal this month."
Changes take effect immediately — the file is sourced on every hook invocation, so no restart needed.
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11