运行时依赖
安装命令
点击复制本土化适配说明
随便算算-八字命理助手 安装说明: 安装命令:["openclaw skills install bazi-astrology"]
技能文档
Bazi Astro记录y 技能 Instructions Use BaziAnalysis技能 from analysis_技能.py. Prefer analyze_user_请求(user_message, ...) for user-facing 请求s. User-facing 输入 should provide出生年月日时(birth_year, birth_month, birth_day, birth_hour, optional birth_minute)and gender; if they are missing, the 技能 will ask the user to provide them. The 技能 handles generic full 报告s, concrete questions, and time-related questions internally. If the user only asks for a generic analysis such as “帮我分析这个生辰八字” or “帮我分析”, analyze_user_请求() 输出s one full 报告. The 报告 启动s with a bazi detAIl table for天干、天干十神、地支、地支藏干十神、神煞, then covers命格分析, 当前三步大运详解, 五行喜忌, and转运建议; the 报告 prompt includes computed十神 and神煞 上下文. If the user asks a concrete question, analyze_user_请求() answers through the /chat 上下文 built by build_chat_上下文_string(), including computed十神 and神煞 上下文. If a /chat question includes time references such as “下个月”, “明年”, or a concrete date, the 技能 computes the tar获取流年、流月、流日干支 and tar获取-date大运干支, then injects them into the chat prompt. Notes This 技能 intentionally excludes any HTML/JS UI 记录ic. 模型 defaults are in prompt_config.py.