Token导航 LogoToken导航TokenDH.com
效率只读clawhub未标认证来源可访问clear审计通过

truetimetruetime 效率

Agent Skill

truetime 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

23,464

周安装

968

GitHub Stars

2

下载量

7,667
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:truetime(truetime 效率)
来源仓库:https://github.com/cccat6/truetime
安装命令:
openclaw skills install truetime
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install truetime

简介

实现跨时区、UTC 与 NTP 时间源的精准调度与提醒功能。

  • 适合需要协调全球团队会议或定时任务触发的应用场景。
  • 自动同步服务器时钟并补偿网络延迟误差。truetime 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 依赖互联网连接获取权威时间基准,离线状态下精度受限。
  • 可设置重复事件与动态偏移量满足复杂排程需求。

SKILL.md

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.

TrueTime

Use this skill to avoid time mistakes caused by stale examples, wrong units, timezone drift, or DST confusion.

Non-Negotiable Rules

  • Treat user-provided duration values as authoritative.
  • Never copy numeric values from examples into real execution.
  • Read current time from the runtime clock before calculating.
  • Compute canonical target time in UTC first.
  • Convert for display second (server timezone, user timezone, other timezone).
  • Ask for clarification when timezone context is missing and outcome can change.

Required Workflow

  1. Extract timing intent exactly.

- Capture literal phrase, value, unit, timezone hint, and target date/time. - Keep the original requested value unchanged (for example 1 minute stays 1 minute).

  1. Read current real time.

- 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

  1. Parse the expression into one precise delta or one precise absolute timestamp.
  2. Compute UTC target first.
  3. Convert UTC target to server/user/other requested timezone for presentation.
  4. Verify the result before execution.

- Confirm target_utc - now_utc equals requested delta. - Confirm timezone offset conversion is consistent.

  1. Execute schedules using UTC unless the target scheduler explicitly needs local timezone.
  2. Report both absolute and relative interpretation in the final response.

Relative Time Guardrails

  • Accept explicit units only:

- 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

  • Reject ambiguous units instead of guessing.
  • All units support decimal values, including calendar units.

- 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.

  • Fixed-unit decimals are computed to millisecond precision.
  • Calendar-unit policy:

- 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).

  • Keep verification examples explicit:

- 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

Absolute Time Guardrails

  • Prefer IANA timezone names (Asia/Shanghai, America/Los_Angeles, UTC).
  • Avoid ambiguous abbreviations (CST, IST) unless user confirms meaning.
  • If user gives a naive datetime with no timezone, ask once or apply an explicit assumption.
  • For DST transition windows, state that the chosen timezone rules were applied.

Timezone Catalog and Customization

  • List all available runtime timezones:

- node {baseDir}/scripts/true_time.mjs --list-timezones

  • Filter common choices quickly:

- node {baseDir}/scripts/true_time.mjs --list-timezones | rg -i '^(UTC|Asia/(Shanghai|Tokyo|Kolkata)|America/(Los_Angeles|New_York)|Europe/(London|Paris|Berlin))$'

  • User custom timezone:

- Accept any valid IANA timezone from --list-timezones. - Pass user timezone via --user-tz <IANA>. - 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)

DST and Standard-Time Rules

  • Never assume fixed offsets for DST regions (America/*, many Europe/*).
  • Always compute with the actual target date, not "current offset."
  • For DST fall-back overlaps (ambiguous local time), require explicit offset:

- 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.

  • For DST spring-forward gaps (invalid local time), require correction:

- 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).

  • Prefer explicit-offset absolute targets when DST risk is high:

- --target 2026-11-01T01:30:00-07:00 - --target 2026-11-01T01:30:00-08:00

Chinese Lunar Calendar

  • This tool outputs Chinese lunar datetime fields by default:

- lunar_timezone (default Asia/Shanghai, configurable via --lunar-tz) - now_lunar - target_lunar

  • Use these fields when the user asks for Chinese lunar context.
  • For execution/scheduling, still use Gregorian UTC fields as canonical.
  • If a user gives only lunar date text and no Gregorian equivalent, ask for confirmation or a Gregorian target before execution.

Time Source Policy (Server vs NTP)

  • Default time source is server clock (--time-source server).
  • If user explicitly requests "do not use server time", switch to public NTP:

- --time-source ntp

  • Optional NTP controls:

- --ntp-server <host> (repeatable or comma-separated) - --ntp-timeout-ms <ms>

  • NTP mode example:

- node {baseDir}/scripts/true_time.mjs --plus 30m --time-source ntp --ntp-server time.google.com

  • If all NTP servers fail, stop and report failure instead of silently falling back to server time.

Mandatory Integration Points

Use TrueTime calculations before any of the following:

  • Cron operations (cron add, cron update, cron wake, cron run) when time or schedule is involved.
  • Calendar operations (create/update events, convert invite times, multi-timezone meeting planning).
  • Reminder operations (in X minutes/hours, tomorrow at HH:mm, next weekday, repeating reminders).
  • Planning tasks that include ETA, deadline conversion, or cross-timezone commitments.

Server Execution Policy

  • Persist canonical time as UTC (target_utc_iso and optionally epoch seconds).
  • Include human-facing fields for user timezone and server timezone.
  • If the scheduler supports timezone-aware execution, pass timezone explicitly.
  • If the scheduler only accepts UTC, keep execution in UTC and show converted local preview.
  • Runtime note: this skill's helper script uses Node (node .../true_time.mjs).
  • Sandbox note: default openclaw-sandbox:bookworm-slim may not include Node; use openclaw-sandbox-common:bookworm-slim or install Node in agents.defaults.sandbox.docker.setupCommand.

High-Frequency Examples

Relative calculations:

  • Beijing time, 1 minute later:

- node {baseDir}/scripts/true_time.mjs --plus 1m --user-tz Asia/Shanghai

  • Beijing time, 1.5 minutes later:

- node {baseDir}/scripts/true_time.mjs --plus 1.5m --user-tz Asia/Shanghai

  • Tokyo time, 250.5 milliseconds later:

- node {baseDir}/scripts/true_time.mjs --plus 250.5ms --user-tz Asia/Tokyo

  • Tokyo time, 90 minutes later:

- node {baseDir}/scripts/true_time.mjs --plus 1h30m --user-tz Asia/Tokyo

  • US West time, 2 hours later:

- node {baseDir}/scripts/true_time.mjs --plus 2h --user-tz America/Los_Angeles

  • US East time, 45 minutes later:

- node {baseDir}/scripts/true_time.mjs --plus 45m --user-tz America/New_York

  • India time, 1 day later:

- node {baseDir}/scripts/true_time.mjs --plus 1d --user-tz Asia/Kolkata

  • US Central, 1 month later:

- node {baseDir}/scripts/true_time.mjs --plus 1month --user-tz America/Chicago --calendar-tz America/Chicago

  • US Central, 1.5 months later:

- node {baseDir}/scripts/true_time.mjs --plus 1.5month --user-tz America/Chicago --calendar-tz America/Chicago

  • US Mountain, 1 year later:

- node {baseDir}/scripts/true_time.mjs --plus 1year --user-tz America/Denver --calendar-tz America/Denver

  • US Mountain, 0.1 years later:

- node {baseDir}/scripts/true_time.mjs --plus 0.1year --user-tz America/Denver --calendar-tz America/Denver

  • Hawaii, 1 decade later:

- node {baseDir}/scripts/true_time.mjs --plus 1decade --user-tz Pacific/Honolulu --calendar-tz Pacific/Honolulu

  • Hawaii, 0.5 decades later:

- node {baseDir}/scripts/true_time.mjs --plus 0.5decade --user-tz Pacific/Honolulu --calendar-tz Pacific/Honolulu

  • UTC, 1 century later:

- node {baseDir}/scripts/true_time.mjs --plus 1century --user-tz UTC --calendar-tz UTC

  • UTC, 0.01 centuries later:

- node {baseDir}/scripts/true_time.mjs --plus 0.01century --user-tz UTC --calendar-tz UTC

Absolute and cross-timezone calculations:

  • Beijing local absolute time:

- node {baseDir}/scripts/true_time.mjs --target 2026-02-18T09:00:00 --target-tz Asia/Shanghai --user-tz Asia/Shanghai

  • London meeting shown to US East:

- node {baseDir}/scripts/true_time.mjs --target 2026-05-20T14:00:00 --target-tz Europe/London --user-tz America/New_York

  • UTC target shown to Europe/Berlin:

- node {baseDir}/scripts/true_time.mjs --target 2026-04-15T16:00:00Z --user-tz Europe/Berlin

  • DST ambiguity resolved by explicit offset:

- node {baseDir}/scripts/true_time.mjs --target 2026-11-01T01:30:00-07:00 --user-tz America/Los_Angeles - node {baseDir}/scripts/true_time.mjs --target 2026-11-01T01:30:00-08:00 --user-tz America/Los_Angeles

  • NTP-based reminder time:

- node {baseDir}/scripts/true_time.mjs --plus 15m --time-source ntp --user-tz Asia/Shanghai

Output Contract

When sending or scheduling time-sensitive actions, always include:

  • now_utc
  • target_utc
  • target_user_tz (if known)
  • target_server_tz
  • delta_milliseconds
  • delta_seconds
  • time_source (server | ntp | override)
  • ntp_server (when time_source=ntp)
  • now_lunar
  • target_lunar
  • assumptions (if any)

Do not continue with execution when any required field is unknown and may change the target time materially.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.85%
按下载量换算5,969

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills