← Back to Skills Marketplace
changsheng0804

current-time

by changsheng0804 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
117
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install current-time
Description
获取当前时间的工具。返回格式化的日期时间和时区信息。 USE FOR: - "现在几点了", "当前时间" - "今天是几号", "什么日期" - 获取带时区的时间信息
README (SKILL.md)

当前时间工具

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

使用场景

适用

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

快速开始

用户:现在几点了
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

Usage Guidance
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.
Capability Analysis
Type: OpenClaw Skill Name: current-time Version: 1.0.0 The skill is a straightforward utility for retrieving the current system time and date using the standard 'date' command. The instructions in SKILL.md are transparent, align perfectly with the stated purpose, and do not involve any risky behaviors such as network access, file system modification, or data exfiltration.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install current-time
  3. After installation, invoke the skill by name or use /current-time
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of current-time skill. - Quickly retrieves and formats the current date, time, and timezone information. - Supports user queries like “现在几点了”, “当前时间”, and “今天是几号”. - Shows output in a clear format including date, time, and timezone. - Suitable for logging, schedule checking, and displaying time with timezone. - Requires the system "date" command for execution.
Metadata
Slug current-time
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is current-time?

获取当前时间的工具。返回格式化的日期时间和时区信息。 USE FOR: - "现在几点了", "当前时间" - "今天是几号", "什么日期" - 获取带时区的时间信息. It is an AI Agent Skill for Claude Code / OpenClaw, with 117 downloads so far.

How do I install current-time?

Run "/install current-time" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is current-time free?

Yes, current-time is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does current-time support?

current-time is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created current-time?

It is built and maintained by changsheng0804 (@changsheng0804); the current version is v1.0.0.

💬 Comments