zero-dependency time awareness for Claude Code. Injects a throttled [⏱ time] block on user prompt and on compaction. No more "good morning" when it's already 8pm and you are still in the office. A developer created a zero-dependency Python script that injects a throttled time-awareness block into Claude Code prompts, preventing the AI from greeting users with "good morning" when it is actually 8 PM. The script hooks into both UserPromptSubmit and SessionStart events, tracking session age and local time, and re-injects the time block after conversation compaction. Users configure the tool by pointing two hook events in their Claude settings.json to the temporal.py script. | /usr/bin/env python3 | | | """ | | | temporal.py — zero-dep time awareness for Claude Code. | | | Injects a throttled ⏱ time block on UserPromptSubmit, and re-injects | | | right after a compaction via SessionStart source=compact . | | | State: ~/.claude/.temporal/