Awesome Bazi Calculator - Cantian AI
以命理场景为主的八字排盘、黄历查询与大运/流年/流月/流日/流时区间查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历转八字”“查黄历/宜忌”“查未来10年流年”“查下个月流日/流时”等场景;关键词包括:八字、四柱、命理、大运、流年、流月、流日、流时、时辰、阳历转八字、农历转八字、黄历、宜忌、干支日期。真太... Skill: Awesome Bazi Calculator - Cantian AI Owner: tianlinle Summary: 以命理场景为主的八字排盘、黄历查询与大运/流年/流月/流日/流时区间查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历转八字”“查黄历/宜忌”“查未来10年流年”“查下个月流日/流时”等场景;关键词包括:八字、四柱、命理、大运、流年、流月、流日、流时、时辰、阳历转八字、农历转八字、黄历、宜忌、干支日期。真太... Tags: latest:0.0.8 Version history: v0.0.8 | 2026-04-13T08:32:59.825Z | user **Expanded functionality for Bazi range queries and true solar time conversion** - New: Added scripts/convertToT
Rank
62
Safety
84
Downloads
2.8k
Updated
Oct 9, 2026
Version
0.0.8
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 2.8K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 2.8K downloadsadoption · observed Oct 9, 2026
- Latest release
- 0.0.8release · observed Apr 13, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17bf5trh1r5yt8s9refx05bgn83gdaa:cantian-bazi- Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.
- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/snapshot"
Documentation
CLAWHUB
34,705 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
--- name: cantian-bazi description: 以命理场景为主的八字排盘、黄历查询与大运/流年/流月/流日/流时区间查询技能。用于用户请求“算八字”“四柱排盘”“阳历/农历转八字”“查黄历/宜忌”“查未来10年流年”“查下个月流日/流时”等场景;关键词包括:八字、四柱、命理、大运、流年、流月、流日、流时、时辰、阳历转八字、农历转八字、黄历、宜忌、干支日期。真太阳时换算属于辅助能力,仅在需要校时定盘时使用。 / Bazi-first skill for charting, Chinese almanac lookup, and range queries of decade/annual/monthly/daily/hourly luck cycles. Use for requests like “calculate my Bazi”, “convert solar/lunar datetime to Bazi”, “check huangli”, “query next 10 years”, and “check next month daily/hourly cycles”. Keywords focus on Bazi/Four Pillars and fortune-cycle analysis; true-solar-time conversion is an auxiliary step only when time correction is required. --- # 八字排盘、黄历与大运流年查询 (Bazi, Calendar & Fortune Range) ## 何时使用 / When to Use - 用户要根据阳历出生时间计算四柱八字。 / User wants Four Pillars from Gregorian birth datetime. - 用户要根据农历出生时间计算四柱八字。 / User wants Four Pillars from lunar birth datetime. - 用户要查询某一天对应的农历、干支、宜忌等信息。 / User wants Chinese calendar info for a specific date. - 用户要“查黄历”或看某天宜忌。 / User wants almanac-style daily auspicious/inauspicious info. - 用户要查询一段时间内的大运、流年、流月、流日或流时。 / User wants decade/annual/monthly/daily/hourly fortune cycles in a time range. ## 前置依赖 / Prerequisites - 推荐运行环境:Node 24(可直接运行 TypeScript 源码)。 / Recommended runtime: Node 24 (can run TypeScript source directly). - 兼容方案:若 Node 版本较低,使用 `tsx` 执行。 / Fallback: use `tsx` on lower Node versions. - 执行目录:在 skill 根目录(`SKILL.md` 所在目录)执行以下命令。 / Run commands in the skill root (where `SKILL.md` is located). ```bash npm i # 仅在需要兼容运行时安装 # Install only for fallback mode npm i -D tsx ``` ## 脚本清单 / Script Index - `scripts/buildBaziFromSolar.ts`:根据阳历时间生成八字 Markdown。 / Build Bazi from solar datetime. - `scripts/buildBaziFromLunar.ts`:根据农历时间生成八字 Markdown。 / Build Bazi from lunar datetime. - `scripts/convertToTrueSolarTime.ts`:将北京时间按经度换算为真太阳时(输出可直接给其它脚本使用)。 / Convert Beijing time to true solar time by longitude. - `scripts/getChineseCalendar.ts`:查询指定日期(默认今天)的农历与干支信息。 / Get Chinese calendar for a given date (defaults to today). - `scripts/queryFortuneRange.ts`:按时间区间查询大运与流年/流月/流日/流时(流时按时辰段合并)。 / Query decade fortune and annual/monthly/daily/hourly cycles in a time range. ## 脚本与参数 / Scripts & Parameters ### `scripts/buildBaziFromSolar.ts` ```bash # 推荐方式 node scripts/buildBaziFromSolar.ts <solarTime> [gender] [sect] # 兼容方式(fallback) tsx scripts/buildBaziFromSolar.ts <solarTime> [gender] [sect] ``` 参数定义 / Parameters: - `solarTime`(必填 / required) - 格式:ISO 8601 日期时间(不带时区),如 `1990-05-15T14:30:00` - 默认值:无 - 非法输入:格式不合法或为空时,由底层解析失败并报错 - `gender`(可选 / optional) - 取值范围:`1`(男 / male)、`0`(女 / female) - 默认值:`1` - 非法输入:抛错 `性别参数无效。男性传 1,女性传 0。` - `sect`(可选 / optional) - 取值范围:`1`(23:00-23:59 视为明天)、`2`(23:00-23:59 视为当天) - 默认值:`2` - 非法输入:抛错 `早晚子时配置参数无效。传 1 表示 23:00-23:59 日干支为明天,传 2 表示 23:00-23:59 日干支为当天。` ### `scripts/buildBaziFromLunar.ts` ```bash # 推荐方式 node scripts/buildBaziFromLunar.ts <lunarTime> [gender] [sect] # 兼容方式(fallback) tsx scripts/buildBaziFromLunar.ts <lunarTime> [gender] [sect]
_meta.json
{
"ownerId": "kn7fyzqabnv7v6m1gxmv73565h82acv9",
"slug": "cantian-bazi",
"version": "0.0.8",
"publishedAt": 1776069179825
}skill-card.md
## Description: Provides Bazi/Four Pillars charting, Chinese almanac lookup, true-solar-time conversion, and decade, annual, monthly, daily, and hourly fortune-cycle range queries for an agent. This skill is ready for commercial/non-commercial use. ## Publisher: [tianlinle](https://clawhub.ai/user/tianlinle) ### License/Terms of Use: MIT-0 ## Use Case: External users and agent developers use this skill to answer Bazi/Four Pillars, solar and lunar calendar, huangli, true-solar-time, and fortune-cycle range questions by running local TypeScript scripts. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Installing npm dependencies can execute third-party code during install or runtime. Mitigation: Install only in a restricted project directory after reviewing the dependency set. Risk: The cantian-tymext dependency is declared as a version range. Mitigation: Pin cantian-tymext to an exact reviewed version and add a package-lock.json before deployment. ## Reference(s): - [ClawHub skill release](https://clawhub.ai/tianlinle/skills/cantian-bazi) - [Publisher profile](https://clawhub.ai/user/tianlinle) ## Skill Output: **Output Type(s):** [Markdown, Text, Shell commands, Guidance] **Output Format:** [Markdown reports and plain text strings from local TypeScript commands] **Output Parameters:** [1D] **Other Properties Related to Output:** [Fortune range outputs expand by requested level; hourly queries are limited to ranges of 62 days or less.] ## Skill Version(s): 0.0.8 (source: server release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
package.json
{
"private": true,
"type": "module",
"dependencies": {
"cantian-tymext": "^0.0.26"
}
}tsconfig.json
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "dist-js",
"rootDir": "scripts",
"rewriteRelativeImportExtensions": true
}
}AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/tianlinle/skills/cantian-bazi",
"sourceUrl": "https://clawhub.ai/tianlinle/skills/cantian-bazi",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T11:30:26.104Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T11:30:26.104Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "2.8K downloads",
"href": "https://clawhub.ai/tianlinle/cantian-bazi",
"sourceUrl": "https://clawhub.ai/tianlinle/cantian-bazi",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T11:30:26.104Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "0.0.8",
"href": "https://clawhub.ai/tianlinle/cantian-bazi",
"sourceUrl": "https://clawhub.ai/tianlinle/cantian-bazi",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-13T08:32:59.825Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-tianlinle-cantian-bazi/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 0.0.8",
"description": "**Expanded functionality for Bazi range queries and true solar time conversion** - New: Added `scripts/convertToTrueSolarTime.ts` for longitude-based true solar time conversion (supports both longitude and common city names as input). - New: Added `scripts/queryFortuneRange.ts` for querying decade, annual, monthly, daily, and hourly luck cycles over a time range, with rich output (includes support for merging consecutive hourly cycles and relational analysis). - Skill description and documentation greatly expanded to clarify fortune range querying as a main scenario. - All usage examples and error handling for new scripts are included. - True solar time conversion is now provided as a dedicated script, decoupled from core Bazi charting.",
"href": "https://clawhub.ai/tianlinle/cantian-bazi",
"sourceUrl": "https://clawhub.ai/tianlinle/cantian-bazi",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-13T08:32:59.825Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
