Token导航 LogoToken导航TokenDH.com
AI 工具只读github未标认证来源可访问clear审计通过

current-date当前日期

Agent Skill

current-date 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

420

周安装

17

GitHub Stars

61

下载量

132
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:current-date(当前日期)
来源仓库:https://github.com/melodic-software/claude-code-plugins
仓库路径:skills/current-date
安装命令:
npx skills add https://github.com/melodic-software/claude-code-plugins --skill current-date
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/melodic-software/claude-code-plugins --skill current-date

简介

current-date 用于获取精确 UTC 时间戳,确保所有操作具备正确的时间上下文,避免假设误差。

  • 它强制执行 bash 命令而非依赖记忆,输出实际日期字符串供后续流程引用,杜绝 stale 信息干扰。
  • 适用于日志记录、定时任务与审计追踪场景,尤其当模型训练截止日临近时尤为重要。
  • 使用时必须等待命令返回结果,不可跳过执行;输出格式为 ISO 8601 标准,便于程序解析。
  • 安装前需验证 shell 环境可用性,避免权限或路径问题导致命令失败;建议封装为可复用函数。

SKILL.md

Current Date

Get the current UTC date and time to ensure correct temporal context for all operations.

CRITICAL EXECUTION REQUIREMENT

This skill requires COMMAND EXECUTION, not assumption-based answers.

When this skill loads, you MUST:

  1. EXECUTE the bash command shown in Quick Start section below
  2. REPORT the actual command output (not an assumed date)
  3. NEVER state a date from memory or assumptions
  4. NEVER skip execution thinking "I know the date"

Why this matters: This skill exists precisely because date assumptions are unreliable. Model training cutoffs, context issues, and stale information mean assumptions about "today" are frequently wrong. The ONLY reliable source is executing the date command and reporting actual output.

Overview

This skill provides a simple, reliable way to verify the current date and time. It addresses situations where Claude Code or subagents may have incorrect assumptions about the current date due to model training cutoffs.

Why a dedicated skill?

  • Date/time assumptions are unreliable due to model training cutoffs
  • This skill enforces execution-based verification instead of guessing
  • Essential for time-sensitive operations (deadlines, versioning, temporal ordering)

What this skill does NOT do:

  • Time zone conversions
  • Time arithmetic or duration calculations
  • Date parsing or validation

When to Use This Skill

IMPORTANT: This is an execution-only skill. Always run the command; never state dates from memory.

Use this skill when:

  • Starting a new task or conversation
  • Working on time-sensitive operations (deadlines, schedules, versioning)
  • Verifying temporal context before making date-based decisions
  • Correcting date misunderstandings during a conversation
  • Needed by subagents to establish correct date context
  • Creating timestamps or version numbers
  • Writing documentation with "Last Verified" dates

Quick Start

Get current UTC date and time:

date -u +"%Y-%m-%d %H:%M:%S UTC (%A)"

Expected output:

2025-11-09 18:31:10 UTC (Sunday)

Format explanation:

  • 2025-11-09 - ISO 8601 date format (YYYY-MM-DD)
  • 18:31:10 - 24-hour time with seconds (UTC)
  • UTC - Coordinated Universal Time
  • (Sunday) - Day of week

Execution Checklist:

  • Execute the command (don't assume the date)
  • Verify output includes UTC timezone
  • Report actual output (not paraphrased)

Usage Patterns

At Task Start

date -u +"%Y-%m-%d %H:%M:%S UTC (%A)"
# Then proceed with task...

For Documentation

date -u +"%Y-%m-%d"
# Use for "Last Verified" dates

For Timestamps

date -u +"%Y%m%d-%H%M%S"
# Use in filenames

Best Practices

  1. Always use UTC: Avoid timezone confusion
  2. Run at task start: Verify date when beginning time-sensitive work
  3. Share with subagents: Include current UTC date in Task agent prompts
  4. Use ISO 8601 format: Unambiguous, internationally recognized

Reference Loading Guide

Load on demand based on context:

ReferenceWhen to Load
references/platform-alternatives.mdWindows users, PowerShell needed
references/format-reference.mdNeed alternative output formats
references/troubleshooting.mdErrors or issues occur
references/testing/evaluations.mdDuring skill testing or audit
references/testing/model-notes.mdMulti-model testing

Version History

  • v1.3.0 (2025-11-25): Refactored to hub + references architecture

- Extracted platform alternatives, format reference, troubleshooting to references/ - Extracted evaluations and model testing notes to references/testing/ - SKILL.md reduced from ~420 lines to ~140 lines (67% reduction)

  • v1.2.0 (2025-11-19): Added Table of Contents, enhanced Overview
  • v1.1.1 (2025-11-17): Added evaluations, multi-model testing notes
  • v1.1.0 (2025-11-17): Added PowerShell alternatives, cross-platform docs
  • v1.0.1 (2025-11-12): Added action verbs to description
  • v1.0.0 (2025-11-09): Initial release

Last Updated

Date: 2025-11-28 Model: claude-opus-4-5-20251101

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Antigravity

27.02%
按下载量换算36

trae

21.65%
按下载量换算29

windsurf

18.11%
按下载量换算24

Claude Code

13.05%
按下载量换算17

Codex

6.77%
按下载量换算9

Gemini CLI

3.29%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills