← 返回 Skills 市场
jvy

rili

作者 jvy · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
232
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install rili
功能描述
Calendar and Chinese lunar date lookups via a bundled local Node script. Use when the user asks about dates, weekdays, month views, lunar calendar dates, tra...
使用说明 (SKILL.md)

Rili Skill

面向中文日期查询的本地日历技能,覆盖公历、星期、月历、农历、常见农历节日日期查询。

默认用中文回答,优先给出:

  • 公历日期
  • 星期
  • 农历年月日
  • 生肖
  • 常见农历节日

适用场景

  • “今天农历几月几号?”
  • “2026-03-14 是星期几?”
  • “看一下 2026 年 9 月月历”
  • “2026 年中秋节是几号?”
  • “农历 2025 年闰六月初一对应哪天?”
  • “今年春节是哪天?”

不适用场景

  • 创建、修改、删除日历事件
  • 查询共享日程、会议邀请、提醒事项
  • 天文级精度的节气、朔望月、黄历宜忌
  • 地区差异明显的民俗日期(例如“小年”)

命令

今天 / 指定日期

node {baseDir}/scripts/rili.js today
node {baseDir}/scripts/rili.js date 2026-03-14
node {baseDir}/scripts/rili.js date tomorrow --tz Asia/Shanghai
node {baseDir}/scripts/rili.js date 2026-02-17 --json

月历

node {baseDir}/scripts/rili.js month 2026-03
node {baseDir}/scripts/rili.js month today --tz Asia/Shanghai
node {baseDir}/scripts/rili.js month 2026-09 --json

说明:

  • 月历文本视图按周一到周日排列。
  • 文本输出下方会补充农历月初和常见节日节点。

农历转公历

node {baseDir}/scripts/rili.js find-lunar 2026 8 15
node {baseDir}/scripts/rili.js find-lunar 2025 6 1
node {baseDir}/scripts/rili.js find-lunar 2025 6 1 --leap
node {baseDir}/scripts/rili.js find-lunar 2025 6 1 --json

说明:

  • find-lunar \x3ClunarYear> \x3Cmonth> \x3Cday> 里的年份是农历年,不是公历年。
  • 不带 --leap 时,如果该农历年存在同月闰月,会返回普通月和闰月两个结果。
  • --leap 时只返回闰月结果。

常见农历节日

node {baseDir}/scripts/rili.js festival 2026 中秋
node {baseDir}/scripts/rili.js festival 2026 春节 --json
node {baseDir}/scripts/rili.js festival list

当前支持:

  • 春节
  • 元宵
  • 龙抬头
  • 上巳
  • 端午
  • 七夕
  • 中元
  • 中秋
  • 重阳
  • 腊八
  • 除夕

回复习惯

  • 用户问“今天农历几号”,直接给公历 + 星期 + 农历。
  • 用户问“某天是星期几”,补充农历会更有用。
  • 用户问“今年中秋/春节是哪天”,优先返回精确公历日期,并标明对应农历。
  • 用户问“某月月历”,给出月历文本;若还关心农历细节,再用 --json 或逐日查询。
  • 结果里若出现闰月,要明确写成“闰六月”等,不要省略。

注意事项

  • 这是本地计算,不依赖外部 API。
  • 农历换算依赖 Node 的 Intl 中文历法支持,适合常见问答场景。
  • 不要把这个技能用于“帮我加一个日历事件”;那是日程/日历集成问题,不是日期查询。
安全使用建议
This skill appears to be what it says: a local Node script for Chinese lunar and Gregorian date lookups that does not use external APIs or ask for credentials. Before installing, ensure you have a Node runtime with Intl calendar support (the script notes it relies on Node's Intl Chinese calendar implementation). You can also manually inspect scripts/rili.js (provided) — it contains only date/calendar logic and no network or filesystem exfiltration. Do not use this skill for calendar event creation or shared calendar access; it's only for lookups and conversions.
功能分析
Type: OpenClaw Skill Name: rili Version: 1.0.0 The 'rili' skill is a local utility for Chinese lunar calendar conversions and date lookups. The Node.js script (scripts/rili.js) uses the built-in Intl API for calculations, contains no network or file system access, and lacks any signs of data exfiltration or malicious execution. The instructions in SKILL.md are well-defined and strictly limited to the stated purpose of date querying.
能力评估
Purpose & Capability
Name/description claim local calendar and lunar lookups, and the package contains a Node script that implements exactly that. Requiring the node binary is proportional and expected; no unrelated binaries or credentials are requested.
Instruction Scope
SKILL.md directs the agent to run the included local script with specific arguments (date/month/festival/find-lunar). It explicitly disclaims calendar event CRUD and does not instruct reading other files, system history, or sending data externally. The runtime instructions stay within the stated purpose.
Install Mechanism
No install spec (instruction-only) and the code is bundled in scripts/rili.js. Nothing is downloaded or written to disk by an installer step, lowering risk.
Credentials
No environment variables, credentials, or config paths are requested. The skill does not attempt to access unrelated secrets or services.
Persistence & Privilege
always is false and the skill is user-invocable/autonomous invocation is default. The skill does not request permanent presence or modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rili
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rili 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the rili skill: a local Chinese calendar and lunar date lookup tool. - Supports Gregorian and lunar date lookups, weekday queries, month views, and major traditional Chinese festivals. - Provides both Gregorian and lunar information for dates, including zodiac and holidays. - Covers lunar-to-Gregorian conversion and vice versa, with leap month handling. - Includes local commands for date, month, festival query, and lunar conversion. - Not intended for calendar event management or integration tasks.
元数据
Slug rili
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

rili 是什么?

Calendar and Chinese lunar date lookups via a bundled local Node script. Use when the user asks about dates, weekdays, month views, lunar calendar dates, tra... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 232 次。

如何安装 rili?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install rili」即可一键安装,无需额外配置。

rili 是免费的吗?

是的,rili 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

rili 支持哪些平台?

rili 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 rili?

由 jvy(@jvy)开发并维护,当前版本 v1.0.0。

💬 留言讨论