← Back to Skills Marketplace
jvy

rili

by jvy · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
232
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install rili
Description
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...
README (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 中文历法支持,适合常见问答场景。
  • 不要把这个技能用于“帮我加一个日历事件”;那是日程/日历集成问题,不是日期查询。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rili
  3. After installation, invoke the skill by name or use /rili
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug rili
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 232 downloads so far.

How do I install rili?

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

Is rili free?

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

Which platforms does rili support?

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

Who created rili?

It is built and maintained by jvy (@jvy); the current version is v1.0.0.

💬 Comments