current-time

v1.0.0

获取当前时间的工具。返回格式化的日期时间和时区信息。 USE FOR: - "现在几点了", "当前时间" - "今天是几号", "什么日期" - 获取带时区的时间信息

0· 111·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for changsheng0804/current-time.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "current-time" (changsheng0804/current-time) from ClawHub.
Skill page: https://clawhub.ai/changsheng0804/current-time
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required binaries: date
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install current-time

ClawHub CLI

Package manager switcher

npx clawhub@latest install current-time
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name, description, and declared requirement (date binary) align with the actual behavior: printing the current date/time and timezone using the date command.
Instruction Scope
SKILL.md only instructs running date with format strings. It does not reference other files, environment variables, network endpoints, or collect unrelated data.
Install Mechanism
No install spec or external downloads; this is instruction-only and relies on an existing system binary (date), which is appropriate for the stated purpose.
Credentials
No environment variables, credentials, or config paths are requested — proportional to a simple time utility.
Persistence & Privilege
Skill is not always-enabled and does not request persistent or elevated privileges. Autonomous model invocation is allowed by platform default but is not problematic here given the minimal scope.
Assessment
This skill is simple and appears safe: it runs the local date command to produce formatted time and timezone output and requests no credentials or network access. Before installing, confirm that the agent environment has a standard date binary on PATH and that its timezone settings are correct for your needs. Also be aware the agent will execute a shell command (date) when invoked — if you run agents in restricted environments, ensure executing small local commands is acceptable.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🕐 Clawdis
Binsdate
latestvk97cgh5yxh8y4m0shcb38cv1m184vr6v
111downloads
0stars
1versions
Updated 1w ago
v1.0.0
MIT-0

当前时间工具

快速获取当前日期时间,支持多时区显示。

使用场景

适用

  • 用户询问当前时间
  • 需要时间戳用于日志记录
  • 需要确认日期进行日程安排

快速开始

用户:现在几点了
AI:[执行] → 返回格式化时间

执行流程

  1. 获取系统时间

    date +"%Y年%m月%d日 %H:%M:%S %Z"
    
  2. 格式化输出

    • 日期:YYYY年MM月DD日
    • 时间:HH:MM:SS
    • 时区:显示当前时区

输出格式

当前时间:2026年04月14日 18:05:32 CST

示例

用户:今天星期几?

AI

date +"今天是%Y年%m月%d日,星期%u"

输出:今天是2026年04月14日,星期2

Comments

Loading comments...