temporal-cortex-datetime
由 billylui 提供
Calendar & Scheduling简介
Zero-setup datetime resolution, timezone conversion, and DST-aware math.
描述
该技能的功能
Five offline datetime tools covering timezone conversion, natural language time resolution, duration computation, and DST-aware timestamp adjustment. Runs as a compiled Rust binary installed once via npm; all subsequent executions are fully offline. No API keys, OAuth, or credentials required.
All computation runs locally with zero network access at runtime, so it works reliably in air-gapped environments and never fails due to external API downtime or rate limits.
何时使用
- Finding what time a 2pm New York meeting is in Tokyo
- Resolving 'next Tuesday at 2pm' to an exact RFC 3339 timestamp
- Calculating hours remaining before a deployment or contract deadline
- Adjusting recurring task times correctly across spring-forward and fall-back DST transitions
- Checking whether a city is currently observing daylight saving time
示例工作流
User asks: What time is 2pm New York on March 15 in Tokyo?
- 1
Call get_temporal_context to confirm the user's current timezone and DST status
- 2
Call resolve_datetime with expression '2026-03-15 at 2pm' to produce an RFC 3339 timestamp in New York time
- 3
Call convert_timezone with the resolved timestamp and target_timezone set to 'Asia/Tokyo'
- 4
Return the converted time with the Tokyo UTC offset included
2026-03-16T03:00:00+09:00 — March 16 at 3:00 AM JST
安装
clawhub install billylui/temporal-cortex-datetime运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。