clocklisted
Install: claude install-skill Stjojaiss/claude-code-clock
# Clock
A `UserPromptSubmit` hook that prints the current local time, timezone and UTC
time. Claude Code injects that stdout into the model context, so the time is
correct on every single prompt instead of being frozen at session start.
## Read the time, do not guess it
The current time is already in the context of this turn. It looks like this:
```
Current local time: Tuesday, 2026-08-04 10:21:45 WEST (UTC+0100) | Timezone: Europe/Lisbon | UTC: 2026-08-04 09:21:45
```
Rules:
1. Answer time questions from that line. Never estimate, never reuse a time
from earlier in the conversation, and never fall back to the date in the
system prompt, which carries no clock and no timezone.
2. If the line is missing, the hook is not installed or not firing. Go to
Troubleshooting instead of guessing.
3. For durations and deadlines, compute from the UTC value and state the
timezone you used. A wrong assumed timezone is the most common source of
an off by one day answer.
4. For other timezones, convert from the UTC value, not from local time.
## Configuration
All settings are environment variables. Put them in the `env` block of
`~/.claude/settings.json` (global) or `.claude/settings.json` (per project):
```json
{
"env": {
"CLAUDE_CLOCK_ZONES": "America/New_York,Asia/Tokyo",
"CLAUDE_CLOCK_FORMAT": "%Y-%m-%d %H:%M %Z",
"CLAUDE_CLOCK_UTC": "0"
}
}
```
| Variable | Effect | Default |
| --- | --- | --- |
| `CLAUDE_CLOCK_FORMAT` | strftime format for the loc