Ensure real-time accurate scheduling and planning across UTC, server time, NTP-sourced time, user local time, and arbitrary time zones. Use for timers, remin...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install truetime或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install truetime⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/truetime/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: truetime description: Ensure real-time accurate scheduling and planning across UTC, server time, NTP-sourced time, user local time, and arbitrary time zones. Use for timers, reminders, cron planning, in X minutes or months or years calculations, absolute timestamp conversion, Chinese lunar date awareness, and cross-timezone coordination. Enforce exact duration fidelity so user values are never replaced by example values, compute target times in UTC first, and verify deltas before execution. ---
Use this skill to avoid time mistakes caused by stale examples, wrong units, timezone drift, or DST confusion.
- Capture literal phrase, value, unit, timezone hint, and target date/time. - Keep the original requested value unchanged (for example 1 minute stays 1 minute).
- Use the bundled script for deterministic calculations: - Relative: node {baseDir}/scripts/true_time.mjs --plus 1m --user-tz Asia/Shanghai - Relative (calendar units): node {baseDir}/scripts/true_time.mjs --plus 1month2weeks --user-tz America/New_York --calendar-tz America/New_York - Absolute: node {baseDir}/scripts/true_time.mjs --target 2026-02-17T09:30:00 --target-tz Asia/Shanghai --user-tz America/Los_Angeles - NTP time source: node {baseDir}/scripts/true_time.mjs --plus 1h --time-source ntp
- Confirm target_utc - now_utc equals requested delta. - Confirm timezone offset conversion is consistent.
- milliseconds: ms, msec, msecs, millisecond, milliseconds - seconds: s, sec, second, seconds - minutes: m, min, minute, minutes - hours: h, hr, hour, hours - days: d, day, days - weeks: w, week, weeks - months: mo, mon, month, months - years: y, yr, year, years - decades: decade, decades - centuries: century, centuries
- Examples: 1.5m, 0.25h, 2.5day, 250.5ms, 1.5month, 0.1year, 0.5decade, 0.01century. - Decimal separator . is preferred; , is accepted as input and normalized.
- month/year/decade/century are calendar-aware, not fixed seconds. - Calendar arithmetic uses --calendar-tz (fallback: user timezone -> server timezone). - Decimal calendar values are split into integer and fractional parts. - Integer months use calendar shift; fractional months use the shifted month length to compute milliseconds. - End-of-month handling clamps to the last valid day (for example Jan 31 + 1 month -> Feb 28/29).
- 1.5m = 90s - 250ms = 0.25s - 1m = 60s - 1h30m = 5400s - 2d = 172800s - 1.5year = 18 months - 1decade = 10 years - 0.5decade = 5 years - 1century = 100 years - 0.01century = 1 year
Asia/Shanghai, America/Los_Angeles, UTC).CST, IST) unless user confirms meaning. - node {baseDir}/scripts/true_time.mjs --list-timezones
- node {baseDir}/scripts/true_time.mjs --list-timezones | rg -i '^(UTC|Asia/(Shanghai|Tokyo|Kolkata)|America/(Los_Angeles|New_York)|Europe/(London|Paris|Berlin))$'
- Accept any valid IANA timezone from --list-timezones. - Pass user timezone via --user-tz . - If user timezone is unknown, ask before executing time-sensitive actions.
Common timezones to use in examples and user-facing confirmations:
UTC (no DST)Asia/Shanghai (Beijing time, UTC+08:00, no DST)Asia/Tokyo (Tokyo time, UTC+09:00, no DST)Asia/Kolkata (India time, UTC+05:30, no DST)America/Los_Angeles (US West: PST UTC-08:00 / PDT UTC-07:00, DST applies)America/New_York (US East: EST UTC-05:00 / EDT UTC-04:00, DST applies)America/Chicago (US Central: CST UTC-06:00 / CDT UTC-05:00, DST applies)America/Denver (US Mountain: MST UTC-07:00 / MDT UTC-06:00, DST applies)America/Phoenix (Arizona: MST UTC-07:00, typically no DST)America/Anchorage (Alaska: AKST UTC-09:00 / AKDT UTC-08:00, DST applies)Pacific/Honolulu (Hawaii: HST UTC-10:00, no DST)Europe/London (UK: GMT UTC+00:00 / BST UTC+01:00, DST applies)Europe/Paris (CET UTC+01:00 / CEST UTC+02:00, DST applies)Europe/Berlin (CET UTC+01:00 / CEST UTC+02:00, DST applies)Europe/Amsterdam (CET UTC+01:00 / CEST UTC+02:00, DST applies)America/, many Europe/). - 2026-11-01T01:30:00 in America/Los_Angeles is ambiguous. - Ask user to choose -07:00 (before fallback) or -08:00 (after fallback), or provide explicit offset in --target.
- 2026-03-08T02:30:00 in America/Los_Angeles does not exist. - Ask user to use a valid local time (for example 01:30 or 03:30).
- --target 2026-11-01T01:30:00-07:00 - --target 2026-11-01T01:30:00-08:00
- lunar_timezone (default Asia/Shanghai, configurable via --lunar-tz) - now_lunar - target_lunar
--time-source server). - --time-source ntp
- --ntp-server (repeatable or comma-separated) - --ntp-timeout-ms
- node {baseDir}/scripts/true_time.mjs --plus 30m --time-source ntp --ntp-server time.google.com
Use TrueTime calculations before any of the following:
...
安装 TrueTime 后,可以对 AI 说这些话来触发它
Help me get started with TrueTime
Explains what TrueTime does, walks through the setup, and runs a quick demo based on your current project
Use TrueTime to ensure real-time accurate scheduling and planning across UTC, serve...
Invokes TrueTime with the right parameters and returns the result directly in the conversation
What can I do with TrueTime in my product manager workflow?
Lists the top use cases for TrueTime, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/truetime/ 目录(个人级,所有项目可用),或 .claude/skills/truetime/(项目级)。重启 AI 客户端后,用 /truetime 主动调用,或让 AI 根据上下文自动发现并使用。
TrueTime 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
TrueTime 可免费安装使用。请查阅仓库了解许可证信息。
Ensure real-time accurate scheduling and planning across UTC, server time, NTP-sourced time, user local time, and arbitrary time zones. Use for timers, remin...
TrueTime 属于「Product Manager」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my product manager tasks using TrueTime
Identifies repetitive steps in your workflow and sets up TrueTime to handle them automatically