hacksurvivor/claude-mods/tree/main/mods/clock

A Claude Code mod that quietly adds your local date, weekday and week ranges to every prompt, and flags replies whose dates miss the period you asked about.
hacksurvivor/claude-mods/tree/main/mods/clock

Clock is a Claude Code mod (requires 2.1.286+) that injects your local date, time and weekday, along with computed ranges for yesterday, this week, last week, this month and last month, into every prompt so Claude never guesses dates. If a reply's dates miss the period you asked about, a line under the reply says so. On weekends, "last week" refers to the work week that just ended. You can list other cities/timezones per folder in ~/.claude/clock/markets.json to include their local times in that folder's brief. The mod reads your clock/timezone, prompt, session folder and markets.json, sends nothing itself, and keeps the last 20 flags in memory per session. Install via /plugin marketplace add hacksurvivor/claude-mods, then /plugin install clock@hacksurvivor and /reload-plugins. Licensed Apache-2.0.
Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.
claude plugin marketplace add hacksurvivor/claude-mods claude plugin install clock
A Claude Code mod that ends wrong dates. Every prompt quietly carries your local date, time and weekday, with yesterday, this week, last week, this month and last month worked out, so Claude never guesses them. When you ask about a period and the reply's dates miss it, a line under the reply says so.

On a weekend, "last week" means the work week that just ended. Claude is also told to keep city and timezone names out of titles, labels and file names unless you ask.
If your work depends on the time somewhere else, list those places per folder in ~/.claude/clock/markets.json, and their local times join the brief in that folder:
[{ "folder": "/shop-app", "markets": [
{ "label": "US", "place": "New York", "zone": "America/New_York" },
{ "label": "Czechia", "place": "Prague", "zone": "Europe/Prague" }
] }]
Claude Code 2.1.286 or later (mods). The line under a reply is drawn in the Claude desktop app and in the terminal.
In Claude Code:
/plugin marketplace add hacksurvivor/claude-mods
/plugin install clock@hacksurvivor
/reload-plugins
~/.claude/clock/markets.json.See PRIVACY.md.
Apache-2.0