Agent Bedtime — Development skill for Claude Code
Claude Code hook that reminds you to go to bed.
How to install Agent Bedtime
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ElleNajt/agent-bedtime and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Bedtime does
Claude Code hook that reminds you to go to bed.
Alternatives in Development
- Hookify — Rule-based hook system for Claude Code 14k ★
- Claude Code Prompt Improver — Intelligent prompt improver hook for Claude Code 1.3k ★
- /install-hook - Install Generated Hook To Settings — Install a generated hook to Claude Code settings (user-level or project-level) 618 ★
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
Download Encode
Download ENCODE files (BED, FASTQ, BAM, bigWig) with MD5 verification
Bed
Grind through beads in priority order non-stop, unattended
Taskmaster
Stop hook for Claude Code that keeps the agent working until all plans and user requests are 100% complete
Nonstop
Autonomous work mode for Claude Code. Pre-flight risk assessment, blocker decision framework, session-scoped s
Stewardship
This document defines the stewardship principles for the Claude Night Market ecosystem. Every plugin, skill, h
Claude Code Boost
Hook utilities for Claude Code with intelligent auto-approval.
Related Agents
Civitai Reuse Review
Reviews a feature segment in the main Civitai Next.js app (src/) for code that was rebuilt when it already exi
Lateral Thinker
Subconscious subagent that surfaces cross-disciplinary structural parallels from the Vestige memory graph. Inv
Review Workflow Consistency
Reviews .claude/ workflow machinery for cross-file consistency: phantom references, mismatched threshold table