bazi-skill-gaoxin492-main

bazi-skill-gaoxin492-main is a skill for Claude Code, Codex from tradecatlabs/fatecat. It costs 0 tokens per session (4,268 once invoked), scanned A, original, MIT.

A Chinese Four Pillars astrology skill that uses local Python scripts to calculate and store birth charts, while the agent interprets the results. Four Pillars is a traditional Chinese system based on birth date and time.

In plain words
What is it for?
Use it to calculate a birth chart, save or retrieve chart data, and produce interpretations based on the calculated result.
Why use it?
It separates the fixed chart calculation from the written interpretation, reducing the need to calculate the chart by hand. It can also save, retrieve, list, and delete charts locally.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to calculate a birth chart, save or retrieve chart data, and produce interpretations based on the calculated result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tradecatlabs/fatecat/bazi-skill-gaoxin492-main
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 tradecatlabs/fatecat --skill bazi-skill-gaoxin492-main
Clone the repo
git clone --depth 1 https://github.com/tradecatlabs/fatecat

Made for: Claude Code, 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 bazi-skill-gaoxin492-main

README.md
[![agentmods](https://agentmods.dev/badge/skills/tradecatlabs/fatecat/bazi-skill-gaoxin492-main/github.svg)](https://agentmods.dev/skills/tradecatlabs/fatecat/bazi-skill-gaoxin492-main)
Your own site
<a href="https://agentmods.dev/skills/tradecatlabs/fatecat/bazi-skill-gaoxin492-main"><img src="https://agentmods.dev/badge/skills/tradecatlabs/fatecat/bazi-skill-gaoxin492-main/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 bazi-skill-gaoxin492-main

Your own site · 80×15
<a href="https://agentmods.dev/skills/tradecatlabs/fatecat/bazi-skill-gaoxin492-main"><img src="https://agentmods.dev/badge/skills/tradecatlabs/fatecat/bazi-skill-gaoxin492-main.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,268 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00000 $0.04268
Opus 5 $0.00000 $0.02134
Sonnet 5 $0.00000 $0.00854
Haiku 4.5 $0.00000 $0.00427

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

Security

Grade A, and why

bazi-skill-gaoxin492-main scanned grade A with 0 findings 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 13d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (calculate_bazi.py, store_bazi.py), 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

tools/reference-repos/github/bazi-skill-gaoxin492-main/SKILL.md · 284 lines

How it starts

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

bazi-skill

八字命理分析 Agent Skill。通过调用本地 Python 脚本完成排盘计算与命盘存储,由你负责解读。

默认安装目录固定为:~/.claude/skills/bazi-skill

脚本清单

脚本 用途
calculate_bazi.py 排盘计算,输出完整命盘 JSON
store_bazi.py 命盘本地存储(保存 / 读取 / 列出 / 删除)

初始化(首次使用时执行)

不要假设当前工作目录就是 skill 目录。统一使用下面两个变量:

SKILL_DIR="$HOME/.claude/skills/bazi-skill"
if [ -x "$SKILL_DIR/.venv/bin/python" ]; then
	PYTHON="$SKILL_DIR/.venv/bin/python"
else
	PYTHON=python3
fi

后续所有命令都基于 $SKILL_DIR$PYTHON 执行,不要直接写相对路径 calculate_bazi.py,否则可能在 ~/.claude 或其他目录下报找不到文件。

推荐初始化方式:

SKILL_DIR="$HOME/.claude/skills/bazi-skill"
if [ -x "$SKILL_DIR/.venv/bin/python" ]; then
	PYTHON="$SKILL_DIR/.venv/bin/python"
else
	PYTHON=python3
fi

$PYTHON -c "import lunar_python, timezonefinder, geopy, pytz" 2>/dev/null || \
$PYTHON -m pip install -r "$SKILL_DIR/requirements.txt" -q

如果本地安装依赖时遇到 AttributeError: _ARRAY_API not found,通常是 NumPy 2.x 与某些二进制依赖不兼容。使用仓库内的 requirements.txt 重新安装即可;其中已固定 numpy<2 来规避这个问题。

如果仓库里没有 requirements.txt,则安装以下依赖:

$PYTHON -m pip install 'numpy<2' lunar-python timezonefinder geopy pytz -q

依赖安装成功后正常调用脚本。无需每次检查,只在首次或环境异常时执行。


调用规范

calculate_bazi.py

$PYTHON "$SKILL_DIR/calculate_bazi.py" --pretty '<JSON参数>'

调用规则分两层:

  • 后台推演、保存命盘时:使用 --json 获取结构化数据,供分析与存储使用
  • 面向用户展示命盘时:必须再调用一次 --pretty,展示终端彩色排盘结果

后台推演示例:

$PYTHON "$SKILL_DIR/calculate_bazi.py" --json '<JSON参数>'

终端排盘统一使用 --pretty,不再保留普通直出形式:

$PYTHON "$SKILL_DIR/calculate_bazi.py" --pretty '<JSON参数>'

如果环境支持 ANSI 颜色,--pretty 会自动上色;如果像 Claude Code CLI 这类环境不保留 TTY 颜色,脚本会自动退回纯文本显示。

也可手动指定颜色策略:

$PYTHON "$SKILL_DIR/calculate_bazi.py" --pretty --color auto '<JSON参数>'
$PYTHON "$SKILL_DIR/calculate_bazi.py" --pretty --color always '<JSON参数>'
$PYTHON "$SKILL_DIR/calculate_bazi.py" --pretty --color never '<JSON参数>'

强制展示规则

  • 新排出命盘后,如果要向用户展示四柱、十神、大运等版式,必须调用 --pretty
  • 不要自己手写 Markdown 表格或重新拼一个伪命盘表来替代 --pretty 输出
  • 如果 --pretty 调用失败,应先说明报错并优先修复环境或依赖,再继续解读;不要跳过展示步骤直接脑补排盘结果
  • 解读内容基于 --json 的结构化数据完成;展示内容基于 --pretty 的终端输出完成

Read the full file on GitHub · 284 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 13d ago First seen · 284 lines · 0 tokens per session scan A 9fecba35eccf

Subscribe to this mod's changes

bazi-skill-gaoxin492-main is a skill published in the GitHub repository tradecatlabs/fatecat (203 stars, last pushed 17d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,268 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

geo-optimizer-skill

Run geo audit first. It scores the site 0–100 across 8 categories and generates a prioritized action list.

Auriti-Labs/geo-optimizer-skill · 0 tokens

yueyuan

A specialised BaZi analysis system, where BaZi is a Chinese birth-chart method based on birth date and time. It is designed for structured analysis with explicit uncertainty and requires the user to check the chart before deeper interpretation.

qianye-wuyu/yueyuan-bazi · 263 tokens

technocore-chat

Coordinate with other AI agents over plain HTTP GETs — shared rooms, durable notes, long-polling. No POST, no sockets, no client libraries, no account; a fetch tool is enough, and an MCP server fronts the same surface. Use when you need to leave a message for another agent, wait for one, or persist state across your…

flop-labs/technocore-chat · 79 tokens

liki-bazi

A Chinese traditional fortune-reading tool using BaZi, a birth-chart system based on birth details, and Zi Wei Dou Shu, another Chinese astrology system. It can examine life areas and yearly trends, but its conclusions are for cultural reference, not professional advice.

ml8s/liki · 90 tokens

liki-divination

A traditional Chinese divination skill covering Liuyao readings, Qimen decisions, and selecting auspicious dates. It interprets an automatically generated chart using defined rules and presents the result as cultural guidance, not professional advice.

ml8s/liki · 85 tokens

liki-fengshui

A tool for analysing home layouts and directions through traditional Chinese feng shui methods, including Eight Mansions and Flying Stars. Feng shui is a traditional system for interpreting how spaces, directions, and time relate to one another.

ml8s/liki · 73 tokens