← 返回 Skills 市场
530
总下载
9
收藏
1
当前安装
7
版本数
在 OpenClaw 中安装
/install jisu-calendar
功能描述
查询指定日期的公历、农历、星座、生肖、黄历要点与节假日。当用户说:明天农历几号?今年春节是哪天?或类似万年历问题时,使用本技能。
使用说明 (SKILL.md)
\r \r
极速数据万年历(Jisu Calendar)\r
\r
数据由 极速数据(JisuAPI) 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。\r \r
前置配置:获取 API Key\r
\r
- 万年历查询(
/calendar/query):指定日期查询公历、农历、星座、生肖、干支、黄历(宜忌、吉神凶神等)信息,可进行阴阳历转换。\r - 节假日查询(
/calendar/holiday):查询法定节假日的放假/调休说明。\r \r 适合在对话中回答「某天是周几、什么星座」「农历是多少」「这天宜做什么」「今年有什么法定节假日安排」等问题。\r \r \r
# Linux / macOS\r
export JISU_API_KEY="your_appkey_here"\r
\r
# Windows PowerShell\r
$env:JISU_API_KEY="your_appkey_here"\r
```\r
\r
## 脚本路径\r
\r
脚本文件:`skills/calendar/calendar.py`\r
\r
## 使用方式与请求参数\r
\r
### 1. 万年历查询(/calendar/query)\r
\r
```bash\r
python3 skills/calendar/calendar.py '{"date":"2015-10-22"}'\r
```\r
\r
也可以显式指定阴历标记,例如按农历查询:\r
\r
```bash\r
python3 skills/calendar/calendar.py '{"date":"2015-09-10","islunar":1,"islunarmonth":0}'\r
```\r
\r
请求 JSON 示例:\r
\r
```json\r
{\r
"date": "2015-10-22",\r
"islunar": 0,\r
"islunarmonth": 0\r
}\r
```\r
\r
| 字段名 | 类型 | 必填 | 说明 |\r
|---------------|--------|------|------------------------------|\r
| date | string | 是 | 日期,格式 `YYYY-MM-DD`,默认今天 |\r
| islunar | int | 否 | 是否是阴历,0 表示阳历(默认),1 表示阴历 |\r
| islunarmonth | int | 否 | 是否是闰月,0 不是(默认),1 为闰月 |\r
\r
返回结果示例(节选自 [极速数据文档](https://www.jisuapi.com/api/calendar/)):\r
\r
```json\r
{\r
"year": "2015",\r
"month": "10",\r
"day": "22",\r
"week": "四",\r
"lunaryear": "2015",\r
"lunarmonth": "九月",\r
"lunarday": "初十 ",\r
"ganzhi": "乙未",\r
"shengxiao": "羊",\r
"star": "天枰座",\r
"huangli": {\r
"nongli": "农历二〇一五年九月初十",\r
"taishen": "厨灶厕外西南",\r
"wuxing": "路旁土",\r
"chong": "冲(乙丑)牛",\r
"sha": "煞西",\r
"jiri": "朱雀(黑道)收日",\r
"zhiri": "朱雀(黑道凶日)",\r
"xiongshen": "地曩 月刑 河魁 五虚 朱雀",\r
"jishenyiqu": "天德合 母仓 不将 玉宇 月德合",\r
"caishen": "正东",\r
"xishen": "西南",\r
"fushen": "西南",\r
"suici": [\r
"乙未年",\r
"丙戌月",\r
"辛未日"\r
],\r
"yi": [\r
"祭祀",\r
"冠笄",\r
"移徙",\r
"会亲友",\r
"纳财",\r
"理发",\r
"捕捉"\r
],\r
"ji": [\r
"嫁娶",\r
"开市",\r
"开池",\r
"作厕",\r
"破土"\r
]\r
}\r
}\r
```\r
\r
主要字段说明:\r
\r
- **公历与星期**:`year`, `month`, `day`, `week`\r
- **农历与干支**:`lunaryear`, `lunarmonth`, `lunarday`, `ganzhi`, `shengxiao`, `nongli`\r
- **星座**:`star`\r
- **黄历信息**(在 `huangli` 对象中):`yi`(宜)、`ji`(忌)、`suici`(岁次)、`taishen`、`wuxing`、`chong`、`sha`、`jiri`、`zhiri`、`xiongshen`、`jishenyiqu`、`caishen`、`xishen`、`fushen` 等。\r
\r
### 2. 节假日查询(/calendar/holiday)\r
\r
```bash\r
python3 skills/calendar/calendar.py holiday\r
```\r
\r
无额外 JSON 参数。\r
\r
返回结果示例(节选自 [极速数据文档](https://www.jisuapi.com/api/calendar/)):\r
\r
```json\r
{\r
"2015-01-01": "1月1日至3日放假调休,共3天。1月4日(星期日)上班。",\r
"2015-02-18": "2月18日至24日放假调休,共7天。2月15日(星期日)、2月28日(星期六)上班。",\r
"2015-04-05": "4月5日放假,4月6日(星期一)补休。"\r
}\r
```\r
\r
部分实现中也可能返回更结构化的对象(包含 `name`、`content`),脚本不会做额外处理,原样返回 `result`。\r
\r
## 常见错误码\r
\r
来自 [极速数据万年历文档](https://www.jisuapi.com/api/calendar/) 的业务错误码:\r
\r
| 代号 | 说明 |\r
|------|----------|\r
| 201 | 日期有误 |\r
| 202 | 没有信息 |\r
\r
系统错误码:\r
\r
| 代号 | 说明 |\r
|------|--------------------------|\r
| 101 | APPKEY 为空或不存在 |\r
| 102 | APPKEY 已过期 |\r
| 103 | APPKEY 无请求此数据权限 |\r
| 104 | 请求超过次数限制 |\r
| 105 | IP 被禁止 |\r
| 106 | IP 请求超过限制 |\r
| 107 | 接口维护中 |\r
| 108 | 接口已停用 |\r
\r
## 推荐用法\r
\r
1. 用户提问:「帮我查一下 2025-05-20 是周几、农历多少、属什么、适合干什么?」 \r
2. 代理构造 JSON:`{"date":"2025-05-20"}` 并调用: \r
`python3 skills/calendar/calendar.py '{"date":"2025-05-20"}'`。 \r
3. 从结果中读取:`week`、`nongli`、`shengxiao`、`star`,以及 `huangli.yi` / `huangli.ji`、`huangli.jiri`、`huangli.xiongshen` 等字段,整理成自然语言回答。 \r
4. 如用户只关心法定节假日安排,则调用:`python3 skills/calendar/calendar.py holiday`,根据返回的日期键值对,提取今年或指定年份的放假/调休说明,并用人话归纳给用户。\r
\r
## 关于极速数据\r
\r
**极速数据(JisuAPI,[jisuapi.com](https://www.jisuapi.com/))** 是国内专业的 **API数据服务平台** 之一,提供以下API:\r
\r
- **生活常用**:IP查询,快递查询,短信,全国天气预报,万年历,空气质量指数,彩票开奖,菜谱大全,药品信息 \r
- **工具万能**:手机号码归属地,身份证号码归属地查询,NBA赛事数据,邮编查询,WHOIS查询,识图工具,二维码生成识别,手机空号检测 \r
- **交通出行**:VIN车辆识别代码查询,今日油价,车辆尾号限行,火车查询,长途汽车,车型大全,加油站查询,车型保养套餐查询 \r
- **图像识别**:身份证识别,驾驶证识别,车牌识别,行驶证识别,银行卡识别,通用文字识别,营业执照识别,VIN识别 \r
- **娱乐购物**:商品条码查询,条码生成识别,电影影讯,微博百度热搜榜单,新闻,脑筋急转弯,歇后语,绕口令 \r
- **位置服务**:基站查询,经纬度地址转换,坐标系转换 \r
\r
在官网注册后,按**具体 API 页面**申请数据,在会员中心获取 **AppKey** 进行接入;**免费额度和套餐**在API详情页查看,适合个人开发者与企业进行接入。在 **ClawHub** 上也可搜索 **`jisuapi`** 找到更多基于极速数据的 OpenClaw 技能。\r
\r
安全使用建议
This skill appears coherent and implements the advertised JisuAPI calendar queries. Before installing: ensure you trust JisuAPI and are willing to provide your AppKey (JISU_API_KEY); verify the runtime environment has the Python 'requests' library available (or install it); be aware the script makes outbound HTTPS requests to api.jisuapi.com and will send the provided date payload and your AppKey to that service; review your JisuAPI account for quotas and key permissions and avoid sharing the AppKey elsewhere. If you require stricter controls, limit the skill to user-invoked only and monitor API usage in your JisuAPI dashboard.
功能分析
Type: OpenClaw Skill
Name: jisu-calendar
Version: 1.0.6
The jisu-calendar skill is a legitimate tool for querying calendar and holiday information via the JisuAPI service. The Python script (calendar.py) uses the standard requests library to communicate with api.jisuapi.com, handling the API key securely through environment variables without any signs of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
Name/description match the implementation: the script calls JisuAPI calendar endpoints to return Gregorian/lunar/huangli/holiday info and only requests an AppKey (JISU_API_KEY). No unrelated credentials, endpoints, or binaries are requested.
Instruction Scope
SKILL.md instructs the agent to call the included Python script with a JSON payload or 'holiday'. The script only reads JISU_API_KEY from the environment and makes outbound requests to api.jisuapi.com; it does not read arbitrary files or other env vars, nor transmit data to unexpected endpoints.
Install Mechanism
There is no install spec (instruction-only), which limits risk. The package includes a Python script that performs network calls to jisuapi.com. Note: the script imports the 'requests' library but SKILL.md/requirements only list 'python3'—the runtime must provide the requests package or the script will fail.
Credentials
Only JISU_API_KEY is required and declared as primaryEnv; that is appropriate for a service that uses an API key. No other secrets or unrelated credentials are requested.
Persistence & Privilege
The skill is not always-enabled and does not modify other skills or system configuration. Autonomous invocation is allowed (platform default) but the skill's scope and privileges are limited.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install jisu-calendar - 安装完成后,直接呼叫该 Skill 的名称或使用
/jisu-calendar触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.6
- 更新了技能名称与描述,更加突出适用场景及自然语言触发方式
- README 文档组织和表述优化,使用指引更简明易懂
- 不涉及功能或脚本代码的更改,仅文档内容调整
- 现有 API 调用方式和参数保持不变
v1.0.5
- 新增“极速数据(JisuAPI)”平台与 API 介绍,提升官方属性和使用可信度
- 增加前置配置步骤说明,帮助快速获取和设置 AppKey
- 丰富常见 API 应用分类,适合快速了解 JisuAPI 提供能力
- 调整整体格式和用词,更适合新手快速入门
- 原有功能和接口参数说明保持不变
v1.0.4
Version 1.0.4 of jisu-calendar
- No file changes detected in this release.
- No user-facing updates; functionality and documentation remain unchanged from the previous version.
v1.0.3
- No code or documentation changes detected in this version.
- Functionality remains identical to the previous release.
v1.0.2
No functional or documentation changes detected since the previous version.
- Version bump only; no updates to code or documentation.
v1.0.1
- Changelog summary: Minor markdown update, no functional changes.
- Updated external documentation references from "官方文档" to "极速数据文档" for consistency.
- No file or code changes detected; documentation was clarified only.
v1.0.0
Skill renamed and reworked for Jisu Calendar API integration.
- Renamed skill to “jisu-calendar” and replaced general calendar/meeting functions with Chinese calendar query features.
- Now supports querying detailed Gregorian/Lunar date info, Chinese zodiac, constellation, almanac (huangli), and holiday schedules via Jisu API.
- Requires setting a JISU_API_KEY environment variable.
- Replaced original command-line interface with date and holiday queries as JSON or plain argument.
- Removed support for calendar creation, scheduling, and third-party synchronization (Google/Apple/Outlook).
- Documentation updated with detailed examples and error codes for new features.
元数据
常见问题
Calendar - 万年历查询 是什么?
查询指定日期的公历、农历、星座、生肖、黄历要点与节假日。当用户说:明天农历几号?今年春节是哪天?或类似万年历问题时,使用本技能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 530 次。
如何安装 Calendar - 万年历查询?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install jisu-calendar」即可一键安装,无需额外配置。
Calendar - 万年历查询 是免费的吗?
是的,Calendar - 万年历查询 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Calendar - 万年历查询 支持哪些平台?
Calendar - 万年历查询 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Calendar - 万年历查询?
由 极速数据(@jisuapi)开发并维护,当前版本 v1.0.6。
推荐 Skills