ziwei-paipan

ziwei-paipan is a skill for Codex from LouisLin0723/fatestar-ziwei. It costs 78 tokens per session (891 once invoked), scanned A, original, MIT.

A tool for creating Zi Wei Dou Shu natal charts and timing data. Zi Wei Dou Shu is a traditional Chinese astrology system based on birth date, birth hour, and gender.

In plain words
What is it for?
Creating birth charts and checking decade, yearly, monthly, daily, or hourly periods in Zi Wei Dou Shu.
Why use it?
It provides chart and transit data without guessing missing birth details. A separate paid interpretation service is available only after explicit confirmation and may use credits.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Creating birth charts and checking decade, yearly, monthly, daily, or hourly periods in Zi Wei Dou Shu.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/louislin0723/fatestar-ziwei/ziwei-paipan
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LouisLin0723/fatestar-ziwei --skill ziwei-paipan
Clone the repo
git clone --depth 1 https://github.com/LouisLin0723/fatestar-ziwei

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ziwei-paipan

README.md
[![agentmods](https://agentmods.dev/badge/skills/louislin0723/fatestar-ziwei/ziwei-paipan/github.svg)](https://agentmods.dev/skills/louislin0723/fatestar-ziwei/ziwei-paipan)
Your own site
<a href="https://agentmods.dev/skills/louislin0723/fatestar-ziwei/ziwei-paipan"><img src="https://agentmods.dev/badge/skills/louislin0723/fatestar-ziwei/ziwei-paipan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ziwei-paipan

Your own site · 80×15
<a href="https://agentmods.dev/skills/louislin0723/fatestar-ziwei/ziwei-paipan"><img src="https://agentmods.dev/badge/skills/louislin0723/fatestar-ziwei/ziwei-paipan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 891 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.00891
Opus 5 $0.00039 $0.00445
Sonnet 5 $0.00016 $0.00178
Haiku 4.5 $0.00008 $0.00089

Measured 12d ago against content hash b0464d4fc534, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ziwei-paipan scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/generate.py, scripts/ziwei_cli.js, scripts/ziwei_cli.ps1, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Bash 4+ with curl: `bash <skill_dir>/scripts/ziwei_cli.sh`
skills/ziwei-paipan/SKILL.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

FateStar Ziwei

Use the bundled CLI to request deterministic Zi Wei Dou Shu chart data from FateStar. Keep free charting separate from the optional paid reading service.

Choose the operation

  • Use chart for a natal chart. It is free and works anonymously.
  • Use transits for decade, minor-cycle, annual, monthly, daily, and hourly transit data. It is free and works anonymously.
  • Offer reading only when the user wants the hosted Zheng Da Qian interpretation. It requires an FSFSKey and may consume credits.

Never call reading, or any other paid endpoint, until the user explicitly chooses it and acknowledges that credits may be consumed. A request such as “看事业运” is not consent to spend credits: use the free chart data first, then offer the paid reading as an option.

Collect input

Require these fields and ask for any that are missing. Do not guess them:

  • birth year, month, and day;
  • birth hour from 0 to 23;
  • gender: male or female.

Use solar as the calendar unless the user says the date is lunar. Accept birth minute, longitude, and timezone when the user wants true-solar-time correction.

Run the CLI

Treat the directory containing this file as <skill_dir>. Prefer Python, then Node.js, then the platform shell:

  • Python 3.6+: python <skill_dir>/scripts/ziwei_cli.py
  • Node.js 12+: node <skill_dir>/scripts/ziwei_cli.js
  • Windows PowerShell 5.1+: powershell -ExecutionPolicy Bypass -File <skill_dir>/scripts/ziwei_cli.ps1
  • Bash 4+ with curl: bash <skill_dir>/scripts/ziwei_cli.sh

If <skill_dir>/runtime.conf exists, follow its configured runtime and command. Run <cmd> doc for the complete offline parameter reference.

# Free natal chart
<cmd> chart --year 1990 --month 7 --day 23 --hour 8 --gender male

# Free transits for 2026
<cmd> transits --year 1990 --month 7 --day 23 --hour 8 --gender male --target-year 2026

# Optional hosted reading; confirm possible credit use first
<cmd> reading --year 1990 --month 7 --day 23 --hour 8 --gender male --question "Should I change jobs this year?"

Read the full file on GitHub · 70 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 70 lines · 78 tokens per session scan A b0464d4fc534

Subscribe to this mod's changes

ziwei-paipan is a skill published in the GitHub repository LouisLin0723/fatestar-ziwei (0 stars, last pushed 1mo ago), licensed MIT. It adds 78 tokens to every session and 891 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.