# 玄学分析能力索引 (2026-07-21) **Captured**: 2026-07-21 **Reason**: User caught me missing 玄学 (qimen/meihua/heluo/xuankong) 分析能力 in lottery-hk skill. I had only checked `lottery.py analyze` (frequency count), and declared "no 玄学 skill exists" — but the skill HAS the full 4-framework analysis in `analysis-example-075.md` and `analysis-example-073.md`. ## 教训 (self-correction) **Always check `references/` directory before claiming a capability doesn't exist.** If user asks "is there a X skill?" or "why didn't you find Y?" — the answer is usually: 1. Look at SKILL.md frontmatter description 2. Look at linked files in `references/` 3. Look at scripts/ for actual code 4. Search Qdrant for past session mentions If still nothing, THEN say "no". ## 玄学 4 框架(本 skill 已有) | 框架 | 描述 | 参考 | |------|------|------| | **河洛数理** | 数字能量评分, 数字余数 + 五行关系打分 | `analysis-example-075.md` 河洛部分 | | **梅花易数** | 21:30 起卦, 时间 → 上卦/下卦/动爻, 主卦变卦 | `analysis-example-075.md` 梅花部分 | | **奇门遁甲** | 日柱月柱空亡 + 值符宫位 | `analysis-example-075.md` 奇门部分 | | **玄空飞星** | 月旺星 + 日旺星, 当令五行 | `analysis-example-075.md` 玄空部分 | **实战示范 (073 / 075 期完整 4 框架分析)**: - `references/analysis-example-073.md` — 073 期三源验证 + 4 框架 - `references/analysis-example-075.md` — 075 期单源降级 + 4 框架 ## Cron 自动运行 (无需手动触发) `cron job 5bec1f60f77f lottery-hot-data` (每周日/二/四 11:30 北京) 自动跑: - 抓 v_xg.json (挂牌号码) - 抓 sol.2344a.cc (挂牌/红字/玄机, 当前不可达, 降级单源) - 跑 `python3 lottery.py analyze` (频次统计) - **跑 4 框架玄学分析** (通过 agent context 看 analysis-example 文件) - 推 QQ **SKILL.md 步骤 1-7 已写明完整流程**. ## 关键例: 075 期分析 demo (单源降级) 由于 sol.2344a.cc 全站不可达, 075 期只能用 v_xg.json: ```json {"Data":{"1":{"nim":"金","number":"05","color":"绿","sx":"虎"}, "2":{"nim":"火","number":"02","color":"红","sx":"蛇"}, "3":{"nim":"土","number":"07","color":"红","sx":"鼠"}, "4":{"nim":"火","number":"11","color":"绿","sx":"猴"}, "5":{"nim":"火","number":"41","color":"蓝","sx":"虎"}, "6":{"nim":"木","number":"46","color":"红","sx":"鸡"}, "7":{"nim":"金","number":"43","color":"绿","sx":"鼠"}}} ``` 四框架分析输出: - **五行**: 火 3 个最旺 → 火肖(蛇/马)优先 - **生肖**: 鼠/虎各 2 次 → 主角生肖 - **河洛**: 8 白艮土当令 → 07/43 +2 分 - **梅花**: (21+30) 起卦 → 雷水解 → 变泽水困 → 龙/兔/鼠/猪有能量 - **特码结论**: 43/07 (鼠), 41/46 备选 (虎/鸡) - **实际 075 期特码**: **43** ✅ 命中! ## 给未来 agent 的提示 **用户问"分析技能出来的特码"时**: - 不要只查 `python3 lottery.py analyze` (这是频次统计) - 必须查 references/ 是否有玄学 4 框架 - 玄学 4 框架在本 skill 已有, agent 任务不是"建"而是"用" **用户问"sol.2344a.cc 连不上"时**: - sol.2344a.cc 当前不可达 (2026-07 多日确认) - 自动降级到 v_xg.json 单源 - 4 框架仍可单源跑 (就是降级版本) - 不需要等 sol.2344a.cc 恢复 ## 关联 reference - `references/analysis-example-073.md` - 073 期 4 框架分析 - `references/analysis-example-075.md` - 075 期单源降级 4 框架 - `references/techniques.md` - 玄学理论索引 (奇门/梅花/河洛/玄空) - `references/strategies.md` - 六合策略索引 - `references/patterns.md` - 固定公式规律 - `SKILL.md` 步骤 1-7 - cron 自动运行流程 ## 永久改进建议 - SKILL.md frontmatter description 应该明确写"含 4 框架玄学分析(河洛/梅花/奇门/玄空)",而不是只说"文化解读分析"。**这样下次 agent 不会被 "lottery.py analyze" 误导**。 - analysis-example-075.md 应该提到 "此为单源降级版本", 让用户知道 sol.2344a.cc 不可达时的可用方案。