跳到正文
cccskills
免费在 GitHub 公开

knowledge-cutoff-awareness

Retrieve the current system date and time to anchor the agent in present reality. Use for questions involving today, current time, recent events, or information newer than the model's training data to prevent knowledge-cutoff errors and fictionalization of real facts.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(3)

  • SKILL.md1.9 KB
  • references/examples.md2.4 KB
  • scripts/get_date.js3.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

knowledge-cutoff-awareness

This skill allows you to get the current date and time, and perform date calculations. It uses the system's date command via a wrapper script to provide consistent current time output.

For when to use this skill, when not to use it, agent instructions, examples, and reliability notes, see references/examples.md.

Usage

Get Current Date/Time

To get the current date and time in ISO 8601 format (recommended for machine parsing):

node scripts/get_date.js
# Output: 2026-02-16T16:55:00+09:00

To get a human-readable format:

node scripts/get_date.js --human
# Output: Mon Feb 16 2026 16:55:00 GMT+0900 (JST)

Relative Dates & Calculations

You can easily calculate relative dates using simple arguments. The output will be in ISO 8601 format by default.

  • Get tomorrow:

    node scripts/get_date.js +1d
    
  • Get date 2 weeks ago:

    node scripts/get_date.js -2w
    
  • Get date 1 month from now:

    node scripts/get_date.js +1m
    
  • Get yesterday (keyword):

    node scripts/get_date.js yesterday
    

Supported units: d (days), w (weeks), m (months), y (years).

Help

To see all available options:

node scripts/get_date.js --help

Limitations

  • System Time Dependency: This skill relies on the underlying system time. If the system clock is incorrect, the output will be incorrect.
  • Timezone: The ISO 8601 output includes the local timezone offset of the machine running the script.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

プロジェクトの構造インデックスと依存関係トレースにより、RAG的なコンテキスト取得を実現するスキル

中文简介正在准备中。当前显示原文说明。

imkohenauser/antigravity-starter-ja112026年3月11日 更新

查看 imkohenauser 的全部技能

报告此技能的问题