360 Secure SkillHub
360 安全技能中心

Date Tool

该 Skill 提供名为 date-tool 的命令行日期时间工具,可按自定义格式输出当前日期、时间和 Unix 时间戳,并声称支持时区转换与日期差值计算。文件包含 SKILL.md 与 scripts/date.py,依赖 bash、python3 及系统 date 命令,推测在本地运行,不涉及外部服务。

dinghaibin
dinghaibin
热度 33.17
最近更新 2026-05-11 17:46:13
分类:自动化依赖:代码执行应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add date-tool
Metadata
name
date-tool
description
Display and format date and time values from the command line. Use when you need to get the current date, format timestamps, or calculate date differences.

Date Tool - Date and Time Utilities

Display current date/time in various formats, convert between timezones, and perform date arithmetic calculations.

Quick Start

date-tool +"%Y-%m-%d %H:%M:%S"

Features

  • Display current date/time in custom formats
  • Convert between timezones
  • Calculate date differences
  • Parse timestamps from various formats

Examples

# Current date in ISO format
date-tool +"%Y-%m-%d"

# Current time in 24-hour format
date-tool +"%H:%M:%S"

# Unix timestamp
date-tool +"%s"