tongshu
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 "tongshu" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c27cbcc63b7920e770a983d8c22207583b706333bf4fc5801dafeb56d13b3861. Verify the upstream source and version against https://skillhub.cn/skills/user_bb5d057c/tongshu 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
A daily almanac (huangli) query tool for celestial and auspicious information. Provides daily heavenly stems and earthly branches, the twelve shen of jianchu, the twenty-eight lunar mansions, Pengzu taboos, clashes and other date-picking information. Data are algorithmically generated and manually anchored annually.
Introduction source: third_party · user_bb5d057c · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: tongshu
description: 通书(黄历/皇历)每日神煞查询工具。提供每日干支、建除十二神、二十八宿、彭祖百忌、冲煞等择日信息。数据通过算法生成+每年手动校准锚点。
category: 术数命理通书每日神煞查询
使用方法
直接问我任意日期的通书信息即可。格式:
- "查2026年6月15日的通书"
- "今天通书怎么样"
- "查2026年端午节(五月初五)通书"
输出内容
每日包含:
- 干支:年柱、月柱(以节气为准)、日柱
- 建除十二神:建除满平定执破危成收开闭,含释义和择日建议
- 二十八宿:28宿名称、四象(青龙/玄武/白虎/朱雀)、五行、吉凶
- 彭祖百忌:天干+地支禁忌
- 冲煞:冲什么生肖、煞什么方向
⚠️ 校准要求
每年需要校准两个锚点:
- 建除起始:每年正月初一的建除位置(根据年支确定)
- 二十八宿起始:每年某已知日期对应的二十八宿位置(脚本中假设值,需查通书校准)
校准方法:查通书确认一天,更新脚本中的 JIANCHU_YEAR_ANCHOR 和 ERSHUBU_YEAR_ANCHOR。
当前2026年二十八宿锚点已校准:2026-06-22 丁卯日 = 觜宿(白虎·金·凶),脚本输出验证通过。但建除起始锚点仍需年度校准。
详见 references/install-guide.md。
🔧 已知修复记录
- 2026-06-14: 月柱计算修复——
yue_zhi_offset必须从寅月开始算(dizhi.index(actual_zhi) - dizhi.index('寅')),不能直接用dizhi.index(actual_zhi)。后者从子=0开始,导致天干偏移全部错误。 - 2026-06-14: 节气匹配修复——
jieqi_zhi从字典改为列表遍历,确保任意日期(不只是节气当天)都能匹配到正确的月建。
建除十二神
建除满平定执破危成收开闭(12天循环)
每年正月初一起始位置由年支决定:
- 子/辰/申年 → 起建
- 丑/巳/酉年 → 起除
- 寅/午/戌年 → 起满
- 卯/未/亥年 → 起平
二十八宿
角亢氐房心尾箕斗牛女虚危室壁奎娄胃昴毕觜参井鬼柳星张翼轸(28天循环)
彭祖百忌
内置天干10条+地支12条。
冲煞
基于日支推算:子午冲、丑未冲等,同时标注煞向。
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供通书(黄历/皇历)每日神煞查询功能,满足特定文化场景下的择日需求
- 包含干支、建除十二神、二十八宿、彭祖百忌、冲煞等详细信息
Areas to improve
-
触发词边缘场景缺失 Reported severity: Minor
触发词覆盖合理,但未涵盖所有可能的日期格式变体
Recommendation: 建议补充更多日期格式的触发词示例,如农历日期、节假日等
Highlights
- 触发词明确,覆盖常见使用场景
- 提供了多种触发格式示例
Areas to improve
-
Document is too long Reported severity: Minor
文档内容超过500行,影响阅读体验
Recommendation: 建议将部分内容移至单独文档或进行精简
Highlights
- 文档结构清晰,包含使用方法、输出内容、校准要求等完整章节
- 提供了已知修复记录,便于维护
Areas to improve
-
主要异常未处理 Reported severity: Major
依赖每年手动校准锚点,但未说明校准失败或数据错误的处理机制
Recommendation: 建议增加自动校准机制或提供校准失败的回退方案
Highlights
- 提供了详细的校准要求和已知修复记录
- 说明了数据生成算法和校准方法
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.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
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.