Token导航 LogoToken导航TokenDH.com
效率执行命令clawhub未标认证来源可访问clear审计提醒

agent-timezone-lockAgent 时区锁定

Agent Skill

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

总安装

2,645

周安装

107

GitHub Stars

公开资料未说明

下载量

830
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install agent-timezone-lock

简介

Agent Timezone Lock 防止 OpenClaw 代理错误报告 UTC 时间为本地时间。

  • 解决常见的时间显示不一致问题,提升代理可信度。
  • 适用于跨时区协作或对时间精度要求高的应用场景。
  • 安装后需验证系统时区设置是否正确生效。agent-timezone-lock 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 建议与其他时间敏感工具联动检查一致性。

SKILL.md

name
agent-timezone-lock
description
Stops your OpenClaw agent from reporting the wrong time. Prevents the common UTC-as-local mistake that makes agents look broken. Install this if your agent has ever said the wrong time, confused UTC with local time, or if you want all times reported in your local timezone automatically. Triggers on: what time is it, wrong time, wrong timezone, UTC, local time, set my timezone, or any heartbeat where time accuracy matters.

Timezone Enforcement Skill

Enforces correct local-time awareness for this agent. Prevents the classic UTC-as-local mistake.

What This Skill Does

When installed, this skill:

  1. Reads the user timezone from USER.md (Timezone: field)
  2. Ensures timezone is applied when the agent calls now.py for time output
  3. Provides /timezone command for users to check/set timezone
  4. Validates that the agent never reports UTC time as local time
  5. Patches AGENTS.md with standing timezone instructions

Prerequisites — Required Before Install

USER.md must contain a timezone field in this exact format: Timezone: America/New_York

Use a valid IANA timezone string. Examples:

  • America/New_York
  • America/Chicago
  • America/Los_Angeles
  • Europe/London
  • Asia/Tokyo

Do NOT use abbreviations like EST, PST, or free-text like "New York time" — these will fail.

If USER.md does not exist or has no Timezone field, timezone_setup.py will prompt the user to enter one interactively.

Invalid timezone recovery:

  • If the string fails IANA validation, halt and show: "Invalid timezone: [input]. Please provide a valid IANA string e.g. America/New_York"
  • Do not default silently to UTC
  • Do not proceed until a valid string is confirmed

Startup - Run Once on Install

On first use, run: python3 /opt/openclaw/workspace/skills/timezone/scripts/timezone_setup.py

Note: timezone_setup.py requires an interactive shell. For headless or automated environments, pre-populate tz_config.json directly with the IANA string before first run.

This script detects timezone from USER.md, writes TZ_CONFIG to tz_config.json, and patches AGENTS.md. Do not patch AGENTS.md manually until this script has run. It requires a valid tz_config.json first.

Answering What Time Is It

Always run: python3 /opt/openclaw/workspace/skills/timezone/scripts/now.py

Report the output verbatim. Never guess time from internal knowledge. If now.py fails: report the error, ask user to run timezone_setup.py first. Do not guess. If USER.md has no Timezone field: run timezone_setup.py before proceeding. Do not default to UTC silently.

Heartbeat Integration

On every heartbeat where time is mentioned:

  1. Call now.py to get current local time
  2. If any prior message contains a UTC time presented as local time, flag it
  3. If drift over 30 minutes between what agent said and actual time, self-correct

If now.py fails during heartbeat: log the failure, skip time reporting, flag to user at next opportunity.

UTC Trap Detection

If about to output a time, ask: Is this UTC or local?

  • UTC ends in Z, +00:00, or +0000 — convert before reporting
  • Timestamps with no timezone offset at all are ambiguous — treat as UTC and note the assumption to the user
  • Times from APIs, cron, system are usually UTC - always convert
  • Times in USER.md or user messages are usually local - use as-is

/timezone Command

When user types /timezone:

  1. Show current configured timezone and current local time
  2. Offer to change
  3. If changing: run timezone_setup.py with their input
  4. Confirm the change

If tz_config.json does not exist: run timezone_setup.py first.

Standing Rules - patch into AGENTS.md only after timezone_setup.py has run

  • NEVER report UTC time as local time
  • All time output must be in users local timezone
  • When in doubt: run now.py before reporting any time
  • API/cron/system timestamps are UTC - always convert before displaying
  • If now.py fails: flag to user, do not guess

What This Skill Does NOT Do

  • Does NOT automatically intercept all time output — the agent must explicitly call now.py before reporting any time
  • Does NOT self-correct without being triggered — heartbeat integration requires the agent framework to call now.py on schedule
  • Does NOT validate timezone strings at runtime beyond what the system tz database supports
  • Does NOT handle multi-user or multi-timezone environments — one timezone per agent instance
  • Does NOT detect if USER.md has changed since install — if timezone changes, re-run timezone_setup.py manually to sync tz_config.json

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

77.91%
按下载量换算647

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install agent-timezone-lock 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills