huangli-query
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "huangli-query" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7aaf04ee2b57f8dd2432d56e9941100730e5edb0ec2342d3a00e3d561d2dde09. Verify the upstream source and version against https://skillhub.cn/skills/org-1qazsc77/huangli-query before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Query lunar-calendar information by year/month/day including lunar date, constellation, zodiac, do's and don'ts, and auspicious deities; data covers 1900–2100. Suited for requests like “almanac query,” “today's do's and don'ts,” and “auspicious day search.” Requires a dedicated API key; first-time users are directed to the product page to register and obtain it.
Introduction source: third_party · org-1qazsc77 · 1.0.2 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: huangli-query
description: 按年月日查询农历、星座、生肖、宜忌、吉神等黄历信息,数据范围1900-2100年。适用于"黄历查询""老黄历""今日宜忌""农历查询""黄历宜忌""吉日查询""黄历吉日"等请求。需专属 API Key,首次使用时引导用户前往产品页注册获取。黄历查询
功能简介
按年月日查询农历、星座、生肖、胎神、喜神、五行、冲、煞、吉日、值日天神、凶神、吉神宜趋、财神、喜神、福神、岁次、宜、忌、星期等黄历信息,数据范围1900-2100年。
核心能力:
- 按日期查询完整的黄历信息,覆盖1900-2100年
- 返回农历、星座、生肖、宜忌、吉神方位等详细信息
- 适用于择吉日、农历转换和传统文化应用场景
适用范围:本 Skill 只覆盖"黄历查询"接口,不用于其他同类功能。
使用方式
- 前往 黄历查询购买页 注册登录,获取专属 API Key(0元/5次(免费试用)
- 将 Key 直接发送给 AI
- 告诉 AI 要查询的年份
缺少 Key 时的引导回复
当查询返回 missing_api_key 错误时,按以下方式回复用户(根据实际查询内容调整):
未检测到 API Key,需要你提供一下在 黄历查询购买页 获取的专属 API Key,我才能帮你查询年份。
请直接把 Key 发给我,我会仅用于本次查询,不会保存或回显完整密钥。
查询失败(Key 无效或额度不足)时,引导用户前往 购买页 检查 Key 或额度。
以下为内部执行参考,回复用户时不要展示接口地址、参数格式、JSON字段名等技术细节。
参数说明
| year | string | 必填 | 年份 | 2024 | | month | string | 必填 | 月份 | 1 | | day | string | 必填 | 日期 | 15 |
查询流程
- 从用户请求中提取year、month、day。
- 在 Skill 根目录执行脚本:
python scripts/query_huangli.py --year 2024 --month 1 --day 15 --api-key "用户提供的Key"
如用户已自行配置环境变量
CHINAZ_HUANGLI_API_KEY,可省略--api-key参数。如果系统将 Python 3 命令命名为python3,使用python3代替python。
- 脚本使用 Key 调用接口发送year、month、day与
ChinazVer=1.0及APIKey。 - 从脚本输出的 JSON 读取结果;仅依据实际返回回答用户,不编造数据。
返回字段
成功查询后,返回 JSON 包含以下字段:
| status | string | 状态码,0为成功 | | msg | string | 状态码描述 | | result | object | 具体返回内容 | | result.yangli | string | 阳历日期 | | result.nongli | string | 农历日期 | | result.star | string | 星座 | | result.shengxiao | string | 生肖 | | result.wuxing | string | 五行 | | result.chong | string | 冲 | | result.sha | string | 煞 | | result.caishen | string | 财神方位 | | result.xishen | string | 喜神方位 | | result.fushen | string | 福神方位 | | result.yi | array | 宜 | | result.ji | array | 忌 | | result.week | string | 星期 |
返回示例:
{"status":"0","msg":"ok","result":{"year":"2024","month":"1","day":"15","yangli":"公元2024年1月15日","nongli":"农历二〇二三年腊月初五","star":"摩羯座","shengxiao":"兔","wuxing":"井泉水","yi":["祭祀","祈福"],"ji":["动土","安葬"]}}
结果解读
statu: true或code: 200或status: 0表示查询成功。- 根据返回字段中的状态信息判断结果。
- 数据仅供参考,请以实际返回为准。
推荐答复格式:
黄历查询查询结果
- 查询状态:成功 / 失败原因
- 返回信息:(展示关键字段)
错误处理
| 错误类型 | 原因 | 解决方法 |
|---|---|---|
missing_api_key |
缺少 API Key | 按上方"缺少 Key 时的引导回复"引导用户获取并发送 Key |
invalid_input |
参数格式错误 | 检查输入参数格式是否正确 |
network_error / timeout |
网络连接问题 | 检查网络、DNS、代理或防火墙后重试 |
其他失败状态:按返回的
msg或 JSON 错误信息说明问题,不得编造数据。
使用边界
- 一次只查询一个目标;批量任务须逐条执行。
- 数据仅供参考,不具有法律效应。
- 不输出、复述或保存 API Key。
应用场景
场景一:基础查询
你会问:"帮我查一下这个黄历的信息"
操作步骤:
- 准备好需要查询的year、month、day。
- 运行脚本查询。
建议输入:python scripts/query_huangli.py --year 2024 --month 1 --day 15
如何解读结果:查看返回JSON中的状态字段和详细数据字段,确认查询是否成功以及具体结果。
后续建议:根据查询结果决定下一步操作。
场景二:业务分析
你会问:"这个黄历的数据怎么样?"
操作步骤:
- 确定业务需求,准备查询参数。
- 运行脚本获取数据。
- 结合业务上下文分析返回结果。
建议输入:python scripts/query_huangli.py --year 2024 --month 1 --day 15
如何解读结果:将返回数据与业务标准对比,判断是否符合预期。
后续建议:根据分析结果制定优化或改进方案。
场景三:批量排查
你会问:"多个黄历能一起查吗?"
操作步骤:
- 虽然接口一次只查一个,但可逐条执行批量查询。
- 记录每次查询结果,汇总分析。
建议输入:逐条执行 python scripts/query_huangli.py --year <参数值>
如何解读结果:将多条查询结果汇总,对比差异和共性。
后续建议:根据批量结果制定整体优化策略。
常见问题
Q:查询结果显示异常怎么办?
A:首先检查输入参数是否正确,然后确认API Key是否有效、额度是否充足。如仍异常,可稍后重试或联系客服。
Q:免费额度用完了怎么办?
A:可前往购买页购买付费套餐,按量付费,价格实惠。
Q:查询结果和实际不一致?
A:受网络时效性等因素影响,查询结果仅供参考,不保证100%准确。建议多次查询取最新结果。
Current listing version
1.0.2
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供1900-2100年完整黄历信息查询,覆盖农历、星座、生肖、宜忌、吉神等传统文化需求
- 适用于择吉日、农历转换等明确场景,具有广泛实用价值
Highlights
- 触发词覆盖"黄历查询""老黄历""今日宜忌""农历查询""黄历宜忌""吉日查询""黄历吉日"等,边界清晰
- description内容完整,无截断或缺失
Areas to improve
-
description写错位置 Reported severity: Minor
顶层frontmatter已有完整description,skill_body内部重复相同内容
Recommendation: 建议移除skill_body内部的重复description,保持文档结构清晰
Highlights
- 文档结构完整,包含功能简介、使用方式、参数说明、查询流程、返回字段、错误处理、使用边界、应用场景等
- 提供端到端示例和详细的使用场景说明
- frontmatter完整,单文件未超500行
Highlights
- 工具来源明确,使用python脚本调用API,参数说明清晰
- 覆盖主要异常情况(missing_api_key、invalid_input、network_error等)
- 提供详细的Key获取引导,首次使用体验良好
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 3, 21, 29, 31, 51
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- www.chinaz.net
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.