← Back to Skills Marketplace
紫微斗数技能
by
dglijin-oss
· GitHub ↗
· v2.0.0
· MIT-0
206
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install ziwei-skill
Description
紫微斗数排盘技能。支持十四主星、十二宫位、四化飞星排盘,提供命运、性格、事业、婚姻、财运等分析。
Usage Guidance
要点与建议:
- 不要立刻在生产环境或对敏感数据有访问的环境中运行此技能。当前包在“说明(SKILL.md)”和“代码(index.js)”之间存在明显不一致:说明演示使用 Python 脚本(scripts/ziwei_pan.py),但包内只有 index.js(Node.js)。
- index.js 文件包含多处明显的语法/字符问题(例如使用全角标点‘:’和‘,’作为 JS 语法分隔符、未用有效的 ASCII 冒号来定义对象属性、重复/冲突的常量名、版本注释与注册表版本不一致),这些会导致代码无法在 Node.js 环境中运行。这表明包当前不可用或已损坏/被错误编辑。
- 虽然没有发现网络、凭据或外部安装 URL,但包的破损/不一致带来两个风险:作者可能上传了错误的文件(无恶意),或者包被篡改/不完整。无论哪种情况,都不应在信任环境中直接运行。
建议动作:
1) 向发布者索取澄清:请求一个修复后的、可执行的实现(要么提供 scripts/ziwei_pan.py 的 Python 实现,要么修复并测试 index.js),并要求 README/SKILL.md 与实际运行方式一致。
2) 要求可复现的运行示例(在干净沙箱中),并提供示例输入与期望输出。
3) 如果你会安装或运行:先在隔离的测试环境/容器中执行,并检查网络连接与文件访问;只在确认无外部通信且代码为预期功能后再在更广环境中使用。
4) 如果你不认识或不信任发布者(source unknown),优先选择不安装,直到作者提供明确主页/来源与修复后的包。
Capability Analysis
Type: OpenClaw Skill
Name: ziwei-skill
Version: 2.0.0
The skill bundle provides logic for Ziwei Dou Shu (Chinese astrology) calculations. The index.js file contains standard astrological algorithms, constants, and interpretation logic without any high-risk behaviors. While SKILL.md mentions a Python script (scripts/ziwei_pan.py) that is not included in the provided files, the existing JavaScript code is transparent, functional, and lacks any indicators of malicious intent, data exfiltration, or unauthorized system access.
Capability Assessment
Purpose & Capability
技能名与描述表明这是一个离线的紫微斗数排盘/分析技能,且声明不需要额外凭据或二进制,整体目的与要求的权限一致。但 SKILL.md 中示例使用 python3 scripts/ziwei_pan.py(暗示存在 scripts/ziwei_pan.py 文件),而包内实际只有 index.js(Node.js),这在实现语言/使用方式上不一致。
Instruction Scope
SKILL.md 的运行示例指示用户运行本地 Python 脚本(scripts/ziwei_pan.py),但该脚本和 scripts 目录在包中不存在;说明与实际可执行文件不匹配,可能导致误导或运行失败。SKILL.md 没有指示任何网络通信或敏感文件访问(这是好事),但其不明确或错误的执行说明是范围过宽/有问题的表现。
Install Mechanism
没有 install spec(仅为 instruction-only + 附带代码文件),因此不会在安装时自动从外部 URL 下载或执行远程代码,降低了安装风险。但 index.js 是随包提供的本地代码文件;该文件含有大量语法错误(使用全角标点/中文属性名却未按 JS 语法引用、全角逗号等),表明代码不可执行或被损坏。
Credentials
技能不请求任何环境变量、凭据或配置路径,也不包含明显的网络/外部 API 调用,所需权限与其宣称的离线计算用途相称。
Persistence & Privilege
flags(always=false,user-invocable,允许模型调用)是默认/合理值;技能不请求或修改系统/其他技能配置,也不要求常驻权限。
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ziwei-skill - After installation, invoke the skill by name or use
/ziwei-skill - Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
十四主星 + 十二宫位 + 四化飞星 + 大限流年
v1.0.0
Initial release by 天工长老
Metadata
Frequently Asked Questions
What is 紫微斗数技能?
紫微斗数排盘技能。支持十四主星、十二宫位、四化飞星排盘,提供命运、性格、事业、婚姻、财运等分析。 It is an AI Agent Skill for Claude Code / OpenClaw, with 206 downloads so far.
How do I install 紫微斗数技能?
Run "/install ziwei-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 紫微斗数技能 free?
Yes, 紫微斗数技能 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 紫微斗数技能 support?
紫微斗数技能 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 紫微斗数技能?
It is built and maintained by dglijin-oss (@dglijin-oss); the current version is v2.0.0.
More Skills