Agent Skills
› shanraisshan/claude-code-best-practice
› time-fetcher
time-fetcher
GitHub获取迪拜当前时间的工具,通过bash命令查询Asia/Dubai时区时间,支持返回具体时间、时区信息及格式化字符串。
Trigger Scenarios
需要获取迪拜当地时间
处理与迪拜相关的时区转换
Install
npx skills add shanraisshan/claude-code-best-practice --skill time-fetcher -g -y
SKILL.md
Frontmatter
{
"name": "time-fetcher",
"description": "Instructions for fetching current Dubai time via bash command",
"user-invocable": false
}
Dubai Time Fetcher
Command
TZ='Asia/Dubai' date '+%Y-%m-%d %H:%M:%S %Z'
Expected Output Format
YYYY-MM-DD HH:MM:SS +04 (Gulf Standard Time)
Timezone Details
- Timezone: Asia/Dubai
- Offset: UTC+4
- Abbreviation: GST (Gulf Standard Time)
- Dubai does not observe daylight saving time
Return Format
Provide the following fields:
time: Just the time portion (HH:MM:SS)timezone: "GST (UTC+4)"formatted: The full output string from the command
Version History
- 8335ca8 Current 2026-07-25 04:18


