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.
npx skills add tradecatlabs/fatecat --skill bazi-skill-gaoxin492-maingit clone --depth 1 https://github.com/tradecatlabs/fatecatWrote 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.
[](https://agentmods.dev/skills/tradecatlabs/fatecat/bazi-skill-gaoxin492-main)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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.
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的终端输出完成
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.
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.
- 13d ago First seen · 284 lines · 0 tokens per session scan A 9fecba35eccf
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.
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.
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.
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…
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.
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.
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.