360 Secure SkillHub
360 安全技能中心

Date Tool

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

分类:自动化
dinghaibin
dinghaibin
热度 25.82
最近更新 2026-05-11 17:46:13

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add dinghaibin/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"