Xpersona
A

Almanac / Huangli Inquiry - 黄历查询

CLAWHUB · Unverified

按公历日期查询农历、宜忌、吉神凶煞等黄历信息。当用户说:明天宜不宜搬家?这周五适合领证吗?或类似黄历择日时,使用本技能。 Skill: Almanac / Huangli Inquiry - 黄历查询 Owner: jisuapi Summary: 按公历日期查询农历、宜忌、吉神凶煞等黄历信息。当用户说:明天宜不宜搬家?这周五适合领证吗?或类似黄历择日时,使用本技能。 Tags: latest:1.0.4 Version history: v1.0.4 | 2026-04-03T09:47:05.991Z | user - Description and name updated for clearer use-case and improved discoverability. - Documentation restructured: now includes an "About JisuAPI" section and expanded API/key configuration guidance. - Usage recommendatio

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174fh1b14sn7vkvbqwsdn0xtd83gz5h:huangli
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-huangli/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

20,402 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: "Almanac / Huangli Inquiry - 黄历查询"
description: 按公历日期查询农历、宜忌、吉神凶煞等黄历信息。当用户说:明天宜不宜搬家?这周五适合领证吗?或类似黄历择日时,使用本技能。
metadata: { "openclaw": { "emoji": "📅", "requires": { "bins": ["python3"], "env": ["JISU_API_KEY"] }, "primaryEnv": "JISU_API_KEY" } }
---

## 极速数据黄历查询(Jisu Huangli)

> 数据由 **[极速数据(JisuAPI)](https://www.jisuapi.com/)** 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。

按指定的年、月、日查询农历、星座、生肖、胎神、五行、冲煞、宜忌、吉神凶神、财神方位、星期等黄历信息。
数据范围覆盖 1900–2100 年,可用于回答「今天适合干什么」「这天宜嫁娶吗」「农历和生肖是什么」等问题。

## 前置配置:获取 API Key

1. 前往 [极速数据官网](https://www.jisuapi.com/) 注册账号
2. 进入 [黄历查询 API](https://www.jisuapi.com/api/huangli) 页面,点击「申请数据」
3. 在会员中心获取 **AppKey**
4. 配置 Key:

```bash
# Linux / macOS
export JISU_API_KEY="your_appkey_here"

# Windows PowerShell
$env:JISU_API_KEY="your_appkey_here"
```

## 脚本路径

脚本文件:`skills/huangli/huangli.py`

## 使用方式

黄历接口只有一个:`/huangli/date`,脚本直接接收 JSON 请求体。

### 查询指定日期的黄历(/huangli/date)

```bash
python3 skills/huangli/huangli.py '{"year":2015,"month":10,"day":27}'
```

请求 JSON 示例:

```json
{
  "year": 2015,
  "month": 10,
  "day": 27
}
```

### 请求参数

| 字段名 | 类型   | 必填 | 说明 |
|--------|--------|------|------|
| year   | string | 是   | 年   |
| month  | string | 是   | 月   |
| day    | string | 是   | 日   |

脚本会对 `year`、`month`、`day` 做必填校验,缺失时直接报错退出。

## 返回结果示例

脚本直接输出接口的 `result` 字段,结构与官网示例一致,例如(节选自
[极速数据文档](https://www.jisuapi.com/api/huangli)):

```json
{
  "year": "2015",
  "month": "10",
  "day": "27",
  "yangli": "公元2015年10月27日",
  "nongli": "农历二〇一五年九月十五",
  "star": "天蝎座",
  "taishen": "厨灶碓外西南",
  "wuxing": "涧下水",
  "chong": "冲(庚午)马",
  "sha": "煞南",
  "shengxiao": "羊",
  "jiri": "天牢(黑道)满日",
  "zhiri": "天牢(黑道凶日)",
  "xiongshen": "灾煞 天火 大煞 归忌 天牢 触水龙",
  "jishenyiqu": "天德 月德 时德 福德 民日 天巫 普护 鸣犬对",
  "caishen": "西南",
  "xishen": "西南",
  "fushen": "正东",
  "suici": [
    "乙未年",
    "丙戌月",
    "丙子日"
  ],
  "yi": [
    "纳采",
    "成服"
  ],
  "ji": [
    "入宅",
    "上梁",
    "谢土"
  ],
  "eweek": "TUESDAY",
  "emonth": "October",
  "week": "二"
}
```

其中:

- `yangli` / `nongli`:阳历 / 农历完整描述  
- `star` / `shengxiao`:星座和生肖  
- `yi` / `ji`:宜做的事和忌讳的事,通常是字符串数组  
- `suici`:岁次(干支),数组形式  
- 其余字段对应文档中的黄历、方位、吉凶信息。

## 常见错误码

来自 [极速数据黄历文档](https://www.jisuapi.com/api/huangli) 的业务错误码:

| 代号 | 说明       |
|------|------------|
| 201  | 日期不正确 |
| 203  | 没有信息   |

系统错误码:

| 代号 | 说明                     |
|------|--------------------------|
| 101  | APPKEY 为空或不存在     |
| 102  | APPKEY 已过期           |
| 103  | APPKEY 无请求此数据权限 |
| 104  | 请求超过次数限制         |
| 105  | IP 被禁止               |
| 106  | IP 请求超过限制         |
| 107  | 接口维护中               |
| 108  | 接口已停用               |

## 推荐用法

1. 用户提问:「帮我看看 2025 年 5 月 20 日黄历如何,适合结婚吗?」  
2. 代理构造 JSON:`{"year":2025,"month":5,"day":20}` 并调用:  
   `python3 skills/huangli/huangli.py '{"year":2025,"month":5,"day":20}'`。  
3. 从返回结果中读取 `yi` / `ji`、`jiri`、`zhiri`、`xiongshen`、`jishenyiqu` 等字段,判断是否宜

_meta.json

{
  "ownerId": "kn7ex9mabfb47dvpgkmeypwqj9825yyz",
  "slug": "huangli",
  "version": "1.0.4",
  "publishedAt": 1775209625991
}

skill-card.md

## Description:

按公历日期查询农历、宜忌、吉神凶煞等黄历信息,帮助代理回答搬家、领证、结婚等黄历择日问题。

This skill is ready for commercial/non-commercial use.

## Publisher:

[jisuapi](https://clawhub.ai/user/jisuapi)

### License/Terms of Use:

MIT-0

## Use Case:

External users and agents use this skill to look up Chinese almanac details for a Gregorian date and summarize auspicious or inauspicious activities, lunar calendar information, zodiac, and related Huangli fields.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Requested dates and the API key are sent to JisuAPI.

Mitigation: Use a restricted JisuAPI key with low quota where possible, and avoid submitting sensitive context beyond the date required for lookup.

Risk: Huangli results may be mistaken for general scheduling, legal, medical, or other sensitive advice.

Mitigation: Frame outputs as almanac lookup results and avoid using the skill for sensitive advice unrelated to Huangli interpretation.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/jisuapi/skills/huangli)
- [JisuAPI Huangli API Documentation](https://www.jisuapi.com/api/huangli)
- [JisuAPI](https://www.jisuapi.com/)

## Skill Output:

**Output Type(s):** [JSON, Text guidance, Shell commands, Configuration]

**Output Format:** [JSON from the helper script, typically summarized by the agent as concise text or Markdown.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires python3 and a JISU_API_KEY environment variable; sends requested dates to JisuAPI.]

## Skill Version(s):

1.0.4 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Almanac / Huangli Inquiry - 黄历查询 and adjacent AI workflows.