system-time

Provides current system time, detailed time info, time differences, supports multiple formats and global timezones.

MIT-0 · Free to use, modify, and redistribute. No attribution required.
2 · 994 · 2 current installs · 2 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/README/SKILL.md describe a time utility and the included code implements exactly three tools (get_current_time, get_time_info, calculate_time_diff). Required binaries, env vars, and config paths are none, which is proportional. Minor metadata inconsistencies exist (registry description missing; package.json version 0.1.0 vs registry version 1.0.0; package.json author set to "Your Name" while SKILL.md lists Qzy05231) but these are bookkeeping issues, not functional mismatches.
Instruction Scope
SKILL.md and the code limit behavior to reading the system clock, formatting times, optional timezone conversion via toLocaleString, and computing diffs. There are no instructions to read arbitrary files, access other system state, or transmit data to external endpoints. Timezone conversion uses the runtime's locale/ICU behavior (this may vary across hosts), but that is expected for a time tool.
Install Mechanism
There is no automated install spec in the registry (instruction-only). The package includes Node.js code and a package.json with a dependency on @modelcontextprotocol/sdk — running it will typically require running npm install/build. This pulls packages from the npm registry (standard practice). No arbitrary external download URLs or archive extraction are present in the manifest.
Credentials
The skill requests no environment variables, credentials, or config paths. Its runtime behavior does not access secrets or unrelated environment variables. Proportionality is appropriate for a local time utility.
Persistence & Privilege
always is false and the skill does not request elevated or persistent system-wide privileges. It runs as an MCP server over stdio (expected). Autonomous invocation is permitted by default on the platform but the skill does not combine that with broad credential access or other elevated capabilities.
Assessment
This skill appears coherent and limited to local time functionality. Before installing, consider: 1) it is Node.js code — run npm install in a controlled environment (or inspect package-lock.json) so @modelcontextprotocol/sdk is fetched from npm; 2) you can run it in a sandbox/container to verify behavior (it only reads system time and formats it); 3) small metadata inconsistencies (version and author fields) are harmless but worth noting; 4) timezone formatting relies on the host's locale/ICU support so results may vary across systems. If you need stricter assurance, review the dependency @modelcontextprotocol/sdk source or run the skill in an isolated environment.

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

Current versionv1.0.0
Download zip
latestvk974bzq9568paz2rz995t5eb05813wmz

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

SKILL.md

System Time

获取系统当前时间的 MCP Skill,支持多种格式和时区。

描述

这是一个功能强大的时间工具 Skill,可以准确获取系统时间、提供详细的时间信息,以及计算时间差。

功能特性

🕐 多种时间格式

  • ISO 8601 标准格式
  • 日期格式 (YYYY-MM-DD)
  • 时间格式 (HH:MM:SS)
  • 完整中文格式 (2026年02月13日 星期五 08:06:54)
  • Unix 时间戳
  • 详细格式(包含毫秒)

🌍 时区支持

支持全球各地时区转换,如:

  • Asia/Shanghai (中国)
  • America/New_York (美国东部)
  • Europe/London (英国)
  • 等等...

⏱️ 时间计算

计算两个时间点之间的差值,支持:

  • 天、小时、分钟、秒
  • 自动转换多种单位
  • 支持 ISO 格式和时间戳输入

工具列表

get_current_time

获取当前系统时间

参数:

  • format (可选): 时间格式
    • iso - ISO 8601 格式
    • date - 仅日期
    • time - 仅时间
    • datetime - 日期时间
    • full - 完整中文
    • timestamp - Unix 时间戳
    • detailed - 详细中文
  • timezone (可选): 时区,如 "Asia/Shanghai"

示例:

获取当前时间(完整中文格式)
获取东京时间

get_time_info

获取详细的时间信息

返回:

  • 年、月、日
  • 星期几
  • 时、分、秒、毫秒
  • 时间戳
  • ISO 格式
  • 本地时间和 UTC 时间

示例:

显示详细时间信息

calculate_time_diff

计算时间差

参数:

  • start_time (必需): 开始时间(ISO 格式或时间戳)
  • end_time (可选): 结束时间,默认为当前时间

示例:

计算从 2026-01-01 到现在过了多久
计算两个时间的差值

使用场景

  • 📅 获取当前日期和时间
  • ⏰ 设置提醒和定时任务
  • 🌏 跨时区时间转换
  • ⏱️ 计算时间间隔
  • 📊 时间数据分析
  • 🔔 时间戳转换

技术栈

  • Node.js
  • TypeScript
  • @modelcontextprotocol/sdk

作者

Qzy05231

许可证

MIT

Files

10 total
Select a file
Select a file to preview.

Comments

Loading comments…