deer-flow
Gives you a research agent that breaks a question into parallel sub-tasks, keeps notes across sessions, and runs code safely, so you can hand off literature review and data analysis instead of doing each step yourself.
horace-maxwell/horosa-skill is a local MCP server and CLI that lets an AI client run astrology and metaphysics techniques, such as natal and predictive astrology, 八字 and 紫微. It ships skills and MCP servers, so use it when an assistant needs those calculations.
Claude Code
> /plugin marketplace add horace-maxwell/horosa-skill> /plugin install horosa@horosa-skill
Codex
$ npx skills add horace-maxwell/horosa-skill -a codex
Cursor
$ npx skills add horace-maxwell/horosa-skill -a cursor
Gemini CLI
$ npx skills add horace-maxwell/horosa-skill -a gemini-cli
GitHub Copilot
$ copilot plugin marketplace add horace-maxwell/horosa-skill$ copilot plugin install horosa@horosa-skill
OpenCode
$ npx skills add horace-maxwell/horosa-skill -a opencode
Windsurf
$ npx skills add horace-maxwell/horosa-skill -a windsurf
A local-first MCP server & CLI that exposes 119 real astrology / metaphysics techniques from Horosa (星阙) to any AI client.
简体中文 · English | 快速开始 · 架构 · 技法总览 · 接入客户端 · 可信度 · 文档
Horosa Skill 把星阙(Horosa)的 119 个真实术数 / 占星技法,做成任何 AI 都能本地调用的 MCP server 与 CLI。 克隆仓库、装一次离线 runtime,Claude Code / Claude Desktop / Codex / Cursor / Open WebUI 等客户端就能通过 MCP 或 JSON-first CLI 直接调用真实的星阙方法:西洋本命 / 推运 / 卜卦 / 择日,八字 / 紫微 / 大六壬 / 奇门 / 太乙 / 金口诀 / 三式合一,六爻 / 塔罗 / 天文地占 / 灵棋经 / 小六壬 / 飞宫小奇门 / 小成图 / 皇极轨策 / 神数正传,以及全 14 路神数。
算法在本机运行,断网可用;每个技法返回统一 envelope 与星阙式导出结构,并附一张确定性的技法依据卡;每次调用自动落成可检索的本地记录。与星阙桌面端共用同一套后端、逐值同源(导出契约 v18 镜像桌面端 aiExport v68)。
Note 它不是又造一个简化占算器,而是把星阙已有的本地算法、星历与导出协议,整理成一层适合 GitHub 分发、适合 AI 调用、适合长期本地管理的接口。桌面端算出来是什么,这里就是什么——而且每个结论都能回答「这盘怎么来的」。
Tip 不想安装? 在 ChatGPT 里直接用托管版:Horosa 星阙插件。免费、免注册、匿名,输入和结果不写入磁盘;包含 23 个常用计算工具(服务源码)。完整 119 技法、本地记忆和报告导出仍需安装本仓。
完整特性清单
export_snapshot(段结构化正文)。同一技法连续调用得到同一套字段,落库后结构不丢。horosa_technique_report 一键出方法报告,会话级自动检出跨技法口径冲突。horosa_hecan 至少两种技法交叉印证(可复用此前的 run_id)+ 合参模板(带各技法正文节选):每条结论必须绑定真实段落,收敛与分歧分开填,分歧必须披露、不许平均。warnings 写明续读调用。response_view=sections|titles|full 改取分段正文 / 只要段标题 / 带原始树,完整结果始终已归档。style=chart 不经 AI 直接出完整排盘报告。auto 点选,随结果附进 AI 上下文。upgrade / uninstall / selfcheck / doctor 环境体检齐备。ken 后端;14 路神数走 chart 服务上挂载的 kentang 引擎;结果由 headless JS 层重排为 aiExport.js 段结构。AI 客户端经 MCP(stdio / streamable-http)或 JSON-first CLI 接入 Horosa Skill(本地进程 · 119 工具 · 澄清闸 · 统一 envelope);
它在本机调起离线 runtime——Java 后端(农历 / 八字 / 紫微 / 六壬)、Python chart 服务(西洋星盘、ken 三式引擎、kentang 神数引擎)与
headless JS 层 horosa-core-js(把结果重排成 aiExport.js 段结构)——再把每次调用写进本地 SQLite 与 JSON 归档。
上游星阙只单向同步进本仓,runtime 随 GitHub Releases 分发。
以「查今年事业,1995-06-03 05:30 上海出生」为例,agent 端的实际序列:
place: "上海",按地点 + 日期推出坐标与含夏令时的时区),设置类的确认再带 agent_confirmed_settings: true;返回统一 envelope,含 memory_ref.run_id 与 data.export_snapshot。export_snapshot.export_text 撰写解读(MCP 缺省只给正文与段索引;被裁的段按 warnings 里的 horosa_memory_show 调用续读;要原始树传 response_view: "full")。data.technique_card 转述成尾注——用了什么技法、什么口径、谁算的、段落全不全、版本链。report_render 生成解读终稿 DOCX(自动写回记忆);horosa_technique_report 另出「技法依据报告」。memory_query 按人名 / 技法 / 日期检索,memory_show 取完整记录。Note 最短路径为 2 次工具调用 + 1 次本地分析:起盘拿到
run_id,本地撰写ai_report,再report_render出 Word 并自动归档。一问需要多技法互证时,改用一次horosa_hecan并行起盘(见可信度体系)。全程算法在本机、AI 只负责解读、结构永不丢。
Tip 前置只需 uv:macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh;Windows(PowerShell)powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"。装完 重开终端(或source $HOME/.local/bin/env)让uv进 PATH;Python ≥ 3.12 由 uv 自动准备;磁盘预留约 5 GB(runtime 下载约 730 MB、解压后约 2 GB)。
git clone https://github.com/Horace-Maxwell/horosa-skill.git
cd horosa-skill/horosa-skill
uv sync
uv run horosa-skill install # 安装离线 runtime(带进度 / 断点续传;已最新则跳过下载)
uv run horosa-skill doctor # 环境体检(磁盘 / 端口 / node 实跑探针,期望 issues: [])
uv run horosa-skill selfcheck # 活体验证:起一张盘 → 存 → 读回
uv run horosa-skill serve # 启动本地 MCP(默认 http://127.0.0.1:8765/mcp)
不想 clone 源码?零安装(无需 git、无需 PyPI)——每个发布页都附带纯 Python wheel,uvx 直接从 URL 起,
HOROSA_RUNTIME_MIRROR 对 wheel 与 runtime 一并生效:
WHL="https://github.com/Horace-Maxwell/horosa-skill/releases/download/v0.53.1/horosa_skill-0.53.1-py3-none-any.whl"
uvx --from "$WHL" horosa-skill install # 装离线 runtime(同上)
uvx --from "$WHL" horosa-skill doctor # 体检
uvx --from "$WHL" horosa-skill setup --client cursor # 零安装一条命令接入(自动选 `--launcher uvx-wheel`,配置里写 wheel URL)
uvx --from "$WHL" horosa-skill serve --transport stdio # 给客户端直连;`client config --launcher uvx-wheel` 生成对应配置
github.com 直连不通(镜像 / API 直链 / U 盘离线搬运 / 代理与企业证书)见 docs/INSTALL_RESTRICTED_NETWORK.md。 PyPI 通道(
uvx horosa-skill …)已就绪但暂未开通(等维护者完成一次性 Trusted Publisher 配置),开通后命令更短、行为不变。
Note Linux / Intel Mac / Docker(实验):离线 runtime 只发布 macOS(arm64) / Windows(x64) 两个 payload。其它平台上
horosa-skill install自 0.50.0 起改装平台无关的 JS 引擎资产(horosa-core-js-v<版本>.tar.gz,约 7 MB,装到 runtime 根下的core-js/; 需要系统里有 Node.js ≥ 20.10,没有时引擎照装、结果里说明装什么):八字、六爻、大六壬、河洛、参评、一掌经、塔罗、黄历等本地 JS 技法因此可用; 任何平台都可以用install --engine-only只装它,uninstall --engine-only只删它。要 Java / chart 服务算的技法(紫微、西占、三式、神数等) 走 MCP 网关:把HOROSA_SERVER_ROOT/HOROSA_CHART_SERVER_ROOT指向宿主机或另一台装了 runtime 的机器即可。 仓库附带实验性的horosa-skill/Dockerfile+docker-compose.yml(网关镜像:自带钉版本的 Node 与 JS 引擎,容器内没有离线 runtime, 必须设上面两个变量;绑 0.0.0.0 必须给HOROSA_MCP_TOKEN;以非 root 的 10001 运行,数据在卷horosa_skill_data_v2:/data, compose 只在宿主回环上发布端口。从旧卷迁移:docker run --rm -v horosa-skill_horosa_skill_data:/from -v horosa-skill_horosa_skill_data_v2:/to alpine sh -c "cp -a /from/. /to/ && chown -R 10001:10001 /to"); 手工起也行:pip install "https://github.com/Horace-Maxwell/horosa-skill/releases/download/v0.53.1/horosa_skill-0.53.1-py3-none-any.whl"后horosa-skill serve --transport streamable-http即为网关(PyPI 尚未开通,装的是发布页的 wheel)。
安装排障与升级 / 卸载
| 症状 | 处理 |
|---|---|
uv: command not found | 先安装 uv:curl -LsSf https://astral.sh/uv/install.sh | sh |
八字 / 六爻 / 六壬等报 js_engine.cli_missing,或 doctor 的 js_engine.state 是 absent | 本机没有 JS 引擎(Linux / Intel Mac / Docker 外的 pip 网关 / 没跑过 install):uv run horosa-skill install --engine-only(任何平台,约 7 MB),再装 Node.js ≥ 20.10 让 node 进 PATH(或设 HOROSA_NODE_BIN);doctor 的 js_engine 节应为 ready、engine_source: engine_asset。离线搬运:发布页下载 horosa-core-js-v<版本>.tar.gz 后 install --engine-only --archive <文件> --sha256 <清单 core_js.sha256> |
| 下载缓慢或中断 | 重跑 install 会断点续传;或设 HOROSA_RUNTIME_MIRROR=<镜像前缀> 走镜像 |
github.com:443 直连不通(但 api.github.com 可达)——完整方案见 docs/INSTALL_RESTRICTED_NETWORK.md | 走 API 资产直链下载后本地安装:先 curl -s https://api.github.com/repos/Horace-Maxwell/horosa-skill/releases/latest 找到平台 zip/tar.gz 的 assets[].id,再 curl -L -H "Accept: application/octet-stream" -o runtime-archive https://api.github.com/repos/Horace-Maxwell/horosa-skill/releases/assets/<id>,最后 uv run horosa-skill install --archive runtime-archive --sha256 <清单里的 sha256>(文件名随意,安装器按内容认 zip / tar.gz;--sha256 可省但建议带上) |
Java 后端(:9999)未就绪 / doctor 报 services:java_backend_not_running | 会自动降级 chart-only 而不是全盘卡死:三式(奇门/太乙/金口)、神数、地占、塔罗、西占 chart 族照常可用;nongli/bazi/ziwei/liureng 与「占时」起课暂不可用。doctor 的 java_diagnostics 附捕获的 Java 启动错误,selfcheck 会自动改用 chart 侧探针 |
| Windows 上 Java 进程秒退、无任何日志 | 已知诱因:代理/VPN/安全软件的 WFP 过滤会拦 java.exe 的 loopback(JDK-17 内部管道优先 AF_UNIX,connect 被拦即崩且无 TCP 回退,见 issue #14)。停掉相关服务通常不够(WFP 过滤驻留内核),需禁用后重启再试;期间 chart-only 降级模式可继续用 |
| 磁盘不足 / 端口被占 / 看不懂 doctor 的码 | uv run horosa-skill doctor --explain:stdout 仍是 JSON,stderr 多 6–10 行人话;报告里 advice[] 给每个 issue / warning 码一句 user_summary + next_action;--probe-network 逐个镜像探清单 URL(默认零外网请求) |
macOS 首次起 runtime 失败且无日志 / doctor 报 quarantine:runtime_binaries | 浏览器下载的归档解出来的 python / java / node 带 Gatekeeper 隔离属性:运行报告里 quarantine.fix 给出的 xattr -dr com.apple.quarantine <runtime/current> 后 runtime restart |
Windows 路径太长(runtime.install_long_path) | doctor.windows.headroom_chars 为负即会拒:设 HOROSA_RUNTIME_ROOT=C:\horosa,或开注册表 LongPathsEnabled=1 后重启(v0.38.0 起临时目录前缀缩短,多出约 20 字符余量) |
Windows 上 install 报 runtime.path_not_ascii,或 doctor 报 windows:runtime_root_not_ascii(八字 / 紫微 / 六壬起不来、chart 族报参数错误) | runtime 目录路径含中文等非英文字符(中文用户名下的默认路径即是);随包的 Java 17 与 Swiss Ephemeris 用窄字符 API 访问文件。设纯英文路径:setx HOROSA_RUNTIME_ROOT C:\horosa,新开终端并重启 AI 客户端后重跑 install / setup |
Gives you a research agent that breaks a question into parallel sub-tasks, keeps notes across sessions, and runs code safely, so you can hand off literature review and data analysis instead of doing each step yourself.
Researches what people say about a topic over the last month by pulling posts and engagement from Reddit, X, YouTube, TikTok, Hacker News, Polymarket, GitHub, and the web. Useful for tracking current discussion on any subject.
Helps researchers move a project through the academic pipeline, from literature search and citation handling to drafting, reviewing and checking a paper, with you confirming each stage. You stay the author of every claim.
Gives AI agents a library of ready-made skills for scientific research, covering areas such as bioinformatics, cheminformatics, literature review and molecular dynamics. Each skill lets the agent run a specialized analysis or query a scientific database instead of writing that workflow from scratch.
Install it with the command on its page. It includes horosa-agent. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it