npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ziwei-cli

v1.1.3

Published

紫微斗数 + 八字命理分析 CLI 工具 - Claude Code / OpenClaw Skill

Readme

紫微斗数 Ziwei Skill

基于传统紫微斗数命理学的命盘分析与运势预测,支持 Claude Code 和 OpenClaw。

Quick Start

npx ziwei-cli

这会:

  1. 检测你的 Claude Code / OpenClaw 安装
  2. 安装 skill 到正确位置
  3. 全局安装 ziwei CLI

手动安装

# Clone
git clone https://github.com/shanrichard/ziwei-skill ~/.claude/skills/ziwei
cd ~/.claude/skills/ziwei

# 安装依赖
npm install

# 全局安装 CLI
npm link

CLI 使用

# 本命层 - 查看命宫三方四正
ziwei palace --date 1990-05-15 --time 10:30 --gender 男 --city 北京 --palace 命宫

# 流年层 - 查看官禄宫流年运势
ziwei palace --palace 官禄宫 --scope yearly --year 2025 --date 1990-05-15 --time 10:30 --gender 男 --city 北京

# 流月层
ziwei palace --palace 财帛宫 --scope monthly --year 2025 --month 6 ...

# 本命合盘
ziwei synastry origin \
  --a-date 1990-05-15 --a-time 10:30 --a-gender 男 --a-city 北京 \
  --b-date 1992-03-20 --b-time 14:00 --b-gender 女 --b-city 上海

Skill 使用

安装后重启 Claude Code / OpenClaw,然后直接说:

  • "帮我算命"
  • "看看我今年的运势"
  • "我和对方合适吗"

支持的功能

宫位查询 (palace)

  • 本命层 (origin) - 默认
  • 大限层 (decadal) - 需指定 --year
  • 流年层 (yearly) - 需指定 --year
  • 流月层 (monthly) - 需指定 --year --month
  • 流日层 (daily) - 需指定 --year --month --day

合盘分析 (synastry)

  • 本命合盘 (origin)
  • 流年合盘 (yearly)

宫位与议题对应

| 议题 | 目标宫 | |------|--------| | 性格/整体运势 | 命宫 | | 事业/升职 | 官禄宫 | | 婚恋/感情 | 夫妻宫 | | 财运/理财 | 财帛宫 | | 健康 | 疾厄宫 | | 房产/家庭 | 田宅宫 | | 出行/移民 | 迁移宫 | | 子女/创作 | 子女宫 | | 朋友/同事 | 仆役宫 | | 兄弟/合伙 | 兄弟宫 | | 学业/考试 | 父母宫 | | 心态/福报 | 福德宫 |

技术栈

License

MIT