← Back to Skills Marketplace
rain-lei

date-count

by rain-lei · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
247
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install date-count
Description
倒计日期以更好安排你的日程.
README (SKILL.md)

倒计日

No other things just markdown and json

  • 技能名称:countdown_skill
  • 核心定位:纯JSON存储的轻量倒计日工具,无代码、无数据库,仅靠配置文件管理倒计时
  • 适用场景:记录生日、节日、纪念日、 deadlines,快速查询剩余天数
  • emoji 标识:⏳

核心功能

  1. 查询单条倒计日:输入名称,查看距离目标日期的剩余/已过天数
  2. 查看全部倒计日:批量展示所有已存倒计时及天数状态
  3. 手动维护数据:直接编辑JSON文件,新增/修改/删除倒计日

数据存储说明

唯一存储文件~/.openclaw/skills/countdown_skill/countdown.json

该文件为纯文本JSON格式,无需手动创建,首次使用自动生成;也可直接手动编辑维护。

JSON标准格式(必填)

{
  "倒计日名称1": "YYYY-MM-DD",
  "倒计日名称2": "YYYY-MM-DD",
  "节日/纪念日": "YYYY-MM-DD"
}
  • 键:倒计日名称(自定义,支持中文、英文,无特殊符号)
  • 值:目标日期,固定格式 YYYY-MM-DD(如2026-10-01)
  • 语法要求:最后一条数据末尾无逗号,引号为英文双引号

使用方式

1. 查询单个倒计日

指令示例

  • 查询2026春节剩余天数
  • 距离生日还有多久

返回结果

  • 目标日期未到:距离「XX」还有 XX 天
  • 当天:今天就是「XX」
  • 已过期:「XX」已过去 XX 天

2. 查看全部倒计日

指令示例

  • 查看所有倒计时
  • 列出全部纪念日

返回结果:按日期排序,逐条展示名称、目标日期、天数状态

3. 新增/修改/删除倒计日

直接编辑存储文件即可,无需重启服务:

nano ~/.openclaw/skills/countdown_skill/countdown.json

注意事项

  • 日期必须严格遵循 YYYY-MM-DD 格式,否则无法正常识别
  • 倒计日名称不重复,重复名称会覆盖原有日期
  • 文件编码为UTF-8,编辑后保存即可生效,无额外配置
Usage Guidance
This skill is coherent and low-risk: it only reads and writes a JSON file at ~/.openclaw/skills/countdown_skill/countdown.json to store events. Before installing, confirm you are comfortable giving the agent access to that path (so it can read/write the file). There are no network calls or credential requests. If you want extra safety, inspect the generated JSON file and set filesystem permissions so only your user can access it; avoid placing sensitive data inside the countdown file.
Capability Analysis
Type: OpenClaw Skill Name: date-count Version: 1.0.1 The skill bundle is a non-executable, instruction-based tool for managing a countdown list. It relies entirely on the AI agent to read and write to a local JSON file (~/.openclaw/skills/countdown_skill/countdown.json) and contains no code, network requests, or suspicious instructions.
Capability Assessment
Purpose & Capability
The name/description (countdown tool) matches the behavior: storing and reading dates from a JSON file. No unrelated env vars, binaries, or network access are requested.
Instruction Scope
SKILL.md directs the agent to read/write a fixed local file path (~/.openclaw/skills/countdown_skill/countdown.json) and to present countdown results. This is within the stated purpose, but the agent requires filesystem access to that path; the instructions do not request reading any other files or variables.
Install Mechanism
No install steps or downloads are present (instruction-only). Nothing will be written to disk by an installer beyond the skill's documented JSON file which is expected behavior.
Credentials
No environment variables, credentials, or external service access are required. The single storage file is a reasonable, proportional requirement for this functionality.
Persistence & Privilege
The skill is not always-enabled and does not request elevated privileges or modify other skills or system-wide configuration. It persists only via its own JSON file in the user's home directory.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install date-count
  3. After installation, invoke the skill by name or use /date-count
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
rename it
v1.0.0
倒计日技能 1.0.0 发布 - 轻量化倒计日工具,仅用 JSON 文件保存所有倒计日,无需数据库或多余依赖 - 支持按名称查询单个倒计日,展示剩余/已过天数 - 可批量查看全部倒计日,数据按日期排序显示 - 手动编辑 countdown.json 管理所有纪念日,格式固定、简单易操作 - 完整文档指引使用方式、数据格式及注意事项
Metadata
Slug date-count
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is date-count?

倒计日期以更好安排你的日程. It is an AI Agent Skill for Claude Code / OpenClaw, with 247 downloads so far.

How do I install date-count?

Run "/install date-count" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is date-count free?

Yes, date-count is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does date-count support?

date-count is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created date-count?

It is built and maintained by rain-lei (@rain-lei); the current version is v1.0.1.

💬 Comments